diff options
Diffstat (limited to 'media-libs/mesa/mesa-9999.ebuild')
-rw-r--r-- | media-libs/mesa/mesa-9999.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild index 59a1d4fc57ca..03083871b14d 100644 --- a/media-libs/mesa/mesa-9999.ebuild +++ b/media-libs/mesa/mesa-9999.ebuild @@ -44,7 +44,6 @@ REQUIRED_USE=" gles1? ( egl ) gles2? ( egl ) vulkan? ( dri3 - || ( video_cards_i965 video_cards_iris video_cards_radeonsi ) video_cards_radeonsi? ( llvm ) ) vulkan-overlay? ( vulkan ) wayland? ( egl gbm ) @@ -261,6 +260,14 @@ llvm_check_deps() { } pkg_pretend() { + if use vulkan; then + if ! use video_cards_i965 && + ! use video_cards_iris && + ! use video_cards_radeonsi; then + ewarn "Ignoring USE=vulkan since VIDEO_CARDS does not contain i965, iris, or radeonsi" + fi + fi + if use opencl; then if ! use video_cards_r600 && ! use video_cards_radeonsi; then |