This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender/gpu/tests/shaders/gpu_compute_vbo_test.glsl
2023-02-02 13:16:39 +01:00

7 lines
130 B
GLSL

void main()
{
uint index = gl_GlobalInvocationID.x;
vec4 pos = vec4(gl_GlobalInvocationID.x);
out_positions[index] = pos;
}