it seems to me the issue with imageAtomicCompSwap as detailed in this thread
has returned. All of my tests indicate that imageAtomicCompSwap does not write to the image (the return value seems to be ok though). The simplest way to reproduce the issue is to run the simple demo program provided in the thread above (https://github.com/jdupuy/imageAtomicCompSwap/zipball/master).
Additonal Infos: I’m running the latest Win 7, 64Bit, and my GPU is a ATI Radeon HD 5970
I’ve tried running the linked example program. There are two issues:
Under core and compatibility profiles, with both imageAtomicCompSwap and imageAtomicExchange, the output of the program is “buffer content : 0 1 2 3 4 5 6 7”, which I assume is correct.
The application uses image operations in a vertex shader. Our drivers currently report GL_MAX_VERTEX_IMAGE_UNIFORMS as 0 - i.e., not supported. The application is at fault - our bug is that we don’t report an error.
If someone has a correctly written, legal application that reproduces an issue, we’d be more than happy to take a look at it. Feel free to PM me here if you wish.