projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
946193a
)
lima/ppir: lower ffma in ppir
author
Andreas Baierl
<ichgeh@imkreisrum.de>
Mon, 17 Jun 2019 15:16:24 +0000
(17:16 +0200)
committer
Qiang Yu
<yuq825@gmail.com>
Mon, 24 Jun 2019 11:57:57 +0000
(11:57 +0000)
Since we cannot handle ffma in ppir, lower it on nir level already.
Signed-off-by: Andreas Baierl <ichgeh@imkreisrum.de>
Reviewed-by: Qiang Yu <yuq825@gmail.com>
src/gallium/drivers/lima/lima_program.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/lima/lima_program.c
b/src/gallium/drivers/lima/lima_program.c
index 3247892c77340cc48acfe791922b59a69cf7ab2c..7adc3ba0a71b60025823d2be8d7584d445a62b42 100644
(file)
--- 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,