clc: enable generic address space and seq_cst and device scope atomic features

This is going to be required with LLVM-22.

See 423bdb2bf2

Cc: mesa-stable
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39374>
This commit is contained in:
Karol Herbst 2026-01-16 15:18:46 +01:00 committed by Marge Bot
parent 01e1392139
commit 6eda573a8a

View file

@ -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