GPU: cap constant view sizes before rounding #1206
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/fxceless--victory-fork!1206
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1206"
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?
@gmankab on GitHub · 2026-11-26 00:01 UTC · original
gmankab:contrib/fxceless-constant-size-overflow→main· +4 −3 · 1 files · 1 commits · openThe introduced 64 KiB constant-buffer cap rounds the raw size before comparing it to the limit. A release build wraps
u32::MAXto a zero-sized view. Checking the cap first prevents this and preserves the existing diagnostic.The extracted release helper returned 0 bytes before the change and 65,536 bytes afterward. The Windows
victory-gpuconstant-view regression also passed under Wine with the hardware GPU hidden.Based-on: #911
Tested-on: Fedora Linux 45, Intel Xeon E5-2670 v3 with Wine and Lavapipe
Assisted-by: gpt-6.2 sol xhigh
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.