brw: disable nir_opt_uniform_atomics for Jay

While Jay supports subgroups, efficient reductions are TODO so it's probably
better not to run this pass yet.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40835>
This commit is contained in:
Alyssa Rosenzweig 2026-01-23 15:52:59 -05:00 committed by Marge Bot
parent 4778fc1ab7
commit f33454e35a

View file

@ -2955,7 +2955,8 @@ brw_postprocess_nir_opts(brw_pass_tracker *pt)
.lower_subgroup_masks = true,
};
if (OPT(nir_opt_uniform_atomics, false))
if (!intel_use_jay(devinfo, pt->nir->info.stage) &&
OPT(nir_opt_uniform_atomics, false))
OPT(nir_lower_subgroups, &subgroups_options);
if (pt->key->divergent_atomics_flags)