In a situation like below, does the offset value need to be dynamically uniform?
uint offset = texelFetch(tex, coord).r;
atomicAdd(mystoragebuffer[offset], 1);
In a situation like below, does the offset value need to be dynamically uniform?
uint offset = texelFetch(tex, coord).r;
atomicAdd(mystoragebuffer[offset], 1);