diff options
author | Jordan Justen <[email protected]> | 2014-10-10 08:28:24 -0700 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2015-09-13 09:53:16 -0700 |
commit | f5bb5a1bf180b80a4fee12d60e97ac4c6f80876c (patch) | |
tree | 3c58343cfe31645d972febee502c2213ef80a052 /src/glsl/builtin_variables.cpp | |
parent | 49f999b9cb6ecb32cb27d10b47d234a176ae4c77 (diff) |
glsl/cs: Add gl_WorkGroupID variable
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src/glsl/builtin_variables.cpp')
-rw-r--r-- | src/glsl/builtin_variables.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/builtin_variables.cpp b/src/glsl/builtin_variables.cpp index f185d939444..fbcec353a4a 100644 --- a/src/glsl/builtin_variables.cpp +++ b/src/glsl/builtin_variables.cpp @@ -1055,6 +1055,7 @@ builtin_variable_generator::generate_cs_special_vars() { add_system_value(SYSTEM_VALUE_LOCAL_INVOCATION_ID, uvec3_t, "gl_LocalInvocationID"); + add_system_value(SYSTEM_VALUE_WORK_GROUP_ID, uvec3_t, "gl_WorkGroupID"); /* TODO: finish this. */ } |