device_proxy and d3d12_xs_root_signature need a WARP adapter, which
Wine doesn't have: without one they exit 77, which CTest reads as a
skip (SKIP_RETURN_CODE). A missing DXGI factory still fails.
root_sig_test checked that the host serializer rejects the Xbox flag
byte. Microsoft's d3d12.dll does; Wine's (vkd3d) doesn't validate it.
That is a property of the host, not of the shim, so a host that accepts
it is reported as a skip, as the deserializer check already does.
test_version_1_2 serialized a 1.2 signature before checking feature support,
so it would fail on an in-box runtime that lacks 1.2 (e.g. Windows 11 23H2).
Check CheckFeatureSupport(D3D12_FEATURE_ROOT_SIGNATURE) up front and skip the
whole 1.2 path when HighestVersion < 1.2, matching the root_sig_test fix.
AI-assisted (Cline).
The d3d12_xs root-signature shim cleared bits 24-31 of
D3D12_ROOT_SIGNATURE_FLAGS for 1.0 and 1.1 but forwarded 1.2 unchanged, so a
1.2 descriptor with the Xbox high flag byte would reach the PC serializer and
fail. Add the 1.2 case with the same clear_high_byte treatment.
d3d12_xs_root_signature_test gains test_version_1_2: it serializes a 1.2
signature with a descriptor table and the IA-input-layout flag, checks the
versioned reflection, compares legacy deserialization against Windows, and
creates the signature on WARP when the feature level allows.
AI-assisted (Cline).