aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir_intrinsics.h
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2015-03-13 11:37:03 -0700
committerJordan Justen <[email protected]>2015-09-13 09:53:16 -0700
commit4f178f0d8b7b4c410a1ac5532a26dfa51d3a72f1 (patch)
treea63349833a11285cba4f7d41a5a13a5112a68851 /src/glsl/nir/nir_intrinsics.h
parentf5bb5a1bf180b80a4fee12d60e97ac4c6f80876c (diff)
nir: Add gl_WorkGroupID system variable
Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir_intrinsics.h')
-rw-r--r--src/glsl/nir/nir_intrinsics.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/nir/nir_intrinsics.h b/src/glsl/nir/nir_intrinsics.h
index 83966129462..b981df1a71b 100644
--- a/src/glsl/nir/nir_intrinsics.h
+++ b/src/glsl/nir/nir_intrinsics.h
@@ -142,6 +142,7 @@ SYSTEM_VALUE(sample_pos, 2)
SYSTEM_VALUE(sample_mask_in, 1)
SYSTEM_VALUE(invocation_id, 1)
SYSTEM_VALUE(local_invocation_id, 3)
+SYSTEM_VALUE(work_group_id, 3)
/*
* The format of the indices depends on the type of the load. For uniforms,