Identify the input in pixel predicate test failures #217
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/220"
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 RonLogic on 2026-11-21T18:33:06Z.
Summary
The predicate test runs several four-channel shaders against multiple operand pairs. A pixel mismatch reports a channel number but leaves the reader to reconstruct which comparison and operands produced it. This was the missing information in the Windows 10 WARP follow-up to #179.
When a draw fails, the Python runner now adds the backend, predicate group index, both operands and the channel-to-predicate mapping to the original exception.
Verification
Both tests passed on Windows 11 with an RTX 4070 and WARP. I also supplied a deliberately incorrect reference value for channel 2 in a synthetic WARP draw. The renderer reported the mismatch and the runner identified the case as
first=8, left=nan, right=1with2=nlg.Refs #179.
AI-assisted. The Windows results were verified locally.