Mesa (master): lima/ppir: enable lower_fdph
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Dec 11 15:16:35 UTC 2019
Module: Mesa
Branch: master
Commit: 7701b7b7ee9be650077c6209f47e48a78cb3158b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7701b7b7ee9be650077c6209f47e48a78cb3158b
Author: Erico Nunes <nunes.erico at gmail.com>
Date: Tue Dec 10 19:08:29 2019 +0100
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 <nunes.erico at gmail.com>
Reviewed-by: Vasily Khoruzhick <anarsoul at gmail.com>
---
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,
};
More information about the mesa-commit
mailing list