From 70e3234570e48814876845d344cb4c567f6acf5b Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 7 Aug 2025 14:31:47 -0400 Subject: [PATCH] agx: lower fmin/fmax scans MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit for GL. Signed-off-by: Alyssa Rosenzweig Reviewed-by: Marek Olšák Part-of: --- src/asahi/compiler/agx_nir_lower_subgroups.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/asahi/compiler/agx_nir_lower_subgroups.c b/src/asahi/compiler/agx_nir_lower_subgroups.c index bbaf0944d91..205f7ea8e08 100644 --- a/src/asahi/compiler/agx_nir_lower_subgroups.c +++ b/src/asahi/compiler/agx_nir_lower_subgroups.c @@ -205,7 +205,9 @@ lower_subgroup_filter(const nir_instr *instr, UNUSED const void *data) switch (nir_intrinsic_reduction_op(intr)) { case nir_op_imul: - /* no imul hardware scan, always lower it */ + case nir_op_fmin: + case nir_op_fmax: + /* no hardware scan for this opcode, always lower it */ return true; case nir_op_iadd: