glsl_to_tgsi: remove a redundant statement

it's the same as the last "else".
This commit is contained in:
Marek Olšák 2017-03-07 02:01:08 +01:00
parent cca0389c72
commit 46cbb00f53
1 changed files with 0 additions and 2 deletions

View File

@ -4372,8 +4372,6 @@ glsl_to_tgsi_visitor::visit(ir_texture *ir)
inst = emit_asm(ir, opcode, result_dst, lod_info);
} else if (opcode == TGSI_OPCODE_TXQS) {
inst = emit_asm(ir, opcode, result_dst);
} else if (opcode == TGSI_OPCODE_TXF) {
inst = emit_asm(ir, opcode, result_dst, coord);
} else if (opcode == TGSI_OPCODE_TXL2 || opcode == TGSI_OPCODE_TXB2) {
inst = emit_asm(ir, opcode, result_dst, coord, lod_info);
} else if (opcode == TGSI_OPCODE_TEX2) {