In Vulkan don't submit CB after resolve call unless we are preparing image for I/O

Bug: skia:
Change-Id: I99c1d2ee1300f1f1757f7c44b3a839aba3091fee
Reviewed-on: https://skia-review.googlesource.com/c/175259
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
diff --git a/src/gpu/vk/GrVkGpuCommandBuffer.cpp b/src/gpu/vk/GrVkGpuCommandBuffer.cpp
index b44dbc1..922e410 100644
--- a/src/gpu/vk/GrVkGpuCommandBuffer.cpp
+++ b/src/gpu/vk/GrVkGpuCommandBuffer.cpp
@@ -676,7 +676,7 @@
         // We may need to resolve the texture first if it is also a render target
         GrVkRenderTarget* texRT = static_cast<GrVkRenderTarget*>(vkTexture->asRenderTarget());
         if (texRT) {
-            fGpu->onResolveRenderTarget(texRT);
+            fGpu->resolveRenderTargetNoFlush(texRT);
         }
 
         // Check if we need to regenerate any mip maps