st/nir: Use gl_nir_opt_access

Nothing uses its results yet, that will come with the following commits.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
Connor Abbott
2019-06-04 14:18:54 +02:00
parent f2d0e48ddc
commit 6fc83c253f
@@ -359,6 +359,8 @@ st_nir_opts(nir_shader *nir, bool scalar)
lower_flrp = 0;
}
NIR_PASS(progress, nir, gl_nir_opt_access);
NIR_PASS(progress, nir, nir_opt_undef);
NIR_PASS(progress, nir, nir_opt_conditional_discard);
if (nir->options->max_unroll_iterations) {