Index: src/gpu/vk/GrVkGpu.cpp |
diff --git a/src/gpu/vk/GrVkGpu.cpp b/src/gpu/vk/GrVkGpu.cpp |
index 0a713f4a6270b395e5b2a943fde29198358196d8..495b85e7311887e12fe8b2cd08e3ba9a1299dfa3 100644 |
--- a/src/gpu/vk/GrVkGpu.cpp |
+++ b/src/gpu/vk/GrVkGpu.cpp |
@@ -401,7 +401,7 @@ void GrVkGpu::onResolveRenderTarget(GrRenderTarget* target) { |
VK_PIPELINE_STAGE_TRANSFER_BIT, |
false); |
- fCurrentCmdBuffer->resolveImage(this, *rt, *rt->msaaImage(), 1, &resolveInfo); |
+ fCurrentCmdBuffer->resolveImage(this, *rt->msaaImage(), *rt, 1, &resolveInfo); |
rt->flagAsResolved(); |
} |
@@ -1800,6 +1800,6 @@ void GrVkGpu::submitSecondaryCommandBuffer(GrVkSecondaryCommandBuffer* buffer, |
fCurrentCmdBuffer->executeCommands(this, buffer); |
fCurrentCmdBuffer->endRenderPass(this); |
- this->didWriteToSurface(target, pBounds); |
+ this->didWriteToSurface(target, &bounds); |
} |