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:
parent
82d84a35a1
commit
a2332d963d
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue