GPU: cap constant view sizes before rounding #1203
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from fxceless/victory-fork. Originally posted by gmankab on 2026-11-26T00:01:48Z.
The 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: https://github.com/fxceless/victory-fork/pull/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
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.