commit:     2ce2c4236ce68ff169cebe1de33bd0432135f38a
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 30 22:06:17 2021 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Oct 30 23:04:14 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ce2c423

media-libs/mesa: Enable turnip vulkan driver with VIDEO_CARDS=freedreno

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 3d6bd95e308..5829adce48f 100644
--- a/media-libs/mesa/mesa-9999.ebuild
+++ b/media-libs/mesa/mesa-9999.ebuild
@@ -255,11 +255,12 @@ llvm_check_deps() {
 
 pkg_pretend() {
        if use vulkan; then
-               if ! use video_cards_i965 &&
+               if ! use video_cards_freedreno &&
+                  ! use video_cards_i965 &&
                   ! use video_cards_iris &&
                   ! use video_cards_radeonsi &&
                   ! use video_cards_v3d; then
-                       ewarn "Ignoring USE=vulkan     since VIDEO_CARDS does 
not contain i965, iris, radeonsi, or v3d"
+                       ewarn "Ignoring USE=vulkan     since VIDEO_CARDS does 
not contain freedreno, i965, iris, radeonsi, or v3d"
                fi
        fi
 
@@ -489,6 +490,7 @@ multilib_src_configure() {
        fi
 
        if use vulkan; then
+               vulkan_enable video_cards_freedreno freedreno
                vulkan_enable video_cards_i965 intel
                vulkan_enable video_cards_iris intel
                vulkan_enable video_cards_radeonsi amd

Reply via email to