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 09:34:25 -0300
committerLuiz Neves <luizgustavobenicio@gmail.com>2026-11-22 09:34:25 -0300
commit6877ac6c63569d9a4e8145eb81e9c523a3a7c6f3 (patch)
treea6f644481fe78ea852cc6e74ee9e7bf04a31a2af /runtime/test/gameinput_test.cpp
parent41f448261e1de8a410b4d760e69a7e5656cef858 (diff)
rdna2spirv: ds_wrxchg_rtn_b64, ds_wrxchg2_rtn_b64 and ds_wrxchg2st64_rtn_b64
Each 64-bit element is exchanged one dword at a time with a 32-bit OpAtomicExchange: both dwords take DATA, so the memory ends as a 64-bit exchange leaves it, without Int64 atomics on Workgroup memory. The returned pair is two reads and can be torn by a concurrent 64-bit op on the same element. The 2 forms address their elements as ds_write2_b64 does (offset * 8, x64 for st64); every exchange runs before vdst is written. tests/semantic/test_lds_wrxchg_b64.py runs them in the interpreter. docs/design.md row added.
Diffstat (limited to 'runtime/test/gameinput_test.cpp')
0 files changed, 0 insertions, 0 deletions