Repository navigation
Conversation
|
Tested
AI-assisted testing (non-developer tester). |
|
Windows / Intel UHD Graphics101.6314 integration check: 05626b3 applied privately onto main98c2f7777 with PR1836+1849 and local compatibility changes. Built MSVC RelWithDebInfo. With LEONIDA_PIPELINE_COMPILE=on-demand, d3d12_compute, d3d12_m2_textured, xbox_visible_texture_views, xbox_staged_texture_views, xbox_placed_texture_first_use, d3d12_host_prefix, replay_copy_offset, xmem and a private startup-metadata guard fixture pass. The two mesh fixtures skip because this GPU lacks VK_EXT_mesh_shader; mesh rendering/console-mesh behavior is therefore not verified here. Compute, staged/placed-texture first-use, prefix and metadata-guard tests also pass with Vulkan validation. Combined integration result, not isolated before/after. No gameplay claim. AI-assisted (OpenAI Codex). |
|
Tested the runtime-windows artifact from run 45609322341, commit 05626b3, on Windows 11 with an RTX 5070 Laptop GPU. I ran d3d12_mesh_test.exe in default mode from the extracted directory on C:, with no D: drive mapped and the shaders in the packaged generated folder. Both console-numbered mesh streams were created, all 4096 pixels matched, and the process exited with code 0. On the earlier #429 artifact I needed a temporary D: mapping to run the test on this machine. With this artifact, it passed directly from the extracted folder. This covers the default-mode artifact test only. An earlier run through Codex CLI exited with 0xC0000409 without output; the cause is unknown. I ran the successful test in a regular PowerShell session. No game files were used. AI-assisted setup and reporting. Follow-up: I also ran d3d12_mesh_test.exe with LEONIDA_PIPELINE_COMPILE=on-demand on the same commit (05626b3) in regular PowerShell, with no D: drive mapped. Both console-numbered mesh streams were created, all 4096 pixels matched, and the test exited with code 0. This run loaded the pipeline cache from the previous session. Driver retest (621.24 → 621.40): I reran d3d12_mesh_test.exe with LEONIDA_PIPELINE_COMPILE=on-demand on the same RTX 5070 Laptop GPU, using the same artifact (05626b3) with no D: drive mapped. Both console-numbered mesh streams were created, all 4096 pixels matched, and the test exited with code 0 on both drivers. On 621.40, the runtime reported that the previous pipeline cache did not match the Vulkan device and wrote a new cache at the end. |
# Conflicts: # runtime/CMakeLists.txt
05626b3 to
f4b46d6
Compare
Claimed in the coordination issue as: #1608 (comment) (RT-ONDEMAND-CONSOLE-STREAM)
What and why
Under LEONIDA_PIPELINE_COMPILE=on-demand (info.prepare_on_bind == true, the boot profile's compilation mode), set_device_outer routes Xbox device slots 86 (CreatePipelineState) and 55 (CreateDerivedPipelineState) through Device::prepare_console_stream instead of ID3D12Device2::CreatePipelineState.
Device::prepare_console_stream (
untime/shims/d3d12_vulkan_device.cpp) previously parsed streams only with PC subobject numbering and captured PsoStreamRecord with console = false:
Changes:
untime/shims/d3d12_xs_device.cpp).
untime/test/d3d12_mesh_test.cpp, assert slot-86 refusals without VK_EXT_mesh_shader and for pre-
oot_window mesh shaders, and register d3d12_mesh_on_demand (ENVIRONMENT LEONIDA_PIPELINE_COMPILE=on-demand, SKIP_RETURN_CODE 77) in
untime/CMakeLists.txt.
Also checked git merge-tree against open PR #1695's hunks in d3d12_vulkan_device.cpp and d3d12_mesh_test.cpp: both files auto-merge cleanly without conflict.
Tested
untime-windows with MSVC (RelWithDebInfo, /W4 /permissive- /utf-8) via GitHub Actions (JesusACD/leonida run 45609322341; 416/417 non-skipped CPU CTest cases passed on the GPU-less runner, with d3d12_mesh and d3d12_mesh_on_demand cleanly skipping via code 77, and the sole runner failure being the pre-existing �k_xdxr_postbuild_readback addressed in runtime: set SKIP_RETURN_CODE 77 on vk_xdxr_postbuild_readback (CI-XDXR-POSTBUILD-SKIP-CODE) #1418).
untime-windows artifact: