summaryrefslogtreecommitdiffstats
path: root/src/compiler/spirv/vtn_glsl450.c
diff options
context:
space:
mode:
authorCaio Marcelo de Oliveira Filho <[email protected]>2019-04-29 17:07:01 -0700
committerCaio Marcelo de Oliveira Filho <[email protected]>2019-04-29 19:02:44 -0700
commit1fb663063694f191c30757af677ebfba76aace33 (patch)
treed6ed2187dc19e1aa692ac095a8c52bc84d329ac6 /src/compiler/spirv/vtn_glsl450.c
parentcc6bbf6397d7984ecbba7a81e4d875eee1c2b6e8 (diff)
spirv: Properly handle SpvOpAtomicCompareExchangeWeak
The code was handling the Weak variant in some cases, but missing others, e.g. the get_deref_nir_atomic_op. Add all the missing cases with the same behavior of the non-Weak SpvOpAtomicCompareExchange. Note that the Weak variant is basically an alias, as SPIR-V 1.3, Revision 7 says "OpAtomicCompareExchangeWeak Deprecated (use OpAtomicCompareExchange). Has the same semantics as OpAtomicCompareExchange." Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/spirv/vtn_glsl450.c')
0 files changed, 0 insertions, 0 deletions