nir: split lower_ffma into lower_ffma16/32/64
AMD wants different behavior for each bit size Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6756>
This commit is contained in:
@@ -42,7 +42,9 @@
|
||||
#include "ir/lima_ir.h"
|
||||
|
||||
static const nir_shader_compiler_options vs_nir_options = {
|
||||
.lower_ffma = true,
|
||||
.lower_ffma16 = true,
|
||||
.lower_ffma32 = true,
|
||||
.lower_ffma64 = true,
|
||||
.lower_fpow = true,
|
||||
.lower_ffract = true,
|
||||
.lower_fdiv = true,
|
||||
@@ -60,7 +62,9 @@ static const nir_shader_compiler_options vs_nir_options = {
|
||||
};
|
||||
|
||||
static const nir_shader_compiler_options fs_nir_options = {
|
||||
.lower_ffma = true,
|
||||
.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