Merge pull request #3312 from ReinUsesLisp/atoms-u32
shader/memory: Implement ATOMS.ADD.U32
This commit is contained in:
commit
15163edaaa
5 changed files with 74 additions and 3 deletions
|
@ -1796,6 +1796,11 @@ private:
|
|||
return {};
|
||||
}
|
||||
|
||||
Expression UAtomicAdd(Operation) {
|
||||
UNIMPLEMENTED();
|
||||
return {};
|
||||
}
|
||||
|
||||
Expression Branch(Operation operation) {
|
||||
const auto& target = std::get<ImmediateNode>(*operation[0]);
|
||||
OpStore(jmp_to, Constant(t_uint, target.GetValue()));
|
||||
|
@ -2373,6 +2378,8 @@ private:
|
|||
&SPIRVDecompiler::AtomicImageXor,
|
||||
&SPIRVDecompiler::AtomicImageExchange,
|
||||
|
||||
&SPIRVDecompiler::UAtomicAdd,
|
||||
|
||||
&SPIRVDecompiler::Branch,
|
||||
&SPIRVDecompiler::BranchIndirect,
|
||||
&SPIRVDecompiler::PushFlowStack,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue