mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 01:00:10 +01:00
i965/fs: Implement ir_u2f opcode.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
8de3314f63
commit
4bc5bfb641
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue