$(GLSL_SRCDIR)/nir/nir_lower_samplers.cpp \
$(GLSL_SRCDIR)/nir/nir_lower_system_values.c \
$(GLSL_SRCDIR)/nir/nir_lower_to_source_mods.c \
- $(GLSL_SRCDIR)/nir/nir_lower_variables.c \
+ $(GLSL_SRCDIR)/nir/nir_lower_vars_to_ssa.c \
$(GLSL_SRCDIR)/nir/nir_lower_vec_to_movs.c \
$(GLSL_SRCDIR)/nir/nir_metadata.c \
$(GLSL_SRCDIR)/nir/nir_opcodes.c \
void nir_lower_io(nir_shader *shader);
-void nir_lower_variables(nir_shader *shader);
+void nir_lower_vars_to_ssa(nir_shader *shader);
void nir_remove_dead_variables(nir_shader *shader);
* with SSA definitions and SSA uses.
*/
static bool
-nir_lower_variables_impl(nir_function_impl *impl)
+nir_lower_vars_to_ssa_impl(nir_function_impl *impl)
{
struct lower_variables_state state;
}
void
-nir_lower_variables(nir_shader *shader)
+nir_lower_vars_to_ssa(nir_shader *shader)
{
nir_foreach_overload(shader, overload) {
if (overload->impl)
- nir_lower_variables_impl(overload->impl);
+ nir_lower_vars_to_ssa_impl(overload->impl);
}
}
bool progress;
do {
progress = false;
- nir_lower_variables(nir);
+ nir_lower_vars_to_ssa(nir);
nir_validate_shader(nir);
progress |= nir_copy_prop(nir);
nir_validate_shader(nir);