Mesa (master): lima/ppir: lower ffma in ppir
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Jun 24 12:08:09 UTC 2019
Module: Mesa
Branch: master
Commit: 0cb9ce12fdcbafa913053849defc561f02aa6d10
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0cb9ce12fdcbafa913053849defc561f02aa6d10
Author: Andreas Baierl <ichgeh at imkreisrum.de>
Date: Mon Jun 17 17:16:24 2019 +0200
lima/ppir: lower ffma in ppir
Since we cannot handle ffma in ppir, lower it on nir level already.
Signed-off-by: Andreas Baierl <ichgeh at imkreisrum.de>
Reviewed-by: Qiang Yu <yuq825 at gmail.com>
---
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,
More information about the mesa-commit
mailing list