From: Rob Clark Date: Sat, 14 May 2016 17:40:48 +0000 (-0400) Subject: freedreno/ir3: lower fdiv X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f8840f471deb86ee8a545255cea0a889557846e9;p=mesa.git freedreno/ir3: lower fdiv Not sure how we didn't hit this already, but since we want fdiv converted into mul + rcp, we should set this. Signed-off-by: Rob Clark --- diff --git a/src/gallium/drivers/freedreno/ir3/ir3_nir.c b/src/gallium/drivers/freedreno/ir3/ir3_nir.c index eda8ce20472..9365e33faf0 100644 --- a/src/gallium/drivers/freedreno/ir3/ir3_nir.c +++ b/src/gallium/drivers/freedreno/ir3/ir3_nir.c @@ -42,6 +42,7 @@ static const nir_shader_compiler_options options = { .lower_flrp32 = true, .lower_flrp64 = true, .lower_ffract = true, + .lower_fdiv = true, .fuse_ffma = true, .native_integers = true, .vertex_id_zero_based = true,