nir: Fix lowering terminology of compute system values: "from"->"to".
This is to match other NIR terminology. Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15103>
This commit is contained in:
@@ -91,7 +91,7 @@ static const nir_shader_compiler_options bifrost_nir_options = {
|
||||
|
||||
.has_cs_global_id = true,
|
||||
.vertex_id_zero_based = true,
|
||||
.lower_cs_local_index_from_id = true,
|
||||
.lower_cs_local_index_to_id = true,
|
||||
.max_unroll_iterations = 32,
|
||||
.force_indirect_unrolling = (nir_var_shader_in | nir_var_shader_out | nir_var_function_temp),
|
||||
};
|
||||
|
||||
@@ -94,7 +94,7 @@ static const nir_shader_compiler_options midgard_nir_options = {
|
||||
|
||||
.vertex_id_zero_based = true,
|
||||
.has_cs_global_id = true,
|
||||
.lower_cs_local_index_from_id = true,
|
||||
.lower_cs_local_index_to_id = true,
|
||||
.max_unroll_iterations = 32,
|
||||
.force_indirect_unrolling = (nir_var_shader_in | nir_var_shader_out | nir_var_function_temp),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user