lima: fixup nir indirect unroll options to match gallium CAP

Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16366>
This commit is contained in:
Timothy Arceri
2022-05-18 16:33:37 +10:00
committed by Marge Bot
parent 53df6dfb5b
commit 9e1ce5de40
+2 -2
View File
@@ -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,
};