nir: rename nir_vectorize_tess_levels -> nir_lower_tess_level_array_vars_to_vec
Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35760>
This commit is contained in:
@@ -1427,7 +1427,7 @@ prelink_lowering(const struct gl_constants *consts,
|
||||
|
||||
if (!nir->options->compact_arrays) {
|
||||
NIR_PASS(_, nir, nir_lower_clip_cull_distance_to_vec4s);
|
||||
NIR_PASS(_, nir, nir_vectorize_tess_levels);
|
||||
NIR_PASS(_, nir, nir_lower_tess_level_array_vars_to_vec);
|
||||
}
|
||||
|
||||
/* Combine clip and cull outputs into one array and set:
|
||||
|
||||
@@ -5314,7 +5314,7 @@ bool nir_lower_io_arrays_to_elements_no_indirects(nir_shader *shader,
|
||||
bool nir_lower_io_to_scalar(nir_shader *shader, nir_variable_mode mask, nir_instr_filter_cb filter, void *filter_data);
|
||||
bool nir_lower_io_vars_to_scalar(nir_shader *shader, nir_variable_mode mask);
|
||||
bool nir_opt_vectorize_io_vars(nir_shader *shader, nir_variable_mode mask);
|
||||
bool nir_vectorize_tess_levels(nir_shader *shader);
|
||||
bool nir_lower_tess_level_array_vars_to_vec(nir_shader *shader);
|
||||
nir_shader *nir_create_passthrough_tcs_impl(const nir_shader_compiler_options *options,
|
||||
unsigned *locations, unsigned num_locations,
|
||||
uint8_t patch_vertices);
|
||||
|
||||
@@ -601,7 +601,7 @@ is_tess_level_variable(nir_variable *var)
|
||||
* can be combined by nir_opt_cse()/nir_opt_combine_stores().
|
||||
*/
|
||||
bool
|
||||
nir_vectorize_tess_levels(nir_shader *shader)
|
||||
nir_lower_tess_level_array_vars_to_vec(nir_shader *shader)
|
||||
{
|
||||
nir_variable_mode mode;
|
||||
if (shader->info.stage == MESA_SHADER_TESS_CTRL)
|
||||
|
||||
Reference in New Issue
Block a user