From 7701b7b7ee9be650077c6209f47e48a78cb3158b Mon Sep 17 00:00:00 2001 From: Erico Nunes Date: Tue, 10 Dec 2019 19:08:29 +0100 Subject: [PATCH] lima/ppir: enable lower_fdph Otherwise we may lower some fdot to fdph which is not implemented in pp. Fixes #2126 Signed-off-by: Erico Nunes Reviewed-by: Vasily Khoruzhick --- 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 a057cdbdabe..071a736624d 100644 --- a/src/gallium/drivers/lima/lima_program.c +++ b/src/gallium/drivers/lima/lima_program.c @@ -68,6 +68,7 @@ static const nir_shader_compiler_options fs_nir_options = { .lower_fsign = true, .lower_rotate = true, .lower_fdot = true, + .lower_fdph = true, .lower_bitops = true, .lower_vector_cmp = true, }; -- 2.30.2