summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/ir_to_mesa.cpp
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-06-30 16:18:06 -0700
committerEric Anholt <[email protected]>2010-06-30 16:18:06 -0700
commite64a4aaacbc682f24180dff3627b84861844476d (patch)
treeb9b7dca8596a6b4814428f71f4e0538bdab0a093 /src/mesa/shader/ir_to_mesa.cpp
parent4e16a7b526bb4736cd11e512009cf6532b2d1dc5 (diff)
ir_to_mesa: Note which of our expr ops are unsupported 1.30 features.
Diffstat (limited to 'src/mesa/shader/ir_to_mesa.cpp')
-rw-r--r--src/mesa/shader/ir_to_mesa.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mesa/shader/ir_to_mesa.cpp b/src/mesa/shader/ir_to_mesa.cpp
index ed1373b6d96..6542441a8c3 100644
--- a/src/mesa/shader/ir_to_mesa.cpp
+++ b/src/mesa/shader/ir_to_mesa.cpp
@@ -786,6 +786,17 @@ ir_to_mesa_visitor::visit(ir_expression *ir)
case ir_binop_pow:
ir_to_mesa_emit_scalar_op2(ir, OPCODE_POW, result_dst, op[0], op[1]);
break;
+
+ case ir_unop_bit_not:
+ case ir_unop_u2f:
+ case ir_binop_lshift:
+ case ir_binop_rshift:
+ case ir_binop_bit_and:
+ case ir_binop_bit_xor:
+ case ir_binop_bit_or:
+ assert(!"GLSL 1.30 features unsupported");
+ break;
+
default:
ir_print_visitor v;
printf("Failed to get tree for expression:\n");