BUG=skia:6405
Change-Id: I63b60135f1562a4ce1f1a37b719aa01fc62d8790
Reviewed-on: https://skia-review.googlesource.com/9984
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
shaderCaps->fGeometryShaderSupport = SkToBool(featureFlags & kGeometryShader_GrVkFeatureFlag);
shaderCaps->fDualSourceBlendingSupport = SkToBool(featureFlags & kDualSrcBlend_GrVkFeatureFlag);
+ if (kAMD_VkVendor == properties.vendorID) {
+ // Currently DualSourceBlending is not working on AMD. vkCreateGraphicsPipeline fails when
+ // using a draw with dual source. Looking into whether it is driver bug or issue with our
+ // SPIR-V. Bug skia:6405
+ shaderCaps->fDualSourceBlendingSupport = false;
+ }
shaderCaps->fIntegerSupport = true;