From f8840f471deb86ee8a545255cea0a889557846e9 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Sat, 14 May 2016 13:40:48 -0400 Subject: 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 --- src/gallium/drivers/freedreno/ir3/ir3_nir.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/freedreno/ir3') 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, -- cgit v1.2.3