mesa: fix vulkan driver check
This commit is contained in:
parent
eb296ea869
commit
16680da895
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue