freedreno/ir3: turn on [iu]mul_high

Which also requires uadd_carry lowering

Until recently this was lowered in glsl ir so it went unnoticed that we
weren't lowering it.

Fixes: 1d8994a63b glsl: [u/i]mulExtended optimization for GLSL
Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
Rob Clark 2019-03-08 18:42:22 -05:00
parent 53083e4fbc
commit ad25948261
1 changed files with 4 additions and 0 deletions

View File

@ -42,6 +42,8 @@ static const nir_shader_compiler_options options = {
.lower_fdiv = true,
.lower_isign = true,
.lower_ldexp = true,
.lower_uadd_carry = true,
.lower_mul_high = true,
.fuse_ffma = true,
.native_integers = true,
.vertex_id_zero_based = true,
@ -63,6 +65,8 @@ static const nir_shader_compiler_options options_a6xx = {
.lower_fdiv = true,
.lower_isign = true,
.lower_ldexp = true,
.lower_uadd_carry = true,
.lower_mul_high = true,
.fuse_ffma = true,
.native_integers = true,
.vertex_id_zero_based = false,