gpu: test triangle facing and culling on DXR Tier 1.0 #819
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/825"
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 Jess-Doit on 2026-11-23T09:14:16Z.
Change
Run the existing triangle-facing and shared-edge fixtures through the DXR Tier 1.0 DispatchRays pipeline. The
lib_6_3shader passes the front- or back-face cull flag toTraceRayand reports facing fromHitKind. The inline RayQuery test is still registered separately.Both paths use the same CPU references for the 96 facing rays and 12 shared-edge rays. The missing-cull control must produce exactly 24 hit-status mismatches.
Refs #118 and #641.
Verification
Tested
e2ade14a2be927343a357f1dab42a4cd347fd08con Windows 10 22H2 build 19045.6456. The GTX 1060 6 GB (driver 32.0.15.6094) passed DispatchRays and skipped RayQuery at Tier 1.0. App-local WARP 1.0.22 with Agility SDK 1.620.2 passed both paths. In-box WARP 10.0.19041.5794 exposed no DXR and skipped both facing tests.Each passing facing test matched all 108 rays and reported zero D3D12 debug warnings and errors. A local Debug rebuild with the cull flags removed from
TraceRayfailed on both the GTX 1060 and app-local WARP with exactly 24 mismatches. The first was ray 2, which hit instance 1 at distance 2 instead of missing.Built
offscreen_checkin Debug and Release and ran the following from the configured source checkout.Each in-box matrix had 7 passes and 14 capability skips. Each app-local matrix had 12 passes. No test failed with the original cull flags restored.
Evidence and follow-up
The existing source-built scenes and CPU references are covered by the repository's MIT license. At the shared diagonal either incident primitive is valid. See the face-culling experiment for fixture details and the focused reproduction command.
AI-assisted implementation and verification.
Checklist