From 0cb9ce12fdcbafa913053849defc561f02aa6d10 Mon Sep 17 00:00:00 2001 From: Andreas Baierl Date: Mon, 17 Jun 2019 17:16:24 +0200 Subject: [PATCH] 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 --- src/gallium/drivers/lima/lima_program.c | 1 + 1 file changed, 1 insertion(+) 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, -- 2.30.2