Commit 5eb82457 authored by Mikhail Tergoev's avatar Mikhail Tergoev

updated AMD_VULKAN_DRIVER_LIST

parent 0d9ee584
......@@ -2799,6 +2799,9 @@ pw_skip_get_info () {
GET_AMD_VULKAN_DRIVER_LIST="amdvlk amdgpupro radv"
unset AMD_VULKAN_DRIVER_LIST
if ! check_flatpak \
&& [[ $(check_vendor_gpu) =~ amd ]]
then
for DRIVER in $GET_AMD_VULKAN_DRIVER_LIST; do
case "$DRIVER" in
"amdvlk")
......@@ -2831,13 +2834,10 @@ pw_skip_get_info () {
esac
done
export AMD_VULKAN_DRIVER_LIST
if [[ -z "$AMD_VULKAN_DRIVER_LIST" ]] || check_flatpak ; then
AMD_VULKAN_CB=":DCB"
export AMD_VULKAN_CB=":CB"
else
AMD_VULKAN_CB=":CB"
export AMD_VULKAN_CB=":DCB"
fi
export AMD_VULKAN_CB
logical_cores=$(grep -c ^"processor" /proc/cpuinfo)
if [[ "${logical_cores}" -le "4" ]] ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment