-
Atomic memory function can only be used for shader storage block member or shared variable. · 587261a8ZhiqianXia authored
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.
587261a8
×