ir_to_mesa: Add support for ir_unop_f2u to ir_to_mesa backend.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
@@ -1400,6 +1400,7 @@ ir_to_mesa_visitor::visit(ir_expression *ir)
|
|||||||
result_src = op[0];
|
result_src = op[0];
|
||||||
break;
|
break;
|
||||||
case ir_unop_f2i:
|
case ir_unop_f2i:
|
||||||
|
case ir_unop_f2u:
|
||||||
emit(ir, OPCODE_TRUNC, result_dst, op[0]);
|
emit(ir, OPCODE_TRUNC, result_dst, op[0]);
|
||||||
break;
|
break;
|
||||||
case ir_unop_f2b:
|
case ir_unop_f2b:
|
||||||
|
Reference in New Issue
Block a user