summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/panfrost/midgard/midgard_compile.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/panfrost/midgard/midgard_compile.h b/src/gallium/drivers/panfrost/midgard/midgard_compile.h
index 9e6ac02f84f..ba9e74adef3 100644
--- a/src/gallium/drivers/panfrost/midgard/midgard_compile.h
+++ b/src/gallium/drivers/panfrost/midgard/midgard_compile.h
@@ -92,7 +92,6 @@ static const nir_shader_compiler_options midgard_nir_options = {
.lower_flrp64 = true,
.lower_ffract = true,
.lower_fmod32 = true,
- .lower_fmod64 = true,
.lower_fdiv = true,
.lower_idiv = true,
.lower_isign = true,
@@ -108,6 +107,8 @@ static const nir_shader_compiler_options midgard_nir_options = {
.vertex_id_zero_based = true,
.lower_extract_byte = true,
.lower_extract_word = true,
+
+ .lower_doubles_options = nir_lower_dmod,
};
#endif