From 3a1bbd6a0a85f866e4325eeb5e18694c51d3d36b Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Tue, 17 May 2016 09:52:24 -0400 Subject: freedreno/ir3: need to lower fmod too Signed-off-by: Rob Clark --- src/gallium/drivers/freedreno/ir3/ir3_nir.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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, -- cgit v1.2.3