Skip to content
Permalink
Browse files

Instead of the last commit, don't enable the dual src extension at al…

…l on Adreno.

This reverts commit eba6c00.
  • Loading branch information...
hrydgard committed Oct 7, 2018
1 parent eba6c00 commit 6fd1c0e3d9c7c537d11d6466d1ec1d80ff6bd0e8
Showing with 1 addition and 4 deletions.
  1. +1 −1 Common/Vulkan/VulkanContext.cpp
  2. +0 −3 GPU/Vulkan/GPU_Vulkan.cpp
@@ -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) {
@@ -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)

0 comments on commit 6fd1c0e

Please sign in to comment.
You can’t perform that action at this time.