summaryrefslogtreecommitdiff
path: root/src/mesa/program
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2010-11-17 13:59:17 -0800
committerKenneth Graunke <kenneth@whitecape.org>2010-11-17 13:59:17 -0800
commit9935fe705df44bb633039ca74332cc0c126ccc30 (patch)
tree84b484f5f7a5fca90c05a84a7b28f4a6be0f64f7 /src/mesa/program
parentaf1cba2260c3546ba89d47c9612d66f513e69842 (diff)
glsl: Remove the ir_binop_cross opcode.
Diffstat (limited to 'src/mesa/program')
-rw-r--r--src/mesa/program/ir_to_mesa.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp
index f45bbf5582..0458625ab0 100644
--- a/src/mesa/program/ir_to_mesa.cpp
+++ b/src/mesa/program/ir_to_mesa.cpp
@@ -1058,10 +1058,6 @@ ir_to_mesa_visitor::visit(ir_expression *ir)
ir->operands[0]->type->vector_elements);
break;
- case ir_binop_cross:
- ir_to_mesa_emit_op2(ir, OPCODE_XPD, result_dst, op[0], op[1]);
- break;
-
case ir_unop_sqrt:
/* sqrt(x) = x * rsq(x). */
ir_to_mesa_emit_scalar_op1(ir, OPCODE_RSQ, result_dst, op[0]);