[Mesa-dev] [PATCH 8/8] i965/fs: Implement ir_u2f opcode.
Kenneth Graunke
kenneth at whitecape.org
Wed Sep 7 07:39:17 PDT 2011
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
---
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
This might seem totally random, but it's kind of related, honest :)
I was trying to get Paul's uint tests to run, but piglit_Uniform1ui is
dying. I think it's because we don't support GL 3, so we don't
actually export that API function.
diff --git a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
index 4c2a449..9056ca2 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
@@ -366,6 +366,7 @@ fs_visitor::visit(ir_expression *ir)
this->result = op[0];
break;
case ir_unop_i2f:
+ case ir_unop_u2f:
case ir_unop_b2f:
case ir_unop_b2i:
case ir_unop_f2i:
@@ -449,7 +450,6 @@ fs_visitor::visit(ir_expression *ir)
inst = emit(BRW_OPCODE_OR, this->result, op[0], op[1]);
break;
- case ir_unop_u2f:
case ir_binop_lshift:
case ir_binop_rshift:
assert(!"GLSL 1.30 features unsupported");
--
1.7.6.1
More information about the mesa-dev
mailing list