configure.ac: Move radv check to the Vulkan section
This moves the LLVM check for radv to the corresponding driver section. No functional change. Signed-off-by: Tobias Droste <tdroste@gmx.de> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
parent
c702369bf5
commit
3f42859367
|
@ -1858,6 +1858,7 @@ if test -n "$with_vulkan_drivers"; then
|
||||||
;;
|
;;
|
||||||
xradeon)
|
xradeon)
|
||||||
PKG_CHECK_MODULES([AMDGPU], [libdrm_amdgpu >= $LIBDRM_AMDGPU_REQUIRED])
|
PKG_CHECK_MODULES([AMDGPU], [libdrm_amdgpu >= $LIBDRM_AMDGPU_REQUIRED])
|
||||||
|
radeon_llvm_check "radv" "3" "9" "0"
|
||||||
HAVE_RADEON_VULKAN=yes;
|
HAVE_RADEON_VULKAN=yes;
|
||||||
if test "x$with_sha1" == "x"; then
|
if test "x$with_sha1" == "x"; then
|
||||||
AC_MSG_ERROR([radv vulkan driver requires SHA1])
|
AC_MSG_ERROR([radv vulkan driver requires SHA1])
|
||||||
|
@ -2507,10 +2508,6 @@ if test -n "$with_gallium_drivers"; then
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x$HAVE_RADEON_VULKAN" = "xyes"; then
|
|
||||||
radeon_llvm_check "radv" "3" "9" "0"
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl Set LLVM_LIBS - This is done after the driver configuration so
|
dnl Set LLVM_LIBS - This is done after the driver configuration so
|
||||||
dnl that drivers can add additional components to LLVM_COMPONENTS.
|
dnl that drivers can add additional components to LLVM_COMPONENTS.
|
||||||
dnl Previously, gallium drivers were updating LLVM_LIBS directly
|
dnl Previously, gallium drivers were updating LLVM_LIBS directly
|
||||||
|
|
Loading…
Reference in New Issue