Files
test2/source/blender/gpu/tests/shaders/gpu_compute_ibo_test.glsl

6 lines
108 B
GLSL

void main()
{
int store_index = int(gl_GlobalInvocationID.x);
out_indices[store_index] = store_index;
}