projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b881ad
)
glsl_to_tgsi: remove handling of XPD opcode in compile_tgsi_instruction()
author
Bryan Cain
<bryancain3@gmail.com>
Fri, 24 Jun 2011 00:53:37 +0000
(19:53 -0500)
committer
Bryan Cain
<bryancain3@gmail.com>
Mon, 1 Aug 2011 22:59:08 +0000
(17:59 -0500)
The opcode is never emitted by the glsl_to_tgsi_visitor, so its special case in
compile_tgsi_instruction() was dead code.
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 6d76686ab5db9db70118dae4abd55e65a6be07b5..721ba28d61f5ff58efc02d0908952923b0e1971f 100644
(file)
--- a/
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
+++ b/
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
@@
-3653,14
+3653,6
@@
compile_tgsi_instruction(struct st_translate *t,
src, num_src );
break;
- case TGSI_OPCODE_XPD:
- dst[0] = ureg_writemask(dst[0], TGSI_WRITEMASK_XYZ );
- ureg_insn( ureg,
- inst->op,
- dst, num_dst,
- src, num_src );
- break;
-
default:
ureg_insn( ureg,
inst->op,