commit:     88d0192a2531f59099898c3fc160be39f7ef6724
Author:     Ross Charles Campbell <rossbridger.cc <AT> gmail <DOT> com>
AuthorDate: Mon Nov 16 04:16:24 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Nov 17 04:45:24 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88d0192a

media-libs/mesa: add video_cards_v3d to vulkan support list

Raspberry Pi's V3DV Vulkan Driver has now landed in mainline Mesa
and this PR allows V3DV vulkan driver to be built in live version.

Closes: https://github.com/gentoo/gentoo/pull/18274
Signed-off-by: Ross Charles Campbell <rossbridger.cc <AT> gmail.com>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 media-libs/mesa/mesa-9999.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
index b128d3746f5..b2b79088f3c 100644
--- a/media-libs/mesa/mesa-9999.ebuild
+++ b/media-libs/mesa/mesa-9999.ebuild
@@ -259,8 +259,9 @@ 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"
+                  ! use video_cards_radeonsi &&
+                  ! use video_cards_v3d; then
+                       ewarn "Ignoring USE=vulkan     since VIDEO_CARDS does 
not contain i965, iris, radeonsi, or v3d"
                fi
        fi
 
@@ -473,6 +474,7 @@ multilib_src_configure() {
                vulkan_enable video_cards_i965 intel
                vulkan_enable video_cards_iris intel
                vulkan_enable video_cards_radeonsi amd
+               vulkan_enable video_cards_v3d broadcom
        fi
 
        if use gallium; then

Reply via email to