Index: src/gpu/vk/GrVkGpu.cpp |
diff --git a/src/gpu/vk/GrVkGpu.cpp b/src/gpu/vk/GrVkGpu.cpp |
index 71782777a55838c8cf97ff9a94ffa4f39c4d90e9..7d5fff6ef574d14b60d847e10d40cfe948047142 100644 |
--- a/src/gpu/vk/GrVkGpu.cpp |
+++ b/src/gpu/vk/GrVkGpu.cpp |
@@ -279,6 +279,7 @@ bool GrVkGpu::onWritePixels(GrSurface* surface, |
srcStageMask, |
dstStageMask, |
false); |
+ this->submitCommandBuffer(kForce_SyncQueue); |
} |
success = this->uploadTexDataLinear(vkTex, left, top, width, height, config, |
texels.begin()->fPixels, texels.begin()->fRowBytes); |