diff --git a/src/gallium/drivers/lima/lima_program.c b/src/gallium/drivers/lima/lima_program.c index 891c3d47f70..9f65b46d3ca 100644 --- a/src/gallium/drivers/lima/lima_program.c +++ b/src/gallium/drivers/lima/lima_program.c @@ -62,6 +62,7 @@ static const nir_shader_compiler_options vs_nir_options = { .lower_insert_byte = true, .lower_insert_word = true, .force_indirect_unrolling = (nir_var_shader_in | nir_var_shader_out | nir_var_function_temp), + .lower_varying_from_uniform = true, }; static const nir_shader_compiler_options fs_nir_options = { @@ -82,6 +83,7 @@ static const nir_shader_compiler_options fs_nir_options = { .lower_bitops = true, .lower_vector_cmp = true, .force_indirect_unrolling = (nir_var_shader_in | nir_var_shader_out | nir_var_function_temp), + .lower_varying_from_uniform = true, }; const void *