startup: hand off the packed screen-position gradient fixture #1634
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!1634
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1634/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?
@R0Y00 on GitHub · 2026-11-24 15:29 UTC · original
R0Y00:codex/1629-packed-position-fixture→main· +115 −9 · 7 files · 1 commits · merged 2026-11-24 15:34 UTCRefs #1629. This draft hands the shader ABI contributor a reproducible gradient and an optional translator input for two explicitly supplied hardware masks. The original composite's input-enable and input-address masks still need to be located and associated with its PSO. The startup request path continues to use its existing defaults.
The source-built pixel shader exports a live-in VGPR to all four channels. With matching masks 0x8100 the preceding scalar consumes v0 and the position lands in v1. With 0x8002 the preceding IJ pair consumes v0/v1 and the position lands in v2. The readback compares all 91 pixels against the integer packing of their own X and Y. Missing metadata, reading the wrong register and disabling the input each trigger the expected mismatch at (1,0). Differing enable/address masks are rejected.
For an independent run on a configured Windows checkout:
Tested commit
198e4e16on Windows 11 build 26200, RTX 4060 Laptop GPU driver 32.0.16.1656 and Microsoft WARP driver 10.0.26100.9818, with the debug layer enabled. Both FXC and DXC were used. The two new CTests and both existing flat-parameter draw regressions passed (4/4, zero skips).The next contribution on #1629 is capture-time provenance for both masks and their association with the exact pipeline, including how the cache distinguishes different input contracts. Local executable verification remains with the main integration thread.