From 2288b59ddc4925aaa09b416bdd6d95f4f24199db Mon Sep 17 00:00:00 2001 From: Erico Nunes Date: Tue, 16 Apr 2019 22:49:51 +0200 Subject: [PATCH] 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 --- src/gallium/drivers/lima/lima_program.c | 1 + 1 file changed, 1 insertion(+) 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 * -- 2.30.2