buffer_atomic_sub is refused (no DXIL atomic subtraction; 3 compute shaders) #366
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#366
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?
@tiagonogueiraa-bit on GitHub · 2026-11-27 14:12 UTC · original
A small shape from #4:
buffer_atomic_subis refused by name ("GFX10 code at …: buffer_atomic_sub is not supported"). There are 3 unique compute shaders in a 12,020-shader corpus (Series S, boot to the menus, main905e7aa):49b8b58b93edb335,b1454a15c3e09497anddfc4a2c9e8be67ba.DXIL's
AtomicBinOphas no subtraction. Plan: lower it as an add of0 - data. Modulo 2^32 that leaves the same dword and returns the same old value. The PR will include a GPU test and a by-output corpus sweep.@tiagonogueiraa-bit on GitHub · 2026-11-27 14:12 UTC · original
/claim
@github-actions[bot] on GitHub · 2026-11-27 14:12 UTC · original
Claimed by @tiagonogueiraa-bit. Open a draft pull request with
Refs #363in its description within 24 hours, or the claim expires.@LakshanSivakumar on GitHub · 2026-11-28 00:35 UTC · original
Thank you. buffer_atomic_sub now lowers as an add of the negated data, in #367 on main. The sweep showed 3 compute shaders gained, no regressions, with a GPU test. I have not tested it in the game. Closing. Please reopen if one of the 3 hashes is still refused on
a6a58361.