nir: Add gl_LocalInvocationID variable

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
This commit is contained in:
Jordan Justen
2015-03-13 11:32:43 -07:00
parent bf8d6e501c
commit 62e011d593
3 changed files with 6 additions and 0 deletions

View File

@@ -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,