mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
clc: disable opaque pointers until they are supported
Signed-off-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16479>
This commit is contained in:
parent
b6ed3c6ea2
commit
cd8c083ab5
1 changed files with 3 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue