aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErico Nunes <[email protected]>2019-12-10 19:08:29 +0100
committerErico Nunes <[email protected]>2019-12-11 15:55:48 +0100
commit7701b7b7ee9be650077c6209f47e48a78cb3158b (patch)
treee02cb7fbe619065f4851a8eb3dadbd29ed9ef9b9
parent11f736a6f9c516af9405ffac0795af4cbebaa295 (diff)
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 <[email protected]> Reviewed-by: Vasily Khoruzhick <[email protected]>
-rw-r--r--src/gallium/drivers/lima/lima_program.c1
1 files changed, 1 insertions, 0 deletions
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,
};