Tests: ID3D12GraphicsCommandList10 layout, QueryInterface and slots #84/#85 #753
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!753
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-753"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@dadnotdaddy on GitHub · 2026-11-24 04:42 UTC · original
dadnotdaddy:tests-cl10→main· +138 −0 · 3 files · 1 commits · openTest-only: pins down how XCL handles
ID3D12GraphicsCommandList10(work graphs:SetProgram,DispatchGraph). No runtime change.What is in it
layout::tests::command_list10_matches_the_sdk: IID, parent List9, method order and slots #84/#85 (and List11 following) against the SDK'sd3d12.h.title_list::tests::command_list10_query_is_answered_by_the_pc_list: QI for List10 on a console list returns the PC answer (supported, or E_NOINTERFACE with a null out and no crash); #84/#85 forwarding.real::command_list10_tests::title_slots_84_85_are_not_work_graph_methods: a title's slots #84/#85 reach the console methods, not SetProgram/DispatchGraph.real::command_list10_tests::gpu_command_list10_is_adopted_with_its_layout: a List10-capable PC list is adopted with the List10 layout (skip_testwithout a device or List10).Tested
cargo test --workspace --no-fail-fast -- --test-threads=4: 703 passed, 2 failed, 41 ignored. The 2 (vram::d32s8_targets_take_their_own_size_of_video_memory, e2etest_title_runs_and_game_folder_is_untouched) also fail onmainin the same run here (main: 697 passed, 4 failed).Regression run
crates/xcl/srcoutside tests).Not tested
AI use
@MesshM on GitHub · 2026-11-24 04:53 UTC · original
Test run of
21b9e04309874e1fa5e62ccc990fac864a8298dcon AMD RDNA4. I merged it onto currentmain64b3f35locally (clean merge) and tested that tree.Tested
stable-x86_64-pc-windows-msvc, debugcargo build --workspace+cargo test --workspace -- --test-threads=4on the merge: 705 passed, 0 failed, 41 ignored, exit code 0;xcllib tests 664 passed, 0 failed, 21 ignoredSKIPPED;command_list10_matches_the_sdk,gpu_command_list10_is_adopted_with_its_layout,title_slots_84_85_are_not_work_graph_methodsandcommand_list10_query_is_answered_by_the_pc_listpass, the GPU one on a real device.Review: Test-only; it pins the List10 layout and slots #84/#85 against the SDK header. I found nothing to change.
Not tested: no retail title or regression run (I have no unpacked game), no
XCL_SAMPLE_*tests, release build; the PR's head on its old base was not run, only its merge ontomain.Run and review by Claude Code (Claude Opus 5.5) on this machine; the review points were checked against the code.
@JoaoPauluu on GitHub · 2026-11-24 05:16 UTC · original
Test report: #753 under Wine (Linux, NVIDIA): vkd3d-proton's
ID3D12GraphicsCommandList10, tests and GTA VI regression pairUnder Wine the PC command list XCL adopts is vkd3d-proton's (D3D12 on Vulkan). Its
ID3D12GraphicsCommandList10works with this PR: the new tests pass, and GTA VI runs the same as onmain.Setup
experimental-11.0-20261112(wine-11.0), vkd3d-proton v3.1 (4522cc1a) + the patch from #257, DXVK from Proton, DXC 1.9.2609,DXVK_CONFIG="dxgi.hideNvidiaGpu = False"x86_64-pc-windows-gnu(mingw-w64-gcc 16.2.0); debug for the tests, release for the runs21b9e04and its basemain64b3f35Tests (lib test binary under Wine,
--test-threads=1, 2 runs each)command_list10: 4 passed, 0 failed, 0 ignored:command_list10_matches_the_sdk,gpu_command_list10_is_adopted_with_its_layout(ran, not skipped),title_slots_84_85_are_not_work_graph_methods,command_list10_query_is_answered_by_the_pc_listtitle_slots_84_85: 1 passedD3D12.X: ID3D12GraphicsCommandList10 – 86 PC methods, 0 internal slots under the guard, +64 stubs (CommandList, PC vtable d3d12core.dll+0x5662a0)GTA VI 1.0.2.1 (my own dump; 60 s runs with
scripts/linux/smoke.shfrom #257,XCL_NETWORK=0, alternating base / PR / PR / base). Every run logs theID3D12GraphicsCommandList10 – …adoption line, so the title goes through the list the PR changes.64b3f3521b9e04(The first
mainrun started presenting at 30 s, the other three at 22 s; the secondmainrun is in line with the PR's.)(The second
mainrun and the first PR run.peak commit: 0 MBis XCL reading 0 MB committed under Wine, see #257.)Not tested
AI use: Claude Code (Claude Opus 5.5) built both commits, ran everything above on the machine above and wrote this report. The blocks, counts and log lines are pasted from those runs. The account owner asked for test reports to be posted while they were away and has not reviewed this one.
@JJAutoCompare on GitHub · 2026-11-25 06:03 UTC · original
Empirical test report (
21b9e043)Verified PR #753 at
21b9e04309874e1fa5e62ccc990fac864a8298dc.Hardware / environment
Windows x64 build 26200 on an AMD CPU (family 23, model 113). Rust 1.100.0 (0ef1bc386) and DXC 1.9.2609.5 (01b62ad47). Cargo test profile, unoptimized, with debug info and incremental compilation disabled. The GPU fixture ran under the Arc A770 test lock with
XCL_ADAPTER=A770. It passes a null adapter toD3D12CreateDevice, so D3D12 selects the adapter and the run does not establish its model or driver version.Commands and results
cargo test --workspace --no-runbuilt the workspace test executables outside the Arc lock and exited 0.xcllibrary test executable (xcl-00e28da3621caf64.exe) with--exactand these three filters in one invocation, usingXCL_ADAPTER=NONE_CPU_ONLYoutside the lock. 3 passed, 0 failed, 0 ignored.hle::d3d12x::layout::tests::command_list10_matches_the_sdkhle::d3d12x::real::command_list10_tests::title_slots_84_85_are_not_work_graph_methodshle::d3d12x::title_list::tests::command_list10_query_is_answered_by_the_pc_listInvoke-ArcTest.ps1 -Test { & $testExe --exact hle::d3d12x::real::command_list10_tests::gpu_command_list10_is_adopted_with_its_layout }ran the GPU fixture alone. 1 passed, 0 failed, 0 ignored.RUST_TEST_NOCAPTURE=1and exited 0. Total: 4 passed, 0 failed, 0 ignored, 0 skipped.Observed behavior
The CPU fixtures verified the List9/10/11 layout and PC slots 84/85, the title's CopyResource and SetPredication slot mappings, and QueryInterface with a stand-in PC list. The supported case returned the wrapper and forwarded slots 84 and 85. The unsupported case returned
E_NOINTERFACEwith a null pointer. The D3D12 fixture adopted a List10 object with 86 PC methods, confirmed QueryInterface returned the same object, and checked that its title-visible slot pointers 84 and 85 differed from the original PC entries.Not tested
The full GPU workspace suite and game smoke runs were omitted. The focused GPU fixture checked interface adoption and slot mappings without dispatching a work graph.
AI use
Verified with T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high). Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against
pr753-focused.logand published.@DavidM1911 on GitHub · 2026-11-25 11:16 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!
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.