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@imkreisrum.de>
Reviewed-by: Qiang Yu <yuq825@gmail.com>
This commit is contained in:
Andreas Baierl 2019-06-17 17:16:24 +02:00 committed by Qiang Yu
parent 946193ae00
commit 0cb9ce12fd
1 changed files with 1 additions and 0 deletions

View File

@ -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,