ffx: replay the first pass 26 LDS gate and tagged stores #148

Merged
descent81 merged 2 commits from upstream-pr/149 into main 2026-11-21 17:55:56 +00:00
descent81 commented 2026-11-21 17:21:49 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by descent81 on 2026-11-21T17:21:49Z.


The existing 8x4 fixture skips the first pass 26 LDS write block. This probe isolates the branch at 0x2410 and checks where the stores place six rows of tagged RGB values.

At 32x4 and unit vertical scale, a horizontal scale of 243/256 enters the block and 244/256 skips it. Relaxing the strict horizontal comparison changes only that boundary case on each backend.

Tested on NVIDIA GeForce RTX 4060 (610.88) and WARP on Windows 26300.9974, D3D11 debug layer disabled. Each backend matched all 120 predicate cases and all 576 words in each of three store cases. Reproduction commands are in docs/experiments.md under "First pass 26 LDS write block".

Coverage ends at the first tagged stores for wave zero. Production translation, subsequent LDS reads and final pixels remain open.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6532034727 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/149). Originally posted by [descent81](https://github.com/descent81) on 2026-11-21T17:21:49Z. --- The existing 8x4 fixture skips the first pass 26 LDS write block. This probe isolates the branch at `0x2410` and checks where the stores place six rows of tagged RGB values. At 32x4 and unit vertical scale, a horizontal scale of 243/256 enters the block and 244/256 skips it. Relaxing the strict horizontal comparison changes only that boundary case on each backend. Tested on NVIDIA GeForce RTX 4060 (610.88) and WARP on Windows 26300.9974, D3D11 debug layer disabled. Each backend matched all 120 predicate cases and all 576 words in each of three store cases. Reproduction commands are in `docs/experiments.md` under "First pass 26 LDS write block". Coverage ends at the first tagged stores for wave zero. Production translation, subsequent LDS reads and final pixels remain open.
upstream-sync closed this pull request 2026-11-24 06:41:33 +00:00
R0Y00 commented 2026-11-24 06:47:42 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-21T17:23:42Z.


The readback and tagged-store controls are useful. The verifier currently needs a separately supplied binary, a prebuilt gate.exe and both adapter backends. Please add a source-owned input covering the gate and tagged stores, register the WARP case in CTest, and leave the package-derived comparison and physical GPU run as separate opt-in checks. That will make the regression reproducible from a clean checkout.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7066449060 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/149#issuecomment-7066449060). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-21T17:23:42Z. --- The readback and tagged-store controls are useful. The verifier currently needs a separately supplied binary, a prebuilt gate.exe and both adapter backends. Please add a source-owned input covering the gate and tagged stores, register the WARP case in CTest, and leave the package-derived comparison and physical GPU run as separate opt-in checks. That will make the regression reproducible from a clean checkout.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
R0Y00/Xbox2Windows!148
No description provided.