From f8a96584b64ae8c218dfaba0e0df5d5f64c36305 Mon Sep 17 00:00:00 2001 From: Greg Daniel Date: Sun, 29 Aug 2021 16:25:50 -0400 Subject: [PATCH] Disable vulkan dmsaa on early adrenos. We already disabled normal discardable msaa on old adrenos for driver bugs so we need to do it for dmsaa as well. Bug: skia:11809 Change-Id: I5d37286d004c278f019d102c1d28424785ee523d Reviewed-on: https://skia-review.googlesource.com/c/skia/+/443179 Reviewed-by: Greg Daniel Commit-Queue: Greg Daniel --- src/gpu/vk/GrVkCaps.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gpu/vk/GrVkCaps.cpp b/src/gpu/vk/GrVkCaps.cpp index 9710d28cc2..1fb973a4df 100644 --- a/src/gpu/vk/GrVkCaps.cpp +++ b/src/gpu/vk/GrVkCaps.cpp @@ -515,6 +515,7 @@ void GrVkCaps::applyDriverCorrectnessWorkarounds(const VkPhysicalDevicePropertie // feature for those devices. if (properties.vendorID == kQualcomm_VkVendor && androidAPIVersion <= 28) { fPreferDiscardableMSAAAttachment = false; + fSupportsDiscardableMSAAForDMSAA = false; } // On Mali G series GPUs, applying transfer functions in the fragment shader with half-floats