GLSL: Fixed atomicFetchCompareExchange.

This commit is contained in:
Branimir Karadžić 2018-08-27 17:57:42 -07:00
parent dc18a2931b
commit 6dacf1b1e3

View File

@ -58,7 +58,7 @@
#define atomicFetchAndOr(_mem, _data, _original) _original = atomicOr(_mem, _data)
#define atomicFetchAndXor(_mem, _data, _original) _original = atomicXor(_mem, _data)
#define atomicFetchAndExchange(_mem, _data, _original) _original = atomicExchange(_mem, _data)
#define atomicFetchCompareExchange(_mem, _compare, _data, _original) _original = atomicCompSwap(_mem,_compare, _data, _original)
#define atomicFetchCompareExchange(_mem, _compare, _data, _original) _original = atomicCompSwap(_mem,_compare, _data)
#else