aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir_intrinsics.h
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2015-03-13 11:32:43 -0700
committerJordan Justen <[email protected]>2015-09-13 09:53:16 -0700
commit62e011d593008e61ddcba3c32b5710505f4974e6 (patch)
tree68454409616ce79ae8abec93bd89fac1a828b214 /src/glsl/nir/nir_intrinsics.h
parentbf8d6e501c58b3d6c06056b663ec99b9c7eeb9cf (diff)
nir: Add gl_LocalInvocationID variable
Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Iago Toral Quiroga <[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 07dd5cf1ec3..83966129462 100644
--- a/src/glsl/nir/nir_intrinsics.h
+++ b/src/glsl/nir/nir_intrinsics.h
@@ -141,6 +141,7 @@ SYSTEM_VALUE(sample_id, 1)
SYSTEM_VALUE(sample_pos, 2)
SYSTEM_VALUE(sample_mask_in, 1)
SYSTEM_VALUE(invocation_id, 1)
+SYSTEM_VALUE(local_invocation_id, 3)
/*
* The format of the indices depends on the type of the load. For uniforms,