Commit 80bbdb14 authored by Dave Airlie's avatar Dave Airlie
Browse files

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: default avatarNicolai Hähnle <>
Reviewed-by: default avatarMarek Olšák <>
Signed-off-by: default avatarDave Airlie <>
parent 2c61594d
......@@ -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,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment