mesa/st/nir: fix naked lowering pass call

Not using the macro means no nir_validate in debug builds, resulting in
problems showing up only after later passes.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
Rob Clark 2018-04-06 15:06:36 -04:00
parent c4457113e9
commit becf2d1fac
1 changed files with 1 additions and 1 deletions

View File

@ -645,7 +645,7 @@ st_link_nir(struct gl_context *ctx,
mask = (nir_variable_mode)(mask | nir_var_shader_out);
nir_shader *nir = shader->Program->nir;
nir_lower_io_to_scalar_early(nir, mask);
NIR_PASS_V(nir, nir_lower_io_to_scalar_early, mask);
st_nir_opts(nir);
}