Mesa (glsl-to-tgsi): glsl_to_tgsi: remove handling of XPD opcode in compile_tgsi_instruction()
Bryan Cain
bryanc at kemper.freedesktop.org
Sat Jun 25 01:48:16 UTC 2011
Module: Mesa
Branch: glsl-to-tgsi
Commit: 857f3973b457f41078af803e1c562cec3d4a6dce
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=857f3973b457f41078af803e1c562cec3d4a6dce
Author: Bryan Cain <bryancain3 at gmail.com>
Date: Thu Jun 23 19:53:37 2011 -0500
glsl_to_tgsi: remove handling of XPD opcode in compile_tgsi_instruction()
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 | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
index 6d76686..721ba28 100644
--- 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,
More information about the mesa-commit
mailing list