upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/gameinput_test.cpp
diff options
context:
space:
mode:
authorLuiz Neves <luizgustavobenicio@gmail.com>2026-11-22 00:22:03 -0300
committerLuiz Neves <luizgustavobenicio@gmail.com>2026-11-22 00:22:03 -0300
commitf4661127ce6a27f6855f4b523a07e356f6a7163c (patch)
tree9e7c61170d5bfffdcdce7ce00cac3b8b491d5a74 /runtime/test/gameinput_test.cpp
parentf8235ed6ae1ea8897c20204c33a91d94f6a2a9ae (diff)
tests/semantic: run LDS atomics in the interpreter, and value-test them
spirv_mini_interp ran 32-bit atomics on physical-storage-buffer pointers only, so the LDS atomics the translator emits (ds_add/sub/min/max/and/or/xor, ds_wrxchg_rtn_b32, ds_cmpst_rtn_b32) had no value test. With one invocation an atomic is read-combine-write on any pointer, so it now also takes the variable-element pointers OpLoad/OpStore use (Workgroup = LDS since #592, Function); push constants stay read-only. tests/semantic/test_lds_atomics_values.py runs compute listings as one invocation and checks the returned and stored words against a plain-Python model of each RDNA2 DS atomic.
Diffstat (limited to 'runtime/test/gameinput_test.cpp')
0 files changed, 0 insertions, 0 deletions