diff --git a/src/intel/compiler/brw/brw_nir.c b/src/intel/compiler/brw/brw_nir.c index abdb3993fde..9b9fa434fc4 100644 --- a/src/intel/compiler/brw/brw_nir.c +++ b/src/intel/compiler/brw/brw_nir.c @@ -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)