mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-22 21:48:09 +02:00
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:
parent
1079d7ccd6
commit
ab9650d5aa
1 changed files with 0 additions and 12 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue