glsl: (trivial) fix type typo
Accidentally changed the type of a constant in
df33f11b39
causing assertion failures.
This commit is contained in:
@@ -459,7 +459,7 @@ lower_instructions_visitor::ldexp_to_arith(ir_expression *ir)
|
|||||||
* pass.
|
* pass.
|
||||||
*/
|
*/
|
||||||
if (!lowering(INSERT_TO_SHIFTS)) {
|
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->operation = ir_unop_bitcast_i2f;
|
||||||
ir->operands[0] = bitfield_insert(bitcast_f2i(x), resulting_biased_exp,
|
ir->operands[0] = bitfield_insert(bitcast_f2i(x), resulting_biased_exp,
|
||||||
exp_shift_clone, exp_width);
|
exp_shift_clone, exp_width);
|
||||||
|
Reference in New Issue
Block a user