fix(shader): retain scalar bounds with vector loads #177
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!177
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-177"
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?
@krofty on GitHub · 2026-11-27 19:18 UTC · original
fix/wide-scalar-bounds→main· +1 −1 · 1 files · 1 commits · closed without mergingEnabling vectorized scalar-buffer loads also routed count-one loads through an early return, bypassing the existing structure-size clamp for a spilled-root read at offset four.
Restrict the vector path to multi-DWORD loads. Single-DWORD reads keep the existing safety handling; x4/x8/x16 vectorization remains available.
Closes #160.
Validation: the existing software-GPU boundary regression passed with option masks 63 and 127 in separate processes, with six actual dispatch cases each, including reads across partial resource ends and out-of-bounds zeros. Diagnostics build 294 passed through build.sh. Independent source review and diff check passed. The clamp retention itself was checked by source inspection; the GPU fixture does not exercise the spilled-root clamp.
The opt-in in-game vectorization trial showed no performance gain so far. This is a safety fix, not a 30 FPS claim. PR stays open and unmerged.
Pull request closed