amd: drop support for LLVM 12

The demote emulation can be removed, and FS_CORRECT_DERIVS_AFTER_KILL
can be removed because it's always enabled on LLVM >= 13.

Reviewed-by: Qiang Yu <yuq825@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23471>
This commit is contained in:
Marek Olšák
2023-06-06 10:59:46 -04:00
committed by Marge Bot
parent 4c8cc26fd8
commit 3a9f8730f5
11 changed files with 15 additions and 193 deletions

View File

@@ -1641,10 +1641,8 @@ if draw_with_llvm
llvm_optional_modules += ['lto']
endif
if with_intel_clc
if with_intel_clc or with_amd_vk or with_gallium_radeonsi
_llvm_version = '>= 13.0.0'
elif with_amd_vk or with_gallium_radeonsi
_llvm_version = '>= 12.0.0'
elif with_gallium_opencl
_llvm_version = '>= 11.0.0'
elif with_clc