Atomic memory function can only be used for shader storage block member or shared variable.
The glsl spec says:A shader will fail to compile if the value passed to the mem argument of an atomic memory function does not
correspond to a buffer or shared variable.
Showing
Test/atomicAdd.comp
0 → 100644
Test/baseResults/atomicAdd.comp.out
0 → 100644
Please
register
or
sign in
to comment