shader: a store through a counter view writes its one integer channel #473
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/lobomfz--VIctory-xmem!473
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-473"
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?
@LOCKhart07 on GitHub · 2026-12-04 15:31 UTC · original
LOCKhart07:main-counter-store→main· +35 −6 · 3 files · 1 commits · draftSplit out of the hardware ray tracing stack (#468), where it rode in the lift commit without depending on its switch. It stands here on main alone. Draft: what it changes on screen is not known, see below.
What it changes
A view a program also counts in is one 32-bit integer channel. A store to it was taken as that integer only when its mask named channel 0 alone; a mask naming more (
0x3,0x7,0xF) went the float way. Now:TRANSLATOR_VERSIONgoes from 20 to 21, because the translation of some shaders changes. That rebuilds every shader cache once.Measured
On one machine (
x86_64-pc-windows-msvc, tests under Wine on Linux, RADV), over the 25,694 shader containers of the title's archive, byvictory shadersat version 20 translating again what main (0fd7614) had cached:Tests:
victory-shader --lib -- size_tests, 15 passed, 0 failed. The store test now holds the three wider masks to the program and the value of the one-channel store, and the mask without channel 0 to a refusal.Not measured
🤖 Generated with Claude Code
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.