[Mesa-dev] [PATCH] radeonsi/nir: add nir_intrinsic_load_sample_mask_in to ir scan
Nicolai Hähnle
nhaehnle at gmail.com
Mon Jan 22 13:11:37 UTC 2018
On 19.01.2018 12:03, Timothy Arceri wrote:
> Fixes a bunch of ARB_sample_shading piglit tests.
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
> ---
> src/gallium/drivers/radeonsi/si_shader_nir.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/src/gallium/drivers/radeonsi/si_shader_nir.c b/src/gallium/drivers/radeonsi/si_shader_nir.c
> index a9e852c0bc..4455322392 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;
>
--
Lerne, wie die Welt wirklich ist,
Aber vergiss niemals, wie sie sein sollte.
More information about the mesa-dev
mailing list