Mesa (main): lima: fixup nir indirect unroll options to match gallium CAP
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat Jun 4 16:47:32 UTC 2022
Module: Mesa
Branch: main
Commit: 9e1ce5de40e73d13b6aa8b3b5e8f6dbe8750e572
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9e1ce5de40e73d13b6aa8b3b5e8f6dbe8750e572
Author: Timothy Arceri <tarceri at itsqueeze.com>
Date: Wed May 18 16:33:37 2022 +1000
lima: fixup nir indirect unroll options to match gallium CAP
Reviewed-by: Emma Anholt <emma at anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16366>
---
src/gallium/drivers/lima/lima_program.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/lima/lima_program.c b/src/gallium/drivers/lima/lima_program.c
index 9e43db13ea7..d971f01b35f 100644
--- a/src/gallium/drivers/lima/lima_program.c
+++ b/src/gallium/drivers/lima/lima_program.c
@@ -61,7 +61,7 @@ static const nir_shader_compiler_options vs_nir_options = {
.lower_fceil = true,
.lower_insert_byte = true,
.lower_insert_word = true,
- .force_indirect_unrolling = (nir_var_shader_in | nir_var_shader_out | nir_var_function_temp),
+ .force_indirect_unrolling = nir_var_all,
.force_indirect_unrolling_sampler = true,
.lower_varying_from_uniform = true,
};
@@ -83,7 +83,7 @@ static const nir_shader_compiler_options fs_nir_options = {
.lower_insert_word = true,
.lower_bitops = true,
.lower_vector_cmp = true,
- .force_indirect_unrolling = (nir_var_shader_in | nir_var_shader_out | nir_var_function_temp),
+ .force_indirect_unrolling = (nir_var_shader_out | nir_var_function_temp),
.force_indirect_unrolling_sampler = true,
.lower_varying_from_uniform = true,
};
More information about the mesa-commit
mailing list