mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
gallivm: use valid LLVM_VERSION_MAJOR instead of LLVM_VERSION
Partial of: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7680 Fixes:203920d4c6("gallivm: add atomic 32-bit float support") Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19926> (cherry picked from commitb461921ed8)
This commit is contained in:
parent
531fa051de
commit
79488fd111
2 changed files with 2 additions and 2 deletions
|
|
@ -1975,7 +1975,7 @@
|
|||
"description": "gallivm: use valid LLVM_VERSION_MAJOR instead of LLVM_VERSION",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "203920d4c69366b71db1d48d8fb8bd6439016191"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1736,7 +1736,7 @@ visit_atomic_image(struct lp_build_nir_context *bld_base,
|
|||
case nir_intrinsic_image_atomic_fadd:
|
||||
params.op = LLVMAtomicRMWBinOpFAdd;
|
||||
break;
|
||||
#if LLVM_VERSION >= 15
|
||||
#if LLVM_VERSION_MAJOR >= 15
|
||||
case nir_intrinsic_image_atomic_fmin:
|
||||
params.op = LLVMAtomicRMWBinOpFMin;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue