mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
llvmpipe: Fix optimization loop to actually loop
Reviewed-by: Dave Airlie <airlied@redhat.com> Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Acked-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10549>
This commit is contained in:
parent
cc5df4398a
commit
9410eb7e39
1 changed files with 3 additions and 3 deletions
|
|
@ -2342,9 +2342,9 @@ void lp_build_opt_nir(struct nir_shader *nir)
|
|||
NIR_PASS_V(nir, nir_lower_fp16_casts);
|
||||
do {
|
||||
progress = false;
|
||||
NIR_PASS_V(nir, nir_opt_constant_folding);
|
||||
NIR_PASS_V(nir, nir_opt_algebraic);
|
||||
NIR_PASS_V(nir, nir_lower_pack);
|
||||
NIR_PASS(progress, nir, nir_opt_constant_folding);
|
||||
NIR_PASS(progress, nir, nir_opt_algebraic);
|
||||
NIR_PASS(progress, nir, nir_lower_pack);
|
||||
|
||||
nir_lower_tex_options options = { .lower_tex_without_implicit_lod = true };
|
||||
NIR_PASS_V(nir, nir_lower_tex, &options);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue