From: Andreas Baierl Date: Mon, 17 Jun 2019 15:16:24 +0000 (+0200) Subject: lima/ppir: lower ffma in ppir X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0cb9ce12fdcbafa913053849defc561f02aa6d10;p=mesa.git lima/ppir: lower ffma in ppir Since we cannot handle ffma in ppir, lower it on nir level already. Signed-off-by: Andreas Baierl Reviewed-by: Qiang Yu --- diff --git a/src/gallium/drivers/lima/lima_program.c b/src/gallium/drivers/lima/lima_program.c index 3247892c773..7adc3ba0a71 100644 --- a/src/gallium/drivers/lima/lima_program.c +++ b/src/gallium/drivers/lima/lima_program.c @@ -55,6 +55,7 @@ static const nir_shader_compiler_options vs_nir_options = { }; static const nir_shader_compiler_options fs_nir_options = { + .lower_ffma = true, .lower_fpow = true, .lower_fdiv = true, .lower_fmod = true,