Tests: verify D3D12.X resource, heap start, fence, and queue sync parity #1964

Manually merged
github merged 1 commit from gh-pr/1964/head into gh-pr/1964/base 2026-11-26 05:11:51 +00:00
Owner

@⁠Vadson159 on GitHub · 2026-11-24 23:59 UTC · original
Vadson159:tests/d3d12-resource-and-sync → main · +582 −0 · 1 files · 1 commits · merged 2026-11-25 02:13 UTC

Add D3D12.X host-driver parity and console ABI integration tests in crates/xcl/tests/d3d12_resource_and_sync.rs. Part of #480.

What is in it

  • Registers a runtime-mapped executable x64 unwind-annotated trampoline (console_caller) in xcl::modules so each test exercises both host COM calls and console-caller vtable calls on the same adopted device.
  • resource_map_unmap_write_and_gpu_va_match_host_and_console_contracts: checks Map / Unmap / GetGPUVirtualAddress parity against real::orig_fn on upload/readback buffers, E_INVALIDARG Map failure on default/custom (CPU_PAGE_PROPERTY_NOT_AVAILABLE)/reserved resources, WriteToSubresource and CUSTOM (WRITE_BACK / L0) Map parity, console slot #11 GetGPUVirtualAddress lazy TITLE_ADDRESS backing and Map/Unmap visibility on textures, and console CreateCommittedResource (#76) UMA buffer placement when real::uma_gpu_va() != 0.
  • descriptor_heap_console_start_handles_match_host_and_console_heap: checks console GetCPUDescriptorHandleForHeapStart (#9) and GetGPUDescriptorHandleForHeapStart (#10) rax-return ABI against real::orig_fn on host RTV / CBV_SRV_UAV heaps and against console_heap::start (plus cleanup on drop) for console #14 CBV_SRV_UAV (type = 4) and SAMPLER shader-visible heaps.
  • fence_and_command_queue_sync_timing_and_allocator_reset_match_host_and_console: checks ID3D12CommandQueue (DIRECT, COMPUTE, COPY) GetDesc, GetTimestampFrequency, and GetClockCalibration parity against real::orig_fn plus pre- and post-QUEUE_OLDER console slot #16/#17/#18 calls; verifies ID3D12Fence slot #12 64-byte-aligned completed-value cell, GPU Wait / ExecuteCommandLists / Signal / SignalX (#23), immediate CPU Signal cell updates, and ID3D12CommandAllocator::Reset (#8) parity and re-recording.

Tested

  • Hardware & toolchain: AMD Radeon RX 9070 XT (32.0.32029.2010), AMD Radeon(TM) Graphics (32.0.21045.29003), WARP; AMD Ryzen 7 9800X3D; Windows 11 (10.0.26300.0); rustc 1.100.0 (0ef1bc386 2026-11-09); debug & release.
  • cargo test -p xcl --test d3d12_resource_and_sync -- --test-threads=4 --nocapture: 3 passed, 0 failed, 0 ignored (RX 9070 XT, debug; and 3 passed, 0 failed, 0 ignored in --release).
  • XCL_D3D12_DEBUG=1 cargo test -p xcl --test d3d12_resource_and_sync -- --test-threads=1 --nocapture: 3 passed, 0 failed, 0 ignored (RX 9070 XT, debug; zero D3D12 debug layer errors).
  • XCL_ADAPTER="Radeon(TM)" cargo test -p xcl --test d3d12_resource_and_sync -- --test-threads=1 --nocapture: 3 passed, 0 failed, 0 ignored.
  • XCL_ADAPTER=warp cargo test -p xcl --test d3d12_resource_and_sync -- --test-threads=1 --nocapture: 3 passed, 0 failed, 0 ignored.
  • cargo test --workspace --no-fail-fast -- --test-threads=4 (RX 9070 XT, debug): 975 passed, 2 failed, 45 ignored (xcl --lib: 925 passed, 2 pre-existing failures gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1 and fuzz_validate_and_gpu_3, 25 ignored, 6 SKIPPED lower_dxil GPU tests; all 17 integration/bin targets passed including d3d12_resource_and_sync 3 passed and 1 SKIPPED heap_window_out_of_memory_falls_back_to_the_switch_form).
  • XCL_ADAPTER=warp .\scripts\test.ps1 --skip test_title_runs_and_game_folder_is_untouched: xcl --lib: 927 passed, 0 failed, 25 ignored (plus earlier integration targets including d3d12_resource_and_sync: 3 passed); halted at e2e test_title_draws_with_a_root_signature_under_the_debug_layer (1 passed; 1 failed; 1 filtered out, 0x87d on 4-lane WARP waves).

Regression run
Not needed: test-only change under crates/xcl/tests/ (no runtime files under crates/xcl/src/ modified).

Not tested

  • Retail titles (scripts/smoke.ps1) and XCL_SAMPLE_* tests (no retail game files or sample paths on this machine).
  • NVIDIA / Intel GPUs, Linux / Wine.

AI use

  • Antigravity (exact model name not provided to the agent): identified the uncovered #480 scope, wrote crates/xcl/tests/d3d12_resource_and_sync.rs, ran the test suites listed above, and wrote this PR description.
**@⁠Vadson159** on GitHub · 2026-11-24 23:59 UTC · [original](https://github.com/xcl-dev/xcl/pull/1964) `Vadson159:tests/d3d12-resource-and-sync` → `main` · +582 −0 · 1 files · 1 commits · merged 2026-11-25 02:13 UTC Add D3D12.X host-driver parity and console ABI integration tests in `crates/xcl/tests/d3d12_resource_and_sync.rs`. Part of #480. **What is in it** - Registers a runtime-mapped executable x64 unwind-annotated trampoline (`console_caller`) in `xcl::modules` so each test exercises both host COM calls and console-caller vtable calls on the same adopted device. - `resource_map_unmap_write_and_gpu_va_match_host_and_console_contracts`: checks `Map` / `Unmap` / `GetGPUVirtualAddress` parity against `real::orig_fn` on upload/readback buffers, `E_INVALIDARG` `Map` failure on default/custom (`CPU_PAGE_PROPERTY_NOT_AVAILABLE`)/reserved resources, `WriteToSubresource` and `CUSTOM` (`WRITE_BACK` / `L0`) `Map` parity, console slot `#11` `GetGPUVirtualAddress` lazy `TITLE_ADDRESS` backing and `Map`/`Unmap` visibility on textures, and console `CreateCommittedResource` (`#76`) UMA buffer placement when `real::uma_gpu_va() != 0`. - `descriptor_heap_console_start_handles_match_host_and_console_heap`: checks console `GetCPUDescriptorHandleForHeapStart` (`#9`) and `GetGPUDescriptorHandleForHeapStart` (`#10`) `rax`-return ABI against `real::orig_fn` on host `RTV` / `CBV_SRV_UAV` heaps and against `console_heap::start` (plus cleanup on drop) for console `#14` `CBV_SRV_UAV` (`type = 4`) and `SAMPLER` shader-visible heaps. - `fence_and_command_queue_sync_timing_and_allocator_reset_match_host_and_console`: checks `ID3D12CommandQueue` (`DIRECT`, `COMPUTE`, `COPY`) `GetDesc`, `GetTimestampFrequency`, and `GetClockCalibration` parity against `real::orig_fn` plus pre- and post-`QUEUE_OLDER` console slot `#16`/`#17`/`#18` calls; verifies `ID3D12Fence` slot `#12` 64-byte-aligned completed-value cell, GPU `Wait` / `ExecuteCommandLists` / `Signal` / `SignalX` (`#23`), immediate CPU `Signal` cell updates, and `ID3D12CommandAllocator::Reset` (`#8`) parity and re-recording. **Tested** - Hardware & toolchain: AMD Radeon RX 9070 XT (`32.0.32029.2010`), AMD Radeon(TM) Graphics (`32.0.21045.29003`), WARP; AMD Ryzen 7 9800X3D; Windows 11 (`10.0.26300.0`); `rustc 1.100.0 (0ef1bc386 2026-11-09)`; debug & release. - `cargo test -p xcl --test d3d12_resource_and_sync -- --test-threads=4 --nocapture`: 3 passed, 0 failed, 0 ignored (RX 9070 XT, debug; and 3 passed, 0 failed, 0 ignored in `--release`). - `XCL_D3D12_DEBUG=1 cargo test -p xcl --test d3d12_resource_and_sync -- --test-threads=1 --nocapture`: 3 passed, 0 failed, 0 ignored (RX 9070 XT, debug; zero D3D12 debug layer errors). - `XCL_ADAPTER="Radeon(TM)" cargo test -p xcl --test d3d12_resource_and_sync -- --test-threads=1 --nocapture`: 3 passed, 0 failed, 0 ignored. - `XCL_ADAPTER=warp cargo test -p xcl --test d3d12_resource_and_sync -- --test-threads=1 --nocapture`: 3 passed, 0 failed, 0 ignored. - `cargo test --workspace --no-fail-fast -- --test-threads=4` (RX 9070 XT, debug): 975 passed, 2 failed, 45 ignored (`xcl --lib`: 925 passed, 2 pre-existing failures `gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1` and `fuzz_validate_and_gpu_3`, 25 ignored, 6 SKIPPED `lower_dxil` GPU tests; all 17 integration/bin targets passed including `d3d12_resource_and_sync` 3 passed and 1 SKIPPED `heap_window_out_of_memory_falls_back_to_the_switch_form`). - `XCL_ADAPTER=warp .\scripts\test.ps1 --skip test_title_runs_and_game_folder_is_untouched`: `xcl --lib`: 927 passed, 0 failed, 25 ignored (plus earlier integration targets including `d3d12_resource_and_sync`: 3 passed); halted at `e2e` `test_title_draws_with_a_root_signature_under_the_debug_layer` (`1 passed; 1 failed; 1 filtered out`, `0x87d` on 4-lane WARP waves). **Regression run** Not needed: test-only change under `crates/xcl/tests/` (no runtime files under `crates/xcl/src/` modified). **Not tested** - Retail titles (`scripts/smoke.ps1`) and `XCL_SAMPLE_*` tests (no retail game files or sample paths on this machine). - NVIDIA / Intel GPUs, Linux / Wine. **AI use** - Antigravity (exact model name not provided to the agent): identified the uncovered #480 scope, wrote `crates/xcl/tests/d3d12_resource_and_sync.rs`, ran the test suites listed above, and wrote this PR description.
Part of #480.

Add integration tests comparing D3D12.X runtime wrappers against host
ID3D12Device objects and console ABI contracts across:
- ID3D12Resource Map, Unmap, GetGPUVirtualAddress (including lazy
  TITLE_ADDRESS texture fallback and UMA buffer placement), and
  WriteToSubresource
- ID3D12DescriptorHeap console slot #9/#10 start handles and
  console_heap::start lifecycle on host and console #14 heaps
- ID3D12CommandQueue GetDesc, GetTimestampFrequency,
  GetClockCalibration (host parity and pre/post-QUEUE_OLDER console
  calls), ExecuteCommandLists, Wait, Signal, and SignalX (#23)
- ID3D12Fence slot #12 64-byte-aligned completed-value cell and CPU
  Signal updates, plus ID3D12CommandAllocator::Reset (#8)

Verified on AMD Radeon RX 9070 XT (debug, release, XCL_D3D12_DEBUG=1),
AMD Radeon(TM) Graphics, and WARP.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:11:48 +00:00
github manually merged commit 878742d298 into gh-pr/1964/base 2026-11-26 05:11:51 +00:00
Author
Owner

@⁠fromthemoonx on GitHub · 2026-11-25 00:37 UTC · original

Passes on NVIDIA (RTX 3060, wave32), at the head and merged onto current main. A broken heap-start path is caught by the new tests and by nothing else in the crate.

This adds to the RTX 5070 Ti report above: a run with no --skip, the merged tree, 10 repeats, the debug layer and a mutation check.

  • Exact head 878742d (base 20cf130): cargo build --workspace + cargo test --workspace --no-fail-fast -- --test-threads=4: 979 passed, 0 failed, 45 ignored.
  • Merged onto main 80f4819 (no conflicts): 996 passed, 0 failed, 45 ignored.
  • SKIPPED (both runs, the same on main): 19 tests for no wave64, 3 per-lane lower_dxil refusals (V_MUL_F16, V_PK_MUL_F16, V_CVT_F16_F32) and heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows). None of the 3 new tests skips. UMA is active on this card, so the console CreateCommittedResource (#76) UMA branch runs.
  • cargo test -p xcl --test d3d12_resource_and_sync, 10 runs on the merged tree: 10/10 runs had 3 passed.
  • XCL_D3D12_DEBUG=1 … -- --test-threads=1: 3 passed, 0 debug-layer errors. The only warnings are 4× id 745 (GetGPUVirtualAddress returns NULL for non-buffer resources, from the test calling it on textures on purpose) and the live-object report at process exit.
  • Mutation check: with heap_gpu_start_x (hle/d3d12x/real.rs) returning h + 0x40 for host heaps, descriptor_heap_console_start_handles_match_host_and_console_heap fails (d3d12_resource_and_sync.rs:372). The rest of cargo test -p xcl still passes, apart from coherent_buffer_sanitizes_console_flags_and_state, a known intermittent failure on main that is not related to this change. So this PR adds the only real-device coverage of that path.

Hardware: RTX 3060 12 GB, driver 610.88, Windows 11 Pro 26300, Rust 1.100.0 MSVC, DXC 1.9.2602.17, debug.

Not tested: Intel, a release build, Linux / Wine.

AI use: Claude Code (Claude Opus 5.5) ran the tests and wrote this report.

**@⁠fromthemoonx** on GitHub · 2026-11-25 00:37 UTC · [original](https://github.com/xcl-dev/xcl/pull/1964#issuecomment-7148710719) Passes on NVIDIA (RTX 3060, wave32), at the head and merged onto current main. A broken heap-start path is caught by the new tests and by nothing else in the crate. This adds to the RTX 5070 Ti report above: a run with no `--skip`, the merged tree, 10 repeats, the debug layer and a mutation check. - Exact head `878742d` (base `20cf130`): `cargo build --workspace` + `cargo test --workspace --no-fail-fast -- --test-threads=4`: **979 passed, 0 failed, 45 ignored**. - Merged onto main `80f4819` (no conflicts): **996 passed, 0 failed, 45 ignored**. - SKIPPED (both runs, the same on main): 19 tests for no wave64, 3 per-lane `lower_dxil` refusals (`V_MUL_F16`, `V_PK_MUL_F16`, `V_CVT_F16_F32`) and `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows). None of the 3 new tests skips. UMA is active on this card, so the console `CreateCommittedResource` (#76) UMA branch runs. - `cargo test -p xcl --test d3d12_resource_and_sync`, 10 runs on the merged tree: 10/10 runs had 3 passed. - `XCL_D3D12_DEBUG=1 … -- --test-threads=1`: 3 passed, 0 debug-layer errors. The only warnings are 4× id 745 (`GetGPUVirtualAddress returns NULL for non-buffer resources`, from the test calling it on textures on purpose) and the live-object report at process exit. - Mutation check: with `heap_gpu_start_x` (`hle/d3d12x/real.rs`) returning `h + 0x40` for host heaps, `descriptor_heap_console_start_handles_match_host_and_console_heap` fails (`d3d12_resource_and_sync.rs:372`). The rest of `cargo test -p xcl` still passes, apart from `coherent_buffer_sanitizes_console_flags_and_state`, a known intermittent failure on main that is not related to this change. So this PR adds the only real-device coverage of that path. **Hardware:** RTX 3060 12 GB, driver 610.88, Windows 11 Pro 26300, Rust 1.100.0 MSVC, DXC 1.9.2602.17, debug. **Not tested:** Intel, a release build, Linux / Wine. **AI use:** Claude Code (Claude Opus 5.5) ran the tests and wrote this report.
Author
Owner

@⁠futurepro62 on GitHub · 2026-11-25 00:24 UTC · original · edited 2026-11-25 00:41 UTC

Full-suite run, since this PR has no test report yet. Tested exact head 878742d (on its base 20cf130).

Tested

  • NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 621.40, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17 (Windows SDK 10.0.26100), debug, D3D12 debug layer installed.
  • cargo build --workspace, then XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f64_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::const_and_null_mask_operands_agree_with_hlsl_on_the_gpu --skip gpu::dxil::fuzz_tests: 969 passed, 0 failed, 43 ignored. SKIPPED (no wave64): a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu, a_per_lane_2d_or_3d_group_runs_on_the_gpu, coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu, cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu, gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware, the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu.
  • The new tests ran and passed: resource_map_unmap_write_and_gpu_va_match_host_and_console_contracts, descriptor_heap_console_start_handles_match_host_and_console_heap, fence_and_command_queue_sync_timing_and_allocator_reset_match_host_and_console.
  • Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, XCL_ADAPTER=radeon), cargo test --workspace -- --test-threads=4 --skip gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1: 978 passed, 0 failed, 45 ignored. SKIPPED: f16_programs_on_the_gpu (f16 arithmetic, wave32, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), f16_programs_on_the_gpu (f16 arithmetic, wave64, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), f16_programs_on_the_gpu (f16 packed, wave32, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), f16_programs_on_the_gpu (f16 packed, wave64, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), f32_programs_on_the_gpu (f32 conversions, wave32, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), f32_programs_on_the_gpu (f32 conversions, wave64, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows).
  • --skip leaves out tests that fail on main 80f4819 too, not because of this PR. On NVIDIA: heap_window_out_of_memory_falls_back_to_the_switch_form (#1651), the four gpu::recomp::lower_dxil::tests::*_programs_on_the_gpu tests and const_and_null_mask_operands_agree_with_hlsl_on_the_gpu (follow-up on #1651) fail because runner::skip_test turns their skips into failures under XCL_REQUIRE_GPU=mesh, and gpu::dxil::fuzz_tests seeds 70, 545, 1019 and 1507 fail CreateComputePipelineState with E_OUTOFMEMORY on this card (drivers 616.64 and 621.40). On AMD: fuzz_validate_and_gpu_1 fails on seed 540 (res[833] 0x7 vs CPU 0x6). The AMD run does not set XCL_REQUIRE_GPU.

Not tested

  • a release build, a game (test run only).

AI use

  • Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
**@⁠futurepro62** on GitHub · 2026-11-25 00:24 UTC · [original](https://github.com/xcl-dev/xcl/pull/1964#issuecomment-7148483156) · edited 2026-11-25 00:41 UTC Full-suite run, since this PR has no test report yet. Tested exact head `878742d` (on its base `20cf130`). **Tested** - NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 621.40, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17 (Windows SDK 10.0.26100), debug, D3D12 debug layer installed. - `cargo build --workspace`, then `XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f64_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::const_and_null_mask_operands_agree_with_hlsl_on_the_gpu --skip gpu::dxil::fuzz_tests`: **969 passed, 0 failed, 43 ignored**. SKIPPED (no wave64): `a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu`, `a_per_lane_2d_or_3d_group_runs_on_the_gpu`, `coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu`, `cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu`, `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware`, `the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu`. - The new tests ran and passed: `resource_map_unmap_write_and_gpu_va_match_host_and_console_contracts`, `descriptor_heap_console_start_handles_match_host_and_console_heap`, `fence_and_command_queue_sync_timing_and_allocator_reset_match_host_and_console`. - Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, `XCL_ADAPTER=radeon`), `cargo test --workspace -- --test-threads=4 --skip gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1`: **978 passed, 0 failed, 45 ignored**. SKIPPED: `f16_programs_on_the_gpu` (f16 arithmetic, wave32, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), `f16_programs_on_the_gpu` (f16 arithmetic, wave64, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), `f16_programs_on_the_gpu` (f16 packed, wave32, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), `f16_programs_on_the_gpu` (f16 packed, wave64, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), `f32_programs_on_the_gpu` (f32 conversions, wave32, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), `f32_programs_on_the_gpu` (f32 conversions, wave64, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows). - `--skip` leaves out tests that fail on main `80f4819` too, not because of this PR. On NVIDIA: `heap_window_out_of_memory_falls_back_to_the_switch_form` (#1651), the four `gpu::recomp::lower_dxil::tests::*_programs_on_the_gpu` tests and `const_and_null_mask_operands_agree_with_hlsl_on_the_gpu` ([follow-up on #1651](https://git.gtahub.st/github/xcl-dev--xcl/issues/1651)) fail because `runner::skip_test` turns their skips into failures under `XCL_REQUIRE_GPU=mesh`, and `gpu::dxil::fuzz_tests` seeds 70, 545, 1019 and 1507 fail `CreateComputePipelineState` with `E_OUTOFMEMORY` on this card (drivers 616.64 and 621.40). On AMD: `fuzz_validate_and_gpu_1` fails on seed 540 (`res[833]` 0x7 vs CPU 0x6). The AMD run does not set `XCL_REQUIRE_GPU`. **Not tested** - a release build, a game (test run only). **AI use** - Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
Author
Owner

@⁠raylitebull on GitHub · 2026-11-25 01:54 UTC · original

Audit & CI note on 878742d:

  • crates/xcl/tests/d3d12_resource_and_sync.rs (582 lines) cleanly covers ID3D12Resource (Map/Unmap/GetGPUVirtualAddress/WriteToSubresource/console TITLE_ADDRESS & UMA buffer #76), descriptor-heap console start slots (#9/#10), and ID3D12Fence/ID3D12CommandQueue parity with RTX 5070 Ti + RTX 3060 passes.
  • Diff audited and CI workflow approved (running).

Remaining before merge: Build and test finishing green plus an AMD verification pass on 878742d.

**@⁠raylitebull** on GitHub · 2026-11-25 01:54 UTC · [original](https://github.com/xcl-dev/xcl/pull/1964#issuecomment-7150097282) Audit & CI note on `878742d`: - `crates/xcl/tests/d3d12_resource_and_sync.rs` (582 lines) cleanly covers `ID3D12Resource` (`Map`/`Unmap`/`GetGPUVirtualAddress`/`WriteToSubresource`/console `TITLE_ADDRESS` & UMA buffer `#76`), descriptor-heap console start slots (`#9`/`#10`), and `ID3D12Fence`/`ID3D12CommandQueue` parity with RTX 5070 Ti + RTX 3060 passes. - Diff audited and `CI` workflow approved (running). **Remaining before merge:** `Build and test` finishing green plus an **AMD** verification pass on `878742d`.
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-25 03:09 UTC · original

Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)

Thanks!

**@⁠DavidM1911** on GitHub · 2026-11-25 03:09 UTC · [original](https://github.com/xcl-dev/xcl/pull/1964#issuecomment-7151640492) Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.) Thanks!
This discussion has been locked. Commenting is limited to contributors.
No description provided.