From: Erico Nunes Date: Tue, 16 Apr 2019 20:49:51 +0000 (+0200) Subject: lima: enable nir fsign lowering in ppir X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2288b59ddc4925aaa09b416bdd6d95f4f24199db;p=mesa.git 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 Reviewed-by: Eric Anholt --- diff --git a/src/gallium/drivers/lima/lima_program.c b/src/gallium/drivers/lima/lima_program.c index b7f3658d521..72f3a6f10ad 100644 --- a/src/gallium/drivers/lima/lima_program.c +++ b/src/gallium/drivers/lima/lima_program.c @@ -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 *