Mesa (main): ttn: Don't handle texop_txf_ms_mcs

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jul 23 16:25:50 UTC 2021


Module: Mesa
Branch: main
Commit: a2332d963df4d60863047ba77bb9cc6eedcf7924
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a2332d963df4d60863047ba77bb9cc6eedcf7924

Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Wed Jul  7 17:06:16 2021 -0500

ttn: Don't handle texop_txf_ms_mcs

It's an intel-specific opcode and will never come through TGSI.

Reviewed-by: Emma Anholt <emma at anholt.net>
Reviewed-by: Adam Jackson <ajax at redhat.com>
Reviewed-by: Alyssa Rosenzweig <alyssa at collabora.com>
Reviewed-by: Connor Abbott <cwabbott0 at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11775>

---

 src/gallium/auxiliary/nir/tgsi_to_nir.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/gallium/auxiliary/nir/tgsi_to_nir.c b/src/gallium/auxiliary/nir/tgsi_to_nir.c
index 4dfb15619e0..cf9a49bf329 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);
    }
 



More information about the mesa-commit mailing list