nir: Convert SYSTEM_VALUE_NUM_WORK_GROUPS to a nir intrinsic
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user