nir: Add intrinsics for SYSTEM_VALUE_BASE_VERTEX and VERTEX_ID_ZERO_BASE
Ian and I added these around the time Connor was developing NIR. Now that both exist, we should make them work together! Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
This commit is contained in:
@@ -95,6 +95,8 @@ ATOMIC(read, NIR_INTRINSIC_CAN_ELIMINATE)
|
||||
|
||||
SYSTEM_VALUE(front_face, 1)
|
||||
SYSTEM_VALUE(vertex_id, 1)
|
||||
SYSTEM_VALUE(vertex_id_zero_base, 1)
|
||||
SYSTEM_VALUE(base_vertex, 1)
|
||||
SYSTEM_VALUE(instance_id, 1)
|
||||
SYSTEM_VALUE(sample_id, 1)
|
||||
SYSTEM_VALUE(sample_pos, 2)
|
||||
|
Reference in New Issue
Block a user