From: Jason Ekstrand Date: Wed, 7 Jul 2021 22:06:16 +0000 (-0500) Subject: ttn: Don't handle texop_txf_ms_mcs X-Git-Tag: upstream/22.3.5~19970 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a2332d963df4d60863047ba77bb9cc6eedcf7924;p=platform%2Fupstream%2Fmesa.git ttn: Don't handle texop_txf_ms_mcs It's an intel-specific opcode and will never come through TGSI. Reviewed-by: Emma Anholt Reviewed-by: Adam Jackson Reviewed-by: Alyssa Rosenzweig Reviewed-by: Connor Abbott Part-of: --- diff --git a/src/gallium/auxiliary/nir/tgsi_to_nir.c b/src/gallium/auxiliary/nir/tgsi_to_nir.c index 4dfb156..cf9a49b 100644 --- a/src/gallium/auxiliary/nir/tgsi_to_nir.c +++ b/src/gallium/auxiliary/nir/tgsi_to_nir.c @@ -1258,9 +1258,7 @@ get_sampler_var(struct ttn_compile *c, int binding, /* Record textures used */ BITSET_SET(c->build.shader->info.textures_used, binding); - if (op == nir_texop_txf || - op == nir_texop_txf_ms || - op == nir_texop_txf_ms_mcs) + if (op == nir_texop_txf || op == nir_texop_txf_ms) BITSET_SET(c->build.shader->info.textures_used_by_txf, binding); }