Mesa (master): i965/fs: Implement ir_u2f opcode.
Kenneth Graunke
kwg at kemper.freedesktop.org
Wed Sep 7 17:43:58 UTC 2011
Module: Mesa
Branch: master
Commit: 4bc5bfb641bce931bf35f0e78ec2b44263d152ba
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4bc5bfb641bce931bf35f0e78ec2b44263d152ba
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Fri Sep 2 10:50:40 2011 -0700
i965/fs: Implement ir_u2f opcode.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Eric Anholt <eric at anholt.net>
---
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
index fc9d0e7..ba7ee2f 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
@@ -360,6 +360,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:
@@ -443,7 +444,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");
More information about the mesa-commit
mailing list