Repository navigation
Tests: verify D3D12.X null device, resource, fence, and PSO stream - #2374
amazedturnip wants to merge 1 commit into
Conversation
|
Two contributors checked independently and found that #2006 solves the same problem in a different way: #1607, group D106. You may want to compare them with the other author and agree on one, or say in the PR why both are needed. This is a hint from the community triage in #1607, not a maintainer decision. AI use: Claude Code (Claude Opus 5.5), posted by a script from the #1607 table. |
|
Independent AMD RDNA4 (native wave64) test report on exact head Tested
Regression run (60 s retail-title smoke, (Matched Not tested
AI use
|
Add integration contract tests for crates/xcl/src/hle/d3d12x/null.rs covering subobject_payload layouts (0..=28 and unknown types), capture_graphics_desc/capture_compute_desc/capture_stream_desc guards, D3D12XboxCreateDevice/D3D10CreateBlob/debug/root-sig entry points, device queries (GetNodeCount, GetAdapterLuid, GetCustomHeapProperties, GetResourceAllocationInfo, GetCopyableFootprints, CheckFeatureSupport OPTIONS5), resource Map/GPU VA/GetDesc/GetHeapProperties, Fence SetEventOnCompletion/Signal, DeviceChild GetDevice, and COM refcounting.
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
The lowered program is missing an expected group barrier (or emits one where none is expected). Needs a fix before merge. — Devin |
|
CI failure was the stale base: this PR head predates upstream/main's #2420 fix (c828d8c) that corrects |
e017aa6 to
2e503f4
Compare
Adds integration contract tests for the D3D12.X null backend (
crates/xcl/src/hle/d3d12x/null.rs) incrates/xcl/tests/d3d12x_null_contract.rs. Coverssubobject_payloadlayouts andcapture_*_descpointer/stream guards, exported device/blob/root-signature entry points, device queries and feature support, andID3D12Resource,ID3D12Fence,ID3D12DeviceChild, and COM refcounting vtable contracts.What is in it
crates/xcl/tests/d3d12x_null_contract.rs: add contract tests forsubobject_payload(0..=28 and unknown types),capture_graphics_desc/capture_compute_desc/capture_stream_descguards,D3D12XboxCreateDevice/D3D10CreateBlob/debug/root-sig entry points, device queries (GetNodeCount,GetAdapterLuid,GetCustomHeapProperties,GetResourceAllocationInfo,GetCopyableFootprints,CheckFeatureSupportOPTIONS5), resourceMap/GPU VA/GetDesc/GetHeapProperties,FenceSetEventOnCompletion/Signal,DeviceChild::GetDevice, and COM refcounting.Tested
AMD Radeon(TM) Graphics (driver 32.0.21043.19003, DXC 1.9.2609, native wave64),XCL_ADAPTER=radeon):cargo test --workspace -- --test-threads=2— 1218 passed, 2 failed, 26 ignored (SKIPPED GPU tests: 1 (f16 arithmetic, wave32, per-lane form: refused (unsupported V_MUL_F16 (its gpu: direct RDNA2 -> DXIL backend (no HLSL / DXC), behind XCL_DIRECT_DXIL #1426 semantics differ from the console's))), 1 (f16 arithmetic, wave64, per-lane form: refused (unsupported V_MUL_F16 (its gpu: direct RDNA2 -> DXIL backend (no HLSL / DXC), behind XCL_DIRECT_DXIL #1426 semantics differ from the console's))), 1 (f16 packed, wave32, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its gpu: direct RDNA2 -> DXIL backend (no HLSL / DXC), behind XCL_DIRECT_DXIL #1426 semantics differ from the console's))), 1 (f16 packed, wave64, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its gpu: direct RDNA2 -> DXIL backend (no HLSL / DXC), behind XCL_DIRECT_DXIL #1426 semantics differ from the console's))), 1 (f32 conversions, wave32, per-lane form: refused (unsupported V_CVT_F16_F32 (its gpu: direct RDNA2 -> DXIL backend (no HLSL / DXC), behind XCL_DIRECT_DXIL #1426 semantics differ from the console's))), 1 (f32 conversions, wave64, per-lane form: refused (unsupported V_CVT_F16_F32 (its gpu: direct RDNA2 -> DXIL backend (no HLSL / DXC), behind XCL_DIRECT_DXIL #1426 semantics differ from the console's))), 1 (cannot disable the driver cache (Windows Developer Mode is required): The application requested an operation that depends on an SDK component that is missing or mismatched. (0x887A002D)); pre-existing upstream/main failures excluded: gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1, gpu::recomp::lower_dxil::tests::a_bridged_mask_write_where_one_half_is_elsewhere_meets_no_barrier)Not tested
AI use