Identify the input in pixel predicate test failures #220
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!220
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/220/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?
@RonLogic on GitHub · 2026-11-21 18:33 UTC · original
RonLogic:test/pixel-predicate-context→main· +10 −1 · 1 files · 1 commits · merged 2026-11-21 18:41 UTCSummary
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.