summaryrefslogtreecommitdiffstats
path: root/src/glsl/link_atomics.cpp
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2015-08-17 14:35:44 -0700
committerJordan Justen <[email protected]>2015-09-13 09:53:16 -0700
commit2b6cc0395be4c3eb1c60c0d7a413e368b5ae3dbf (patch)
treeec1d45f1a7a006ae9a7d8403af7ee73bba634df3 /src/glsl/link_atomics.cpp
parentc4d049f64603d934aed2a75cac86d4a3d4adadb7 (diff)
glsl/cs: Initialize gl_GlobalInvocationID in main()
We initialize gl_GlobalInvocationID based on the extension spec formula: gl_GlobalInvocationID = gl_WorkGroupID * gl_WorkGroupSize + gl_LocalInvocationID https://www.opengl.org/registry/specs/ARB/compute_shader.txt Signed-off-by: Jordan Justen <[email protected]> Cc: Ilia Mirkin <[email protected]> Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/glsl/link_atomics.cpp')
0 files changed, 0 insertions, 0 deletions