summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-03-07 02:01:08 +0100
committerMarek Olšák <[email protected]>2017-03-15 18:17:41 +0100
commit46cbb00f53f7764004cad59ba12b6ffd7e9f79a2 (patch)
treefddb62617b62957cb9cdc140d93326212b4db379 /src/mesa
parentcca0389c729a7aae1d9793922592358cf683eed8 (diff)
glsl_to_tgsi: remove a redundant statement
it's the same as the last "else".
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_glsl_to_tgsi.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
index 0757d141fcc..355f88ae9a4 100644
--- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
+++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
@@ -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) {