Repository navigation
Tests: compare command objects and CreateRootSignature against host D… - #1613
Conversation
…3D12 Add host D3D12 parity integration tests for CreateCommandQueue (slot 8), CreateCommandAllocator (slot 9), CreateCommandList (slot 12), CreateCommandList1 (slot 51), and CreateRootSignature (slot 16), extending xcl-dev#480 without requiring retail game files or console DLLs: - Compare DIRECT/COMPUTE/COPY queues and allocators against the host driver, including invalid descriptor parity and unknown console IID fallbacks. - Compare CreateCommandList and ID3D12Device4::CreateCommandList1 across queue types, mismatched-allocator failure parity, and console IID fallbacks. - Compare empty and parameterized serialized root signatures, console IID fallback, and XCL's empty root-signature fallback on malformed bytecode. Verified locally with: cargo test -p xcl --test d3d12_command_objects_and_root_sig -- --test-threads=1 (3 passed, 0 failed) Assisted-by: Antigravity (Gemini 4 Neon)
|
Full-suite run, since this PR has no test report yet. Tested exact head Tested
Not tested
AI use
|
|
With vkd3d-proton as the host, one of the three tests fails here: on the host's answer, not on XCL's. Tested
Not tested
AI use
|
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
XCL PR #1613 verificationTested head STOR-WINLAB ran Windows 11 Enterprise Evaluation x64 (build 26200), with an AMD Ryzen 7 3800X and Intel Arc A770 (driver 32.0.101.9175). DXC was 1.9.2609.5. Rust was rustc 1.100.0 (0ef1bc386 2026-11-09), x86_64-pc-windows-msvc. Tested
Not tested Coverage was limited to full workspace compilation and the focused Arc A770 integration target. The full GPU workspace suite, retail-title runs and other adapters were 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: command objects and root 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
CreateCommandQueue(slot 8),CreateCommandAllocator(slot 9),CreateCommandList(slot 12),CreateCommandList1(slot 51), andCreateRootSignature(slot 16), Part of Tests: compare the D3D12 answers with the host driver on the same machine (no console files needed) #480:DIRECT/COMPUTE/COPYqueues, allocators, and command lists (GetDesc,Reset,GetType,Close), invalid descriptor/mismatched allocator errors, and console IID fallbacks.Tested
cargo test -p xcl --test d3d12_command_objects_and_root_sig -- --test-threads=1: 3 passed, 0 failedcargo test --workspace -- --test-threads=4: 779 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