OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e16a7b
)
ir_to_mesa: Note which of our expr ops are unsupported 1.30 features.
author
Eric Anholt
<eric@anholt.net>
Wed, 30 Jun 2010 23:18:06 +0000
(16:18 -0700)
committer
Eric Anholt
<eric@anholt.net>
Wed, 30 Jun 2010 23:18:06 +0000
(16:18 -0700)
src/mesa/shader/ir_to_mesa.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/shader/ir_to_mesa.cpp
b/src/mesa/shader/ir_to_mesa.cpp
index
ed1373b
..
6542441
100644
(file)
--- 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");