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_1d_test.glsl
2023-02-02 13:16:39 +01:00

7 lines
142 B
GLSL

void main()
{
int index = int(gl_GlobalInvocationID.x);
vec4 pos = vec4(gl_GlobalInvocationID.x);
imageStore(img_output, index, pos);
}