diff options
author | Andreas Baierl <[email protected]> | 2019-06-17 17:16:24 +0200 |
---|---|---|
committer | Qiang Yu <[email protected]> | 2019-06-24 11:57:57 +0000 |
commit | 0cb9ce12fdcbafa913053849defc561f02aa6d10 (patch) | |
tree | d1ffe163b868fda2ae49c9d43b726166eef382a0 /src/gallium/drivers | |
parent | 946193ae00832fd26d883a1df7d695e64db6b1a5 (diff) |
lima/ppir: lower ffma in ppir
Since we cannot handle ffma in ppir, lower it on nir level already.
Signed-off-by: Andreas Baierl <[email protected]>
Reviewed-by: Qiang Yu <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/lima/lima_program.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, |