mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 10:10:09 +01:00
ir_to_mesa: Add missing no-op type conversions.
Fixes glsl-fs-step.
This commit is contained in:
parent
02d615306e
commit
d6ebe9b16b
1 changed files with 2 additions and 0 deletions
|
|
@ -756,6 +756,8 @@ ir_to_mesa_visitor::visit(ir_expression *ir)
|
|||
ir_to_mesa_emit_scalar_op1(ir, OPCODE_RSQ, result_dst, op[0]);
|
||||
break;
|
||||
case ir_unop_i2f:
|
||||
case ir_unop_b2f:
|
||||
case ir_unop_b2i:
|
||||
/* Mesa IR lacks types, ints are stored as truncated floats. */
|
||||
result_src = op[0];
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue