glsl: (trivial) fix type typo
Accidentally changed the type of a constant in
df33f11b39
causing assertion failures.
This commit is contained in:
parent
a41f5dcb14
commit
9c95ad24cc
|
@ -459,7 +459,7 @@ lower_instructions_visitor::ldexp_to_arith(ir_expression *ir)
|
|||
* pass.
|
||||
*/
|
||||
if (!lowering(INSERT_TO_SHIFTS)) {
|
||||
ir_constant *exp_width = new(ir) ir_constant(8u, vec_elem);
|
||||
ir_constant *exp_width = new(ir) ir_constant(8, vec_elem);
|
||||
ir->operation = ir_unop_bitcast_i2f;
|
||||
ir->operands[0] = bitfield_insert(bitcast_f2i(x), resulting_biased_exp,
|
||||
exp_shift_clone, exp_width);
|
||||
|
|
Loading…
Reference in New Issue