Thanks again for the quick reply! This forum is really helpful :)
It sounds logical for the atomic functions to always return the old value, I agree on that. Probably the following quote is just a...
Type: Posts; User: FranzderBauer
Thanks again for the quick reply! This forum is really helpful :)
It sounds logical for the atomic functions to always return the old value, I agree on that. Probably the following quote is just a...
Hm I thought I did understand how atomicCompSwap works, but I was wrong.
There are two points that I dont' get:
1) The documentation says that the return value of atomicCompSwap is the new...
Ahhh thanks for the clarification!
You were right, of course. Now I am using a macro instead of a function and everything works as expected. Tank you!
Hi there,
These days I played with OpenGL Compute Shaders and atomic operations. Unfortunately, the GLSL compiler keeps complaining about my use of the function atomicCompSwap.
It claims "0(63) :...