Use versioned feature queries under the app-local Agility SDK #190
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/191"
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?
Imported from R0Y00/Xbox2Windows. Originally posted by rasptum on 2026-11-21T18:11:49Z.
Change
With the app-local Agility SDK (
OFFSCREEN_AGILITY_620_DIR) and an available debug layer, ten checks log D3D12 warning 989:dxr_checkand the forced wave64 check already callCheckFeatureSupport1(..., 620)underOFFSCREEN_AGILITY_620. Three call sites did not: thecs_6_5fixture gate inoffscreen_check.cpp(from #99),wave_shuffle(from #151) and the packed RCAS format query inffx_provider_loop.cpp. This addscheck_feature(), which uses the versioned call withD3D12SDKVersionwhen the Agility SDK is configured and plainCheckFeatureSupportotherwise, and switches those three sites to it. Builds without the Agility SDK compile the same call as before.Verification
First measured as
31263feon8ac95cf. Windows 10 22H2 (19045.6466), VS Build Tools 17.14, SDK 10.0.26100, Graphics Tools installed, RTX 3060 (32.0.15.9636). Full suite with-V. Counts are the runs reporting nonzerodebug_warnings, and theD3D12 989lines:mainbvh_wave64_warpandwave_shuffle_warpfail (#145).Rebased onto
ccfa703(3b8a917) and run again: the default and Agility builds each gave 103/104, with 0 warnings, 0 errors and 0× 989 in all 111 debug-layer runs. The one failure,pixel_aot_warpon the in-box WARP 10.0.19041, also fails on unmodifiedccfa703(predicate draw, pixel 0,0 expected 1,1,1,1, got 1,0,0,0). This change does not cause it. Rebased again as59c413eon99990ef: the 32 affected checks in the Agility build passed with 0 warnings and 0× 989.The affected checks were
bvh_{atomics,buffer_ops,hits,numeric,packed,reads,waves},ffx_provider_loopandwave_shuffle, on hardware and WARP. No errors were reported in any configuration, and the D3D12 debug layer was enabled in all 74 GPU runs.Evidence and follow-up
No fixtures change. The versioned query only clamps reported capabilities to Agility SDK 620, and every check reported the same capability line before and after. A follow-up could move
dxr_checkandbvh_reads_wavesonto the helper too, since each has its own copy of the same#if.AI-assisted (Claude Code); built and run locally on the configuration above.