From 6eda573a8aa03e75fe82668b9b7a57f67ece26fd Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Fri, 16 Jan 2026 15:18:46 +0100 Subject: [PATCH] clc: enable generic address space and seq_cst and device scope atomic features This is going to be required with LLVM-22. See https://github.com/llvm/llvm-project/commit/423bdb2bf257e19271d62e60b6339d84b8ce05aa Cc: mesa-stable Acked-by: Alyssa Rosenzweig Part-of: --- src/compiler/clc/mesa_clc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/compiler/clc/mesa_clc.c b/src/compiler/clc/mesa_clc.c index 3e6bc2808da..9bf507f26a0 100644 --- a/src/compiler/clc/mesa_clc.c +++ b/src/compiler/clc/mesa_clc.c @@ -134,6 +134,11 @@ main(int argc, char **argv) .args = util_dynarray_begin(&clang_args), .num_args = util_dynarray_num_elements(&clang_args, char *), .c_compatible = true, + .features = { + .atomic_order_seq_cst = true, + .atomic_scope_device = true, + .generic_address_space = true, + }, }; /* Enable all features, we don't know the target here and it is the