diff options
author | Roland Scheidegger <[email protected]> | 2016-12-06 17:44:21 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2016-12-06 17:44:21 +0100 |
commit | 9c95ad24ccc61bcd2792c8bffd0a74355085927f (patch) | |
tree | 05813425530c31504ce5d2525e41916cc17de249 /src/compiler/glsl | |
parent | a41f5dcb141a11ca5ca0c765c305027b0f0b609e (diff) |
glsl: (trivial) fix type typo
Accidentally changed the type of a constant in
df33f11b39abf313a0db7b9fefaf739b88133161 causing assertion failures.
Diffstat (limited to 'src/compiler/glsl')
-rw-r--r-- | src/compiler/glsl/lower_instructions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/lower_instructions.cpp b/src/compiler/glsl/lower_instructions.cpp index 3e25e2b91bf..9fc83d1583f 100644 --- a/src/compiler/glsl/lower_instructions.cpp +++ b/src/compiler/glsl/lower_instructions.cpp @@ -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); |