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:
@@ -1179,9 +1179,9 @@ struct pipe_resource *r600_resource_create_common(struct pipe_screen *screen,
|
||||
}
|
||||
|
||||
const struct nir_shader_compiler_options r600_nir_fs_options = {
|
||||
.has_ffma16 = true,
|
||||
.has_ffma32 = true,
|
||||
.has_ffma64 = true,
|
||||
.fuse_ffma16 = true,
|
||||
.fuse_ffma32 = true,
|
||||
.fuse_ffma64 = true,
|
||||
.lower_scmp = true,
|
||||
.lower_flrp32 = true,
|
||||
.lower_flrp64 = true,
|
||||
@@ -1205,9 +1205,9 @@ const struct nir_shader_compiler_options r600_nir_fs_options = {
|
||||
};
|
||||
|
||||
const struct nir_shader_compiler_options r600_nir_options = {
|
||||
.has_ffma16 = true,
|
||||
.has_ffma32 = true,
|
||||
.has_ffma64 = true,
|
||||
.fuse_ffma16 = true,
|
||||
.fuse_ffma32 = true,
|
||||
.fuse_ffma64 = true,
|
||||
.lower_scmp = true,
|
||||
.lower_flrp32 = true,
|
||||
.lower_flrp64 = true,
|
||||
|
Reference in New Issue
Block a user