mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
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:
parent
4778fc1ab7
commit
f33454e35a
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue