mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
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:
parent
c4457113e9
commit
becf2d1fac
1 changed files with 1 additions and 1 deletions
|
|
@ -645,7 +645,7 @@ st_link_nir(struct gl_context *ctx,
|
||||||
mask = (nir_variable_mode)(mask | nir_var_shader_out);
|
mask = (nir_variable_mode)(mask | nir_var_shader_out);
|
||||||
|
|
||||||
nir_shader *nir = shader->Program->nir;
|
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);
|
st_nir_opts(nir);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue