summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-06-03 11:41:37 -0700
committerKenneth Graunke <[email protected]>2019-06-05 16:45:12 -0700
commitfa56a3795f9f4b15013f2163193c54611fd2b8e0 (patch)
tree4a26f4ff351e8def2f3b391e52ef4cd147d8993f /src
parente8a60e5d50622af558301873de6bd4551ffdc0e3 (diff)
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]>
Diffstat (limited to 'src')
-rw-r--r--src/freedreno/ir3/ir3_nir.c2
-rw-r--r--src/gallium/drivers/nouveau/nv50/nv50_screen.c1
2 files changed, 0 insertions, 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,