summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2015-08-17 16:32:42 -0700
committerJordan Justen <[email protected]>2015-09-13 09:53:17 -0700
commitc4cf824658da283cf350fd6833d50dff9de4a1ad (patch)
treec12d06d47947784d07b8e5ff1c5a7c06153f9997 /src/gallium/auxiliary
parent6823e12d5aa4646fc8ef0e32455104ba47f80a38 (diff)
glsl/cs: Initialize gl_LocalInvocationIndex in main()
We initialize gl_LocalInvocationIndex based on the extension spec formula: gl_LocalInvocationIndex = gl_LocalInvocationID.z * gl_WorkGroupSize.x * gl_WorkGroupSize.y + gl_LocalInvocationID.y * gl_WorkGroupSize.x + gl_LocalInvocationID.x; https://www.opengl.org/registry/specs/ARB/compute_shader.txt Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
0 files changed, 0 insertions, 0 deletions