Revert "nir: replace lower_ffma and fuse_ffma with has_ffma"
This reverts commit939ddf3f67
. Intel has a separate pass for fusing FFMAs selectively. We split these flags in commit1b72c31e1f
and the reasoning still stands. The patch being reverted was just a cleanup, so there should be no issue with reverting it. Acked-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6849>
This commit is contained in:
@@ -42,6 +42,9 @@
|
||||
#include "ir/lima_ir.h"
|
||||
|
||||
static const nir_shader_compiler_options vs_nir_options = {
|
||||
.lower_ffma16 = true,
|
||||
.lower_ffma32 = true,
|
||||
.lower_ffma64 = true,
|
||||
.lower_fpow = true,
|
||||
.lower_ffract = true,
|
||||
.lower_fdiv = true,
|
||||
@@ -59,6 +62,9 @@ static const nir_shader_compiler_options vs_nir_options = {
|
||||
};
|
||||
|
||||
static const nir_shader_compiler_options fs_nir_options = {
|
||||
.lower_ffma16 = true,
|
||||
.lower_ffma32 = true,
|
||||
.lower_ffma64 = true,
|
||||
.lower_fpow = true,
|
||||
.lower_fdiv = true,
|
||||
.lower_fmod = true,
|
||||
|
Reference in New Issue
Block a user