buffer_atomic_sub is refused (no DXIL atomic subtraction; 3 compute shaders) #363
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?
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by tiagonogueiraa-bit on 2026-11-27T14:12:44Z.
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.Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by tiagonogueiraa-bit on 2026-11-27T14:12:46Z.
/claim
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by github-actions[bot] on 2026-11-27T14:12:57Z.
Claimed by @tiagonogueiraa-bit. Open a draft pull request with
Refs #363in its description within 24 hours, or the claim expires.Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by LakshanSivakumar on 2026-11-28T00:35:29Z.
Thank you. buffer_atomic_sub now lowers as an add of the negated data, in #364 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.