Mesa (main): clc: disable opaque pointers until they are supported
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat May 21 12:59:28 UTC 2022
Module: Mesa
Branch: main
Commit: cd8c083ab54db0bcb9ee67ea60d0c1f4da385819
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cd8c083ab54db0bcb9ee67ea60d0c1f4da385819
Author: Karol Herbst <kherbst at redhat.com>
Date: Sat May 7 12:20:17 2022 +0200
clc: disable opaque pointers until they are supported
Signed-off-by: Karol Herbst <kherbst at redhat.com>
Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16479>
---
src/compiler/clc/clc_helpers.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/compiler/clc/clc_helpers.cpp b/src/compiler/clc/clc_helpers.cpp
index 53ccb1ebca3..caee1fd81f7 100644
--- a/src/compiler/clc/clc_helpers.cpp
+++ b/src/compiler/clc/clc_helpers.cpp
@@ -773,6 +773,9 @@ clc_compile_to_llvm_module(LLVMContext &llvm_ctx,
"-fdeclare-opencl-builtins",
#else
"-finclude-default-header",
+#endif
+#if LLVM_VERSION_MAJOR >= 15
+ "-no-opaque-pointers",
#endif
// Add a default CL compiler version. Clang will pick the last one specified
// on the command line, so the app can override this one.
More information about the mesa-commit
mailing list