From: Rob Clark Date: Tue, 17 May 2016 13:52:24 +0000 (-0400) Subject: freedreno/ir3: need to lower fmod too X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3a1bbd6a0a85f866e4325eeb5e18694c51d3d36b;p=mesa.git freedreno/ir3: need to lower fmod too 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 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,