Commit fb306c32 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig

midgard: Assign var locations

parent 6e92f2db
......@@ -327,6 +327,8 @@ optimise_nir(nir_shader *nir)
bool progress;
nir_assign_var_locations(&nir->outputs, &nir->num_outputs, glsl_type_size);
nir_assign_var_locations(&nir->inputs, &nir->num_inputs, glsl_type_size);
//NIR_PASS_V(nir, nir_lower_io_to_temporaries, nir_shader_get_entrypoint(nir), true, true);
//NIR_PASS(progress, nir, nir_opt_global_to_local);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment