shader: guessed pixel input enables read the fixed-point position as a float #412
Labels
No labels
accessibility
bug
claimed
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
tester report
urgent
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LakshanSivakumar--Native-Victory-macOS#412
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@teamusec-krause on GitHub · 2026-11-27 17:01 UTC · original
Pixel programs whose description has no
SPI_PS_INPUT_ENAword get their input enables guessed. In that guess the last entry VGPR is laid out as the next float system value. Some full-screen programs read that VGPR only as 16-bit words (SDWAWORD_0/WORD_1), which matches the fixed-point position (POS_FIXED_PT, bit 15). With float position bits there, every pixel of a row reads the same source texel, and the final scene pass into the swapchain buffer comes out as horizontal bands of a single colour (the flat grey world).Task: when the enables are guessed and the last entry VGPR is only ever read as words, guess it as the fixed-point position instead. Mark it as a guess in the code and in docs/native-host.md.
Draft fix: #407
@teamusec-krause on GitHub · 2026-11-27 17:01 UTC · original
/claim
@github-actions[bot] on GitHub · 2026-11-27 17:01 UTC · original
Claimed by @teamusec-krause. Open a draft pull request with
Refs #408in its description within 24 hours, or the claim expires.