Instead of the last commit, don't enable the dual src extension at all on Adreno.

This reverts commit eba6c00a8ab2631409301b03549496caab16e9be.
This commit is contained in:
Henrik Rydgård 2018-10-07 10:11:23 +02:00
parent eba6c00a8a
commit 6fd1c0e3d9
2 changed files with 1 additions and 4 deletions

View File

@ -513,7 +513,7 @@ void VulkanContext::ChooseDevice(int physical_device) {
memset(&featuresEnabled_, 0, sizeof(featuresEnabled_));
// Enable a few safe ones if they are available.
if (featuresAvailable_.dualSrcBlend) {
if (featuresAvailable_.dualSrcBlend && physicalDeviceProperties_[physical_device_].vendorID != VULKAN_VENDOR_QUALCOMM) {
featuresEnabled_.dualSrcBlend = true;
}
if (featuresAvailable_.largePoints) {

View File

@ -217,9 +217,6 @@ void GPU_Vulkan::CheckGPUFeatures() {
case VULKAN_VENDOR_INTEL:
// Workaround for Intel driver bug.
break;
case VULKAN_VENDOR_QUALCOMM:
// Workaround for possible Adreno driver bug, see #10421
break;
case VULKAN_VENDOR_AMD:
// See issue #10074, and also #10065 (AMD) and #10109 for the choice of the driver version to check for
if (vulkan_->GetPhysicalDeviceProperties(vulkan_->GetCurrentPhysicalDevice()).driverVersion >= 0x00407000)