Index: src/gpu/vk/GrVkCaps.cpp |
diff --git a/src/gpu/vk/GrVkCaps.cpp b/src/gpu/vk/GrVkCaps.cpp |
index 7a1577e66c322e348993e97cade21b3202ebbf92..b72a5125239f3078f2fdc2e4041bee518b6148c3 100644 |
--- a/src/gpu/vk/GrVkCaps.cpp |
+++ b/src/gpu/vk/GrVkCaps.cpp |
@@ -127,7 +127,8 @@ void GrVkCaps::initGrCaps(const VkPhysicalDeviceProperties& properties, |
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) { |