Repository navigation
Tests: verify D3D12.X console queue descriptor translation - #1646
Conversation
Register a synthetic title caller to exercise the console path at slot 8. Compare queue descriptions against the native call on the same device, including console flag stripping and DMA-to-copy translation. Part of xcl-dev#480. Assisted-by: OpenAI Codex (GPT-6.2 Sol)
|
A run with vkd3d-proton as the host D3D12: the test passes. Tested
Not tested
AI use
|
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
XCL PR #1646 — Windows / Intel Arc A770 verificationHead 01b6814, detached and clean before and after testing. The PR adds only STOR-WINLAB, Windows 11 Enterprise Evaluation x64 (build 26200), AMD64 Family 23 Model 113, Intel Arc A770 (16 GB, driver 32.0.101.9175), DXC 1.9.2609.5, and rustc 1.100.0 (0ef1bc386, x86_64-pc-windows-msvc). Cargo dev/test profiles were unoptimized, with debug info and incremental compilation disabled. Tested
Workspace failures and skips
Not tested Matched main baseline, retail smoke or external samples (XCL_SAMPLE_* unset), release builds, other adapters, and the separate CreateCommandQueueX extension slot. 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: console queue descriptions 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. |
Test how the D3D12.X queue hook translates descriptors from a console caller. The expected descriptions come from the original D3D12 method on the same device. Part of #480. Related PR #1613 covers queue calls from a host caller.
What is in it
crates/xcl/tests/d3d12_command_queue.rscomparesGetDesc()for direct, compute with a console-only flag, and console DMA mapped to a native copy queue. The test registers the synthetic caller's unwind range so the slot guard sends its call through the console path.Tested
8f007fd7bebf49569cc73fa4e89991108417e0cconmain9e3831e1f570d3646e53ab753b19ec07eb8f1485. Windows 11 23H2 (22631.5335), Core i7-10700K, GeForce RTX 3070 8 GB (NVIDIA 617.42), Rust 1.100.0x86_64-pc-windows-msvc, and DXC 1.9.2602.17.cargo test --offline --locked -p xcl --test d3d12_command_queue -- --test-threads=1 --nocapturepassed on the RTX 3070 and withXCL_ADAPTER=warp.cargo test --offline --locked --release -p xcl --test d3d12_command_queue -- --test-threads=1 --nocapturepassed on the RTX 3070. Each run reported 1 passed, 0 failed, 0 ignored, 0 skips.cargo build --offline --locked --workspacesucceeded.cargo test --offline --locked --workspace -- --test-threads=4 --show-outputon the RTX 3070 reported 777 passed, 0 failed, 41 ignored.gpu_geometry_wave32_prefix_count_over_a_maskandgpu_wave32_program_in_wave64_hardwareneed native wave64.heap_window_out_of_memory_falls_back_to_the_switch_formneeds heap windows.placed_title_textures_share_vram_and_preserve_pixelsneeds a reserved cube with mips. Another 32 external-sample tests returned early withXCL_SAMPLE_*unset.Regression run
Test-only addition under
crates/xcl/tests/.Not tested
AMD and Intel hardware, retail titles or samples, and the separate
CreateCommandQueueXextension slot.AI use
OpenAI Codex (GPT-6.2 Sol) wrote and ran the integration test, checked the workspace results, and drafted this description.