diff options
author | Jordan Justen <[email protected]> | 2015-08-22 18:51:08 -0700 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2015-09-29 08:23:47 -0700 |
commit | 4c6ddd3397f9ec363342831eab710003996e77a8 (patch) | |
tree | 40a35e523cee09194885d1f738cea6949e15a784 /src/glsl/nir/nir_intrinsics.h | |
parent | f6ae91406966c0fdcfcd628539e34964ae0ab1a6 (diff) |
nir: Convert SYSTEM_VALUE_NUM_WORK_GROUPS to a nir intrinsic
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/nir/nir_intrinsics.h b/src/glsl/nir/nir_intrinsics.h index 06f1b02383a..649312fec51 100644 --- a/src/glsl/nir/nir_intrinsics.h +++ b/src/glsl/nir/nir_intrinsics.h @@ -198,6 +198,7 @@ SYSTEM_VALUE(invocation_id, 1, 0) SYSTEM_VALUE(local_invocation_id, 3, 0) SYSTEM_VALUE(work_group_id, 3, 0) SYSTEM_VALUE(user_clip_plane, 4, 1) /* const_index[0] is user_clip_plane[idx] */ +SYSTEM_VALUE(num_work_groups, 3, 0) /* * The format of the indices depends on the type of the load. For uniforms, |