Skip to content

Commit

Permalink
Instead of the last commit, don't enable the dual src extension at al…
Browse files Browse the repository at this point in the history
…l on Adreno.

This reverts commit eba6c00.
  • Loading branch information
hrydgard committed Oct 7, 2018
1 parent eba6c00 commit 6fd1c0e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion Common/Vulkan/VulkanContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
3 changes: 0 additions & 3 deletions GPU/Vulkan/GPU_Vulkan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6fd1c0e

Please sign in to comment.