summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/ir3
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2016-05-14 13:40:48 -0400
committerRob Clark <[email protected]>2016-05-15 17:25:48 -0400
commitf8840f471deb86ee8a545255cea0a889557846e9 (patch)
tree23ac541bd8a69fcdcfd6b763119dbcf220956461 /src/gallium/drivers/freedreno/ir3
parent53cde5e295077e2a51df3a3d0db474cff5c10313 (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/ir3')
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3_nir.c1
1 files changed, 1 insertions, 0 deletions
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,