projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cca0389
)
glsl_to_tgsi: remove a redundant statement
author
Marek Olšák
<marek.olsak@amd.com>
Tue, 7 Mar 2017 01:01:08 +0000
(
02:01
+0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Wed, 15 Mar 2017 17:17:41 +0000
(18:17 +0100)
it's the same as the last "else".
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
index 0757d141fcc5a1b0ef5259d5eb310e81fd51a3b2..355f88ae9a4304645a97f9701789eb0c80b36a4c 100644
(file)
--- 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) {