gpu: test triangle facing and culling on DXR Tier 1.0 #825
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!825
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/825/head"
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?
@Jess-Doit on GitHub · 2026-11-23 09:14 UTC · original
Jess-Doit:test/dxr-tier-1-0-facing→main· +47 −18 · 8 files · 1 commits · merged 2026-11-23 09:25 UTCChange
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