nir: add lowering for gl_HelperInvocation
v2: reword comment about lower_helper_invocations to be more clear that it might not work on all hardware v3: add special variant of load_sample_id which does not imply per- sample shading Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
@@ -424,6 +424,9 @@ system_value("instance_id", 1)
|
||||
system_value("base_instance", 1)
|
||||
system_value("draw_id", 1)
|
||||
system_value("sample_id", 1)
|
||||
# sample_id_no_per_sample is like sample_id but does not imply per-
|
||||
# sample shading. See the lower_helper_invocation option.
|
||||
system_value("sample_id_no_per_sample", 1)
|
||||
system_value("sample_pos", 2)
|
||||
system_value("sample_mask_in", 1)
|
||||
system_value("primitive_id", 1)
|
||||
|
Reference in New Issue
Block a user