Vulkan: Dual Src blending strikes again! Disable it on nVidia X1 (Shield TV) due to driver bugs, sigh.

Should help #10136
This commit is contained in:
Henrik Rydgård
2017-11-15 10:24:11 +01:00
parent 3594623a8d
commit 656ec18ded
+6 -1
View File
@@ -181,8 +181,13 @@ void GPU_Vulkan::CheckGPUFeatures() {
}
if (vulkan_->GetFeaturesEnabled().dualSrcBlend) {
switch (vulkan_->GetPhysicalDeviceProperties().vendorID) {
case VULKAN_VENDOR_NVIDIA:
// Workaround for Shield TV driver bug.
if (strcmp(vulkan_->GetPhysicalDeviceProperties().deviceName, "NVIDIA Tegra X1") != 0)
features |= GPU_SUPPORTS_DUALSOURCE_BLEND;
break;
case VULKAN_VENDOR_INTEL:
// Work around for Intel driver bug.
// Workaround for Intel driver bug.
break;
case VULKAN_VENDOR_AMD:
// See issue #10074, and also #10065 (AMD) and #10109 for the choice of the driver version to check for