mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
nir: return progress from nir_lower_io_to_scalar
oversight? Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19399>
This commit is contained in:
parent
9a4641cf6b
commit
ec38758e86
2 changed files with 7 additions and 7 deletions
|
|
@ -5070,7 +5070,7 @@ bool nir_lower_phis_to_scalar(nir_shader *shader, bool lower_all);
|
|||
void nir_lower_io_arrays_to_elements(nir_shader *producer, nir_shader *consumer);
|
||||
void nir_lower_io_arrays_to_elements_no_indirects(nir_shader *shader,
|
||||
bool outputs_only);
|
||||
void nir_lower_io_to_scalar(nir_shader *shader, nir_variable_mode mask);
|
||||
bool nir_lower_io_to_scalar(nir_shader *shader, nir_variable_mode mask);
|
||||
bool nir_lower_io_to_scalar_early(nir_shader *shader, nir_variable_mode mask);
|
||||
bool nir_lower_io_to_vector(nir_shader *shader, nir_variable_mode mask);
|
||||
bool nir_vectorize_tess_levels(nir_shader *shader);
|
||||
|
|
|
|||
|
|
@ -268,14 +268,14 @@ nir_lower_io_to_scalar_instr(nir_builder *b, nir_instr *instr, void *data)
|
|||
return false;
|
||||
}
|
||||
|
||||
void
|
||||
bool
|
||||
nir_lower_io_to_scalar(nir_shader *shader, nir_variable_mode mask)
|
||||
{
|
||||
nir_shader_instructions_pass(shader,
|
||||
nir_lower_io_to_scalar_instr,
|
||||
nir_metadata_block_index |
|
||||
nir_metadata_dominance,
|
||||
&mask);
|
||||
return nir_shader_instructions_pass(shader,
|
||||
nir_lower_io_to_scalar_instr,
|
||||
nir_metadata_block_index |
|
||||
nir_metadata_dominance,
|
||||
&mask);
|
||||
}
|
||||
|
||||
static nir_variable **
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue