lima: enable nir fsign lowering in ppir

The mali utgard pp doesn't support a sign instruction.
Use the nir lowering function for fsign to implement fsign in ppir.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Erico Nunes 2019-04-16 22:49:51 +02:00 committed by Eric Anholt
parent 4577eb7b7c
commit 2288b59ddc
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@ static const nir_shader_compiler_options fs_nir_options = {
.lower_sub = true,
.lower_flrp32 = true,
.lower_flrp64 = true,
.lower_fsign = true,
};
const void *