summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2016-05-17 09:52:24 -0400
committerRob Clark <[email protected]>2016-05-20 11:13:50 -0400
commit3a1bbd6a0a85f866e4325eeb5e18694c51d3d36b (patch)
tree5b27ea0ffa1263fba5ee3a29baa9ee10652f631e /src/gallium
parenta2d28ddc016af5e819f4b8648a64893b331095b2 (diff)
freedreno/ir3: need to lower fmod too
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3_nir.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_nir.c b/src/gallium/drivers/freedreno/ir3/ir3_nir.c
index 9365e33faf0..58bef169ad0 100644
--- a/src/gallium/drivers/freedreno/ir3/ir3_nir.c
+++ b/src/gallium/drivers/freedreno/ir3/ir3_nir.c
@@ -42,6 +42,8 @@ static const nir_shader_compiler_options options = {
.lower_flrp32 = true,
.lower_flrp64 = true,
.lower_ffract = true,
+ .lower_fmod32 = true,
+ .lower_fmod64 = true,
.lower_fdiv = true,
.fuse_ffma = true,
.native_integers = true,