freedreno/ir3: need to lower fmod too
authorRob Clark <robclark@freedesktop.org>
Tue, 17 May 2016 13:52:24 +0000 (09:52 -0400)
committerRob Clark <robclark@freedesktop.org>
Fri, 20 May 2016 15:13:50 +0000 (11:13 -0400)
Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/ir3/ir3_nir.c

index 9365e33faf08353411d5d8f8d749f0ced5e45745..58bef169ad09bbcad92d88afcda6eb363a833f69 100644 (file)
@@ -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,