mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
gallium/draw: use NIR_PASS(_, ...) instead of NIR_PASS_V
Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36291>
This commit is contained in:
parent
18be5603ed
commit
a43a26ad2b
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ draw_create_vs_llvm(struct draw_context *draw,
|
|||
vs->base.state.ir.nir = state->ir.nir;
|
||||
nir_shader *nir = state->ir.nir;
|
||||
if (!nir->options->lower_uniforms_to_ubo)
|
||||
NIR_PASS_V(state->ir.nir, nir_lower_uniforms_to_ubo, false, false);
|
||||
NIR_PASS(_, state->ir.nir, nir_lower_uniforms_to_ubo, false, false);
|
||||
nir_tgsi_scan_shader(state->ir.nir, &vs->base.info, true);
|
||||
} else {
|
||||
/* we make a private copy of the tokens */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue