diff options
author | Jordan Justen <[email protected]> | 2015-08-17 14:35:44 -0700 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2015-09-13 09:53:16 -0700 |
commit | 2b6cc0395be4c3eb1c60c0d7a413e368b5ae3dbf (patch) | |
tree | ec1d45f1a7a006ae9a7d8403af7ee73bba634df3 /docs/devinfo.html | |
parent | c4d049f64603d934aed2a75cac86d4a3d4adadb7 (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 'docs/devinfo.html')
0 files changed, 0 insertions, 0 deletions