Commit 6fc83c25 authored by Connor Abbott's avatar Connor Abbott

st/nir: Use gl_nir_opt_access

Nothing uses its results yet, that will come with the following commits.
Reviewed-by: Timothy Arceri's avatarTimothy Arceri <>
parent f2d0e48d
......@@ -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) {
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