From fa56a3795f9f4b15013f2163193c54611fd2b8e0 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Mon, 3 Jun 2019 11:41:37 -0700 Subject: gallium: Drop lower_fmod64 from drivers that don't support doubles. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Neither freedreno nor nv50 expose PIPE_CAP_DOUBLES, so there's no fmod64 to be lowered. Reviewed-by: Marek Olšák --- src/gallium/drivers/nouveau/nv50/nv50_screen.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/gallium/drivers/nouveau/nv50') 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, -- cgit v1.2.3