Module: Mesa Branch: main Commit: 7cd0553572f6dba13a3c1d0894842ba7ef7fc770 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7cd0553572f6dba13a3c1d0894842ba7ef7fc770
Author: Jesse Natalie <[email protected]> Date: Thu Dec 7 15:17:33 2023 -0800 microsoft/clc: Flip on capabilities to prevent warning spew Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26582> --- src/microsoft/clc/clc_compiler.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/microsoft/clc/clc_compiler.c b/src/microsoft/clc/clc_compiler.c index 29561e4aa02..0acef6c036f 100644 --- a/src/microsoft/clc/clc_compiler.c +++ b/src/microsoft/clc/clc_compiler.c @@ -662,6 +662,11 @@ clc_spirv_to_dxil(struct clc_libclc *lib, .kernel_image_read_write = true, .literal_sampler = true, .printf = true, + + // These aren't fully supported, but silence warnings about them from + // code that doesn't really use them. + .linkage = true, + .generic_pointers = true, }, }; unsigned supported_int_sizes = (16 | 32 | 64);
