From 3d044b1b91fbee5af754c2b8df13a3f26cb74ea5 Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Fri, 24 Apr 2026 03:34:15 +0200 Subject: [PATCH] softpipe: keep weak_ffmas around Reviewed-by: Georg Lehmann Part-of: --- src/gallium/drivers/softpipe/sp_screen.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c index 93023415333..0bf64d994cf 100644 --- a/src/gallium/drivers/softpipe/sp_screen.c +++ b/src/gallium/drivers/softpipe/sp_screen.c @@ -78,6 +78,12 @@ static const nir_shader_compiler_options sp_compiler_options = { .fdot_replicates = true, .fuse_ffma32 = true, .fuse_ffma64 = true, + .float_mul_add32 = + nir_float_muladd_support_has_fmad | + nir_float_muladd_support_fuse, + .float_mul_add64 = + nir_float_muladd_support_has_fmad | + nir_float_muladd_support_fuse, .lower_extract_byte = true, .lower_extract_word = true, .lower_insert_byte = true,