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@anholt.net>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11775>
This commit is contained in:
Jason Ekstrand 2021-07-07 17:06:16 -05:00 committed by Marge Bot
parent 82d84a35a1
commit a2332d963d
1 changed files with 1 additions and 3 deletions

View File

@ -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);
}