mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-23 18:20:30 +01:00
radeonsi: lower ffma in nir to mad.
This lowers ffma to a * b + c. This seems like it should keep Marek happiest, so we'd never get to the fma instruction emission code. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
2c61594d84
commit
80bbdb1483
1 changed files with 1 additions and 0 deletions
|
|
@ -795,6 +795,7 @@ static const struct nir_shader_compiler_options nir_options = {
|
|||
.lower_fsat = true,
|
||||
.lower_fdiv = true,
|
||||
.lower_sub = true,
|
||||
.lower_ffma = true,
|
||||
.lower_pack_snorm_2x16 = true,
|
||||
.lower_pack_snorm_4x8 = true,
|
||||
.lower_pack_unorm_2x16 = true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue