Index: src/gpu/vk/GrVkRenderTarget.h |
diff --git a/src/gpu/vk/GrVkRenderTarget.h b/src/gpu/vk/GrVkRenderTarget.h |
index 019f56743322c50d03193f1d013f03a1add40be2..e3ebefba5ada53ca98b3bd6641b3ed838f44e42c 100644 |
--- a/src/gpu/vk/GrVkRenderTarget.h |
+++ b/src/gpu/vk/GrVkRenderTarget.h |
@@ -60,7 +60,10 @@ public: |
// override of GrRenderTarget |
ResolveType getResolveType() const override { |
- return kCanResolve_ResolveType; |
+ if (this->numColorSamples() > 1) { |
+ return kCanResolve_ResolveType; |
+ } |
+ return kAutoResolves_ResolveType; |
} |
bool canAttemptStencilAttachment() const override { |