tests: verify exact front-face winding through slot 86 streams #2387
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!2387
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/2387/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?
@RavenCurseBurg on GitHub · 2026-11-25 14:50 UTC · original
RavenCurseBurg:tests/stream-rasterizer-winding→main· +27 −9 · 3 files · 1 commits · merged 2026-11-25 14:56 UTCChange
Refs #1999 (B), #1567 and #2260. The slot-86 stream test previously accepted either ordering of the front-cull and back-cull images, and both stream subobject types always used a clockwise front face. The source-built vertex shader emits the counterclockwise triangle
(-1,-1), (3,-1), (-1,3). The updated fixture checks every byte of the 8×4 scissored image for both cull modes, each front-face winding, and both RASTERIZER and RASTERIZER1. Its request-only and original eight-output command forms remain usable. The four additional draws reuse the same device, shaders and render target.Verification
I built the fixture and shim from
45f42d76f34c0075b926f40b44022e69afe30862. The Windows Server 2025 WARP run ranctest --test-dir out/raster -V --no-tests=error -R '^startup_stream_rasterizer(_ignore)?_warp$': 2/2 passed with the D3D12 debug layer enabled and zero skips. The positive test checked eight full cull/winding images, the dropped subobject, the fractional depth-bias refusal, and both mixed orders.The same run compiled two temporary shim mutations:
ccw_backfrontOn local Windows, I checked the source stamp and SHA-256 manifest for the two unmodified build outputs and ran
python -B tests/startup_stream_rasterizer_check.py <exe> <backend> <mode>for WARP (10.0.26100.9711) and RTX 4060 (32.0.15.9579). Bothapplyruns passed. Bothignorecontrols reported the intended readback difference and returned 1. The local debug layer was unavailable.python -B tests/docs_links_check.pychecked 462 links,python -B tests/bidi_controls_check.pychecked 1,675 tracked files, andgit diff --checkpassed.The existing in-tree synthetic shaders and the new cases are covered by the repository license. This is a translated pipeline stream readback; native register-block decoding is separate work in #1999.
AI assistance: Codex, GPT-6.2 Astra (xhigh).