aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-01-25 21:03:02 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-01-26 01:54:24 -0300
commit0d8f0ad3b3f0d28e235d24e0e380a556d33265d5 (patch)
tree63083efff309ea993e1de84e4b93fd6d348dfce2 /src/core/hle/kernel/kernel.cpp
parent53184a16ccaa62fc9aba6d18d447e4b646434fc1 (diff)
shader/memory: Implement ATOM.ADD
ATOM operates atomically on global memory. For now only add ATOM.ADD since that's what was found in commercial games. This asserts for ATOM.ADD.S32 (handling the others as unimplemented), although ATOM.ADD.U32 shouldn't be any different. This change forces us to change the default type on SPIR-V storage buffers from float to uint. We could also alias the buffers, but it's simpler for now to just use uint. While we are at it, abstract the code to avoid repetition.
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
0 files changed, 0 insertions, 0 deletions