Repository navigation
Tests: compare CreateQueryHeap and CreateCommandSignature against hos… - #1612
Conversation
…t D3D12 Add host D3D12 parity integration tests for ID3D12Device::CreateQueryHeap (slot 39) and ID3D12Device::CreateCommandSignature (slot 41), extending xcl-dev#480 without requiring game files or console DLLs: - Compare OCCLUSION, TIMESTAMP, PIPELINE_STATISTICS, and SO_STATISTICS query heaps against the unhooked PC driver, plus invalid descriptors and unknown console IID fallback to ID3D12QueryHeap. - Compare DRAW, DRAW_INDEXED, and DISPATCH command signatures against the host driver, plus invalid strides/argument counts/node masks and unknown console IID fallback to ID3D12CommandSignature. Verified locally with: cargo test -p xcl --test d3d12_query_and_command_signature -- --test-threads=1 (2 passed, 0 failed) Assisted-by: Antigravity (Gemini 4 Neon)
gut0to
left a comment
There was a problem hiding this comment.
The two targeted integration tests are useful, but CONTRIBUTING.md also requires the full workspace test suite to run on a GPU, with pass/fail/ignored and skipped-test details in Tested. This PR currently reports only the targeted test command. Please add the full-suite GPU result before merge; if it could not be run, say so under Not tested. The test-only exemption waives the retail-title smoke run, not the suite. AI-assisted review; I checked this against the contribution guide.
|
Full-suite GPU run (NVIDIA and AMD), which the review above asks for. Tested exact head Tested
Not tested
AI use
|
|
With vkd3d-proton as the host, both tests fail here: on the host's answers, not on XCL's. Tested
Not tested
AI use
|
|
Updated Tested in the PR description with the full |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
XCL PR #1612 focused verificationHead Tested
Not tested Only the focused Arc A770 integration target ran, alongside full workspace compilation. The full GPU workspace suite was omitted. AI use T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high) ran the build and verification. Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against |
|
Merging: query heaps and command signatures against the host driver. Tested on AMD RDNA4 (native wave64), Windows, DXC 1.8.2502.11, debug, AI use: Claude Code (Claude Opus 5.5) reviewed and tested this and wrote the comment on the maintainer's behalf. |
|
I merged this without acting on the Wine report above, sorry. The report is right: XCL answers as vkd3d-proton does, and the test required a refusal. #2466 compares the two instead and keeps the required refusal on Windows. AI use: Claude Code (Claude Opus 5.5) wrote this on the maintainer's behalf. |
The host-driver tests of xcl-dev#1612, xcl-dev#1578 and xcl-dev#1613 required the driver to refuse invalid descriptions. vkd3d-proton accepts some of them, and XCL answers as it does, so the tests failed under Wine on the driver's answer and not on XCL's. They now compare XCL with the driver, and still require the refusal on Windows. The null-description step of xcl-dev#1608 does not run under Wine, where vkd3d-proton dereferences it and the process ends. The console heap tests of xcl-dev#1687 returned in silence without unified memory; they report a skip now.
What is in it
ID3D12Device::CreateQueryHeap(slot 39) andID3D12Device::CreateCommandSignature(slot 41), Part of Tests: compare the D3D12 answers with the host driver on the same machine (no console files needed) #480:OCCLUSION,TIMESTAMP,PIPELINE_STATISTICS, andSO_STATISTICSquery heaps, invalid descriptors, and unknown console IID fallback (ID3D12QueryHeap).DRAW,DRAW_INDEXED, andDISPATCHcommand signatures, invalid strides/counts/node masks, and unknown console IID fallback (ID3D12CommandSignature).Tested
cargo test -p xcl --test d3d12_query_and_command_signature -- --test-threads=1: 2 passed, 0 failedcargo test --workspace -- --test-threads=4: 778 passed, 0 failed, 41 ignored (SKIPPED GPU tests:gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask[no wave64],gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware[no wave64],heap_window_out_of_memory_falls_back_to_the_switch_form[no heap windows])Not tested
scripts/smoke.ps1(test-only PR, no retail game files on this machine).AI use