Repository navigation
Tests: verify D3D12.X null device, resource, fence, and PSO stream - #2374
Open
amazedturnip wants to merge 1 commit into
Open
amazedturnip wants to merge 1 commit into
amazedturnip wants to merge 1 commit into
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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