diff options
author | Timothy Arceri <[email protected]> | 2018-01-19 21:52:24 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-01-23 09:11:21 +1100 |
commit | c6a0ce7e5479f9bb8ed6135df685b0e34681c189 (patch) | |
tree | e291597477023021b153c17e51a4dbf042eb58e1 | |
parent | 9131e6d3c2dcc30260e23f2232b44c8cffc6f315 (diff) |
radeonsi/nir: add nir_intrinsic_load_sample_mask_in to ir scan
Fixes a bunch of ARB_sample_shading piglit tests.
Reviewed-by: Nicolai Hähnle <[email protected]>
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader_nir.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader_nir.c b/src/gallium/drivers/radeonsi/si_shader_nir.c index 9a15271bb01..56594fcd0e2 100644 --- a/src/gallium/drivers/radeonsi/si_shader_nir.c +++ b/src/gallium/drivers/radeonsi/si_shader_nir.c @@ -98,6 +98,9 @@ static void scan_instruction(struct tgsi_shader_info *info, case nir_intrinsic_load_primitive_id: info->uses_primid = 1; break; + case nir_intrinsic_load_sample_mask_in: + info->reads_samplemask = true; + break; case nir_intrinsic_load_tess_level_inner: case nir_intrinsic_load_tess_level_outer: info->reads_tess_factors = true; |