Module: Mesa Branch: master Commit: fa56a3795f9f4b15013f2163193c54611fd2b8e0 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fa56a3795f9f4b15013f2163193c54611fd2b8e0
Author: Kenneth Graunke <[email protected]> Date: Mon Jun 3 11:41:37 2019 -0700 gallium: Drop lower_fmod64 from drivers that don't support doubles. Neither freedreno nor nv50 expose PIPE_CAP_DOUBLES, so there's no fmod64 to be lowered. Reviewed-by: Marek Olšák <[email protected]> --- src/freedreno/ir3/ir3_nir.c | 2 -- src/gallium/drivers/nouveau/nv50/nv50_screen.c | 1 - 2 files changed, 3 deletions(-) diff --git a/src/freedreno/ir3/ir3_nir.c b/src/freedreno/ir3/ir3_nir.c index 8d2eef94e57..888ce5a70f6 100644 --- a/src/freedreno/ir3/ir3_nir.c +++ b/src/freedreno/ir3/ir3_nir.c @@ -41,7 +41,6 @@ static const nir_shader_compiler_options options = { .lower_flrp64 = true, .lower_ffract = true, .lower_fmod32 = true, - .lower_fmod64 = true, .lower_fdiv = true, .lower_isign = true, .lower_ldexp = true, @@ -67,7 +66,6 @@ static const nir_shader_compiler_options options_a6xx = { .lower_flrp64 = true, .lower_ffract = true, .lower_fmod32 = true, - .lower_fmod64 = true, .lower_fdiv = true, .lower_isign = true, .lower_ldexp = true, diff --git a/src/gallium/drivers/nouveau/nv50/nv50_screen.c b/src/gallium/drivers/nouveau/nv50/nv50_screen.c index 5e14ac2124d..a17c0a9352b 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_screen.c +++ b/src/gallium/drivers/nouveau/nv50/nv50_screen.c @@ -882,7 +882,6 @@ static const nir_shader_compiler_options nir_options = { .lower_flrp32 = true, .lower_flrp64 = true, .lower_fpow = false, - .lower_fmod64 = true, .lower_uadd_carry = true, .lower_usub_borrow = true, .lower_ffract = true, _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
