Index: src/gpu/vk/GrVkCaps.cpp |
diff --git a/src/gpu/vk/GrVkCaps.cpp b/src/gpu/vk/GrVkCaps.cpp |
index 9027f6881557467384dd261df228250553a464ee..3348916d25f4fb72a24c5566ad6fd62a486b2609 100644 |
--- a/src/gpu/vk/GrVkCaps.cpp |
+++ b/src/gpu/vk/GrVkCaps.cpp |
@@ -16,6 +16,7 @@ GrVkCaps::GrVkCaps(const GrContextOptions& contextOptions, const GrVkInterface* |
VkPhysicalDevice physDev, uint32_t featureFlags, uint32_t extensionFlags) |
: INHERITED(contextOptions) { |
fCanUseGLSLForShaderModule = false; |
+ fMustDoCopiesFromOrigin = false; |
/************************************************************************** |
* GrDrawTargetCaps fields |
@@ -66,6 +67,10 @@ void GrVkCaps::init(const GrContextOptions& contextOptions, const GrVkInterface* |
// fCanUseGLSLForShaderModule = true; |
} |
+ if (kQualcomm_VkVendor == properties.vendorID) { |
+ fMustDoCopiesFromOrigin = true; |
+ } |
+ |
this->applyOptionsOverrides(contextOptions); |
GrGLSLCaps* glslCaps = static_cast<GrGLSLCaps*>(fShaderCaps.get()); |
glslCaps->applyOptionsOverrides(contextOptions); |