pan/bi: Remove redundant TEXC opcode check

Already checked in emit_tex

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8774>
This commit is contained in:
Alyssa Rosenzweig 2021-01-27 11:21:48 -05:00
parent 1079d7ccd6
commit ab9650d5aa

View file

@ -1787,18 +1787,6 @@ bi_emit_texc(bi_builder *b, nir_tex_instr *instr)
/* TODO: support more with other encodings */
assert(instr->sampler_index < 16);
/* TODO: support more ops */
switch (instr->op) {
case nir_texop_tex:
case nir_texop_txl:
case nir_texop_txb:
case nir_texop_txf:
case nir_texop_txf_ms:
break;
default:
unreachable("Unsupported texture op");
}
struct bifrost_texture_operation desc = {
.sampler_index_or_mode = instr->sampler_index,
.index = instr->texture_index,