commit | 3a15fd4a9a019dc781368c26499ff899c2f03e3f | [log] [tgz] |
---|---|---|
author | egdaniel <egdaniel@google.com> | Tue Apr 05 11:00:29 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue Apr 05 11:00:29 2016 -0700 |
tree | cea05d3efc14d27e2eb6a80f75b18e91cabfaec3 | |
parent | f3261afed2b2a7853a3f94a7e5b0c11683c09579 [diff] [blame] |
Fix vulkan dual source blending BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1856283003 Review URL: https://codereview.chromium.org/1856283003
diff --git a/src/gpu/vk/GrVkCaps.cpp b/src/gpu/vk/GrVkCaps.cpp index 7a1577e..b72a512 100644 --- a/src/gpu/vk/GrVkCaps.cpp +++ b/src/gpu/vk/GrVkCaps.cpp
@@ -127,7 +127,8 @@ void GrVkCaps::initGLSLCaps(const VkPhysicalDeviceProperties& properties, uint32_t featureFlags) { GrGLSLCaps* glslCaps = static_cast<GrGLSLCaps*>(fShaderCaps.get()); - glslCaps->fVersionDeclString = "#version 310 es\n"; + glslCaps->fVersionDeclString = "#version 330\n"; + // fConfigOutputSwizzle will default to RGBA so we only need to set it for alpha only config. for (int i = 0; i < kGrPixelConfigCnt; ++i) {