glsl: (trivial) fix type typo

Accidentally changed the type of a constant in
df33f11b39 causing assertion failures.
This commit is contained in:
Roland Scheidegger 2016-12-06 17:44:21 +01:00
parent a41f5dcb14
commit 9c95ad24cc
1 changed files with 1 additions and 1 deletions

View File

@ -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);