mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 20:50:09 +01:00
clc: Always use spir for 32 bit
Fixes unknown target triple
'unknown-unknown-unknown-spirv-unknown-unknown' problem with llvm 17 on
a 32 bit system.
Fixes: 22fa315ee0 ("clc: use spirv triple starting with llvm-17")
Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29049>
This commit is contained in:
parent
8732a619f1
commit
db7bfe85ae
1 changed files with 1 additions and 1 deletions
|
|
@ -792,7 +792,7 @@ clc_compile_to_llvm_module(LLVMContext &llvm_ctx,
|
|||
};
|
||||
|
||||
#if LLVM_VERSION_MAJOR >= 17
|
||||
const char *triple = args->address_bits == 32 ? "spirv-unknown-unknown" : "spirv64-unknown-unknown";
|
||||
const char *triple = args->address_bits == 32 ? "spir-unknown-unknown" : "spirv64-unknown-unknown";
|
||||
#else
|
||||
const char *triple = args->address_bits == 32 ? "spir-unknown-unknown" : "spir64-unknown-unknown";
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue