From f33454e35a00d3be05f01eb70168e1eba87db466 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 23 Jan 2026 15:52:59 -0500 Subject: [PATCH] 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 Reviewed-by: Lionel Landwerlin Reviewed-by: Kenneth Graunke Part-of: --- src/intel/compiler/brw/brw_nir.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)