Repository navigation
Conversation
|
Reviewed and tested at Looks clean and well-tested (proves unhooked PC rejects Tested locally
AI use
|
|
Test report for #3387 at Tested
Not tested
AI use: Claude Code (Claude Opus 5.5) ran the tests and wrote this report. |
The test no longer requires the unhooked CreateRootSignature to refuse NodeMask 2: Microsoft's D3D12 refuses it, vkd3d-proton takes it, and then only the hooked call is checked. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bbb55ad to
b149d26
Compare
|
Review (head b149d26, diff read, not a merge-check: the
Fine: on main a NodeMask > 1 made both the real call and the empty fallback fail, and the PR clamps the first call, the AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point. |
|
Test report (not a merge-check: AI-written and posted by Foniass without a human check of each point. |
What is in it
NodeMaskvalues above1to1indev_create_root_signature(crates/xcl/src/hle/d3d12x/real.rs) before calling PCCreateRootSignature(for the primary call, theE_NOINTERFACEIID retry, and the empty-root-signature fallback). Without this, a valid root signature blob passed withNodeMask > 1fails both the real creation and the empty fallback withE_INVALIDARG(0x80070057).dev_create_root_signature_sanitizes_node_maskinhle::d3d12x::real::root_signature_testsverifying that unhooked PCCreateRootSignaturerejectsNodeMask = 2, whiledev_create_root_signaturecreates the real root signature preserving parameter 0 (verified viaCreateCommandSignature) and also succeeds on the empty fallback path for an invalid blob withNodeMask = 0xff.Tested
dev_create_root_signature_sanitizes_node_maskfails before the fix on WARP with0x80070057(E_INVALIDARG) forNodeMask = 2.cargo test -p xcl --lib -j 4 -- dev_create_root_signature_ --nocapture): 2 passed, 0 failed, 0 ignored.cargo test --workspace -j 2 -- --test-threads=4 --skip test_title_runs_and_game_folder_is_untouched --skip uma_driver::tests::withXCL_DXC_DIRset to DXC 1.9 on RTX 5070 Ti): 41 test binaries, 2610 passed, 0 failed, 49 ignored, 9 filtered out.SKIPPEDbreakdown (26 total): 21no wave64(RTX 5070 Ti is wave32), 3refused(V_MUL_F16,V_PK_MUL_F16,V_CVT_F16_F32#1426semantics), 2no heap windows(XCL_HEAP_WINDOWS=1opt-in).Regression run
Not tested
NodeMask > 1toCreateRootSignaturewere not run directly; those paths are covered by the synthetic WARP test.test_title_runs_and_game_folder_is_untouched,uma_driver::tests::, wave64 GPU tests, andXCL_HEAP_WINDOWS=1opt-in unit tests were not run in the workspace suite.AI use