radv: don't build without SHA1.

Just copy the section from anv above this.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98167
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Dave Airlie 2016-10-10 10:06:52 +10:00
parent 185be15d9d
commit db5d278541

View file

@ -1719,6 +1719,9 @@ if test -n "$with_vulkan_drivers"; then
xradeon)
PKG_CHECK_MODULES([AMDGPU], [libdrm_amdgpu >= $LIBDRM_AMDGPU_REQUIRED])
HAVE_RADEON_VULKAN=yes;
if test "x$with_sha1" == "x"; then
AC_MSG_ERROR([radv vulkan driver requires SHA1])
fi
;;
*)
AC_MSG_ERROR([Vulkan driver '$driver' does not exist])