Index: src/gpu/vk/GrVkCaps.cpp |
diff --git a/src/gpu/vk/GrVkCaps.cpp b/src/gpu/vk/GrVkCaps.cpp |
index 41bf1ad9e47e41f1bed0a2d2c1379d817f57a6a7..627e97038ab203c282069a33e80c40894934bd51 100644 |
--- a/src/gpu/vk/GrVkCaps.cpp |
+++ b/src/gpu/vk/GrVkCaps.cpp |
@@ -62,7 +62,9 @@ void GrVkCaps::init(const GrContextOptions& contextOptions, const GrVkInterface* |
this->initStencilFormats(vkInterface, physDev); |
if (SkToBool(extensionFlags & kNV_glsl_shader_GrVkExtensionFlag)) { |
- fCanUseGLSLForShaderModule = true; |
+ // Currently disabling this feature since it does not play well with validation layers which |
+ // expect a SPIR-V shader |
+ // fCanUseGLSLForShaderModule = true; |
} |
this->applyOptionsOverrides(contextOptions); |
@@ -147,10 +149,9 @@ void GrVkCaps::initGLSLCaps(const VkPhysicalDeviceProperties& properties, |
glslCaps->fShaderDerivativeSupport = true; |
glslCaps->fGeometryShaderSupport = SkToBool(featureFlags & kGeometryShader_GrVkFeatureFlag); |
-#if 0 |
- // For now disabling dual source blending till we get it hooked up in the rest of system |
+ |
glslCaps->fDualSourceBlendingSupport = SkToBool(featureFlags & kDualSrcBlend_GrVkFeatureFlag); |
-#endif |
+ |
glslCaps->fIntegerSupport = true; |
glslCaps->fMaxVertexSamplers = |