mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-02 00:00:35 +02:00
zink: run opt_combine_stores when optimizing
this ensures stores to mesh builtins are vectorized, as required by spec cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40366>
This commit is contained in:
parent
eed3007588
commit
20c65db45d
1 changed files with 1 additions and 0 deletions
|
|
@ -1590,6 +1590,7 @@ optimize_nir(struct nir_shader *s, struct zink_shader *zs, bool can_shrink)
|
|||
NIR_PASS(progress, s, nir_lower_alu_to_scalar, filter_pack_instr, NULL);
|
||||
NIR_PASS(progress, s, nir_opt_copy_prop_vars);
|
||||
NIR_PASS(progress, s, nir_opt_copy_prop);
|
||||
NIR_PASS(progress, s, nir_opt_combine_stores, nir_var_all);
|
||||
NIR_PASS(progress, s, nir_opt_remove_phis);
|
||||
if (s->options->lower_int64_options) {
|
||||
NIR_PASS(progress, s, nir_lower_64bit_phis);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue