mesa: fix vulkan driver check

This commit is contained in:
q66 2020-04-27 04:02:40 +02:00
parent eb296ea869
commit 16680da895
1 changed files with 3 additions and 1 deletions

View File

@ -75,6 +75,7 @@ esac
if [ "$_have_amd" ]; then
# amd cards can use clover
_have_opencl=yes
_have_vulkan=yes
_gallium_drivers+=",r300,r600,radeonsi"
_vulkan_drivers+=",amd"
_dri_drivers+=",r100,r200"
@ -84,6 +85,7 @@ if [ "$_have_amd" ]; then
fi
if [ "$_have_intel" ]; then
_have_vulkan=yes
_gallium_drivers+=",iris"
_vulkan_drivers+=",intel"
_dri_drivers+=",i915,i965"
@ -149,7 +151,7 @@ fi
configure_args+=" ${_gallium_drivers} ${_vulkan_drivers} ${_dri_drivers}"
if [ "$_vulkan_drivers" ]; then
if [ "$_have_vulkan" ]; then
configure_args+=" -Dvulkan-overlay-layer=true"
subpackages+=" mesa-vulkan-overlay-layer"
fi