impl_progress |= lower_const_initializer(&builder, &shader->outputs);
if ((modes & nir_var_private) && function->is_entrypoint)
- impl_progress |= lower_const_initializer(&builder, &shader->outputs);
+ impl_progress |= lower_const_initializer(&builder, &shader->globals);
if ((modes & nir_var_system_value) && function->is_entrypoint)
- impl_progress |= lower_const_initializer(&builder, &shader->outputs);
+ impl_progress |= lower_const_initializer(&builder, &shader->system_values);
if (modes & nir_var_function)
impl_progress |= lower_const_initializer(&builder, &function->impl->locals);