Index: src/gpu/vk/GrVkCommandBuffer.cpp |
diff --git a/src/gpu/vk/GrVkCommandBuffer.cpp b/src/gpu/vk/GrVkCommandBuffer.cpp |
index 94d4c9d2bb3144c1853e3ad6c7aaa3f1984e3e05..5bd43f26b344d65dc1df740b0f26a0bab13da732 100644 |
--- a/src/gpu/vk/GrVkCommandBuffer.cpp |
+++ b/src/gpu/vk/GrVkCommandBuffer.cpp |
@@ -260,21 +260,21 @@ void GrVkCommandBuffer::copyImage(const GrVkGpu* gpu, |
} |
void GrVkCommandBuffer::blitImage(const GrVkGpu* gpu, |
- GrVkImage* srcImage, |
+ const GrVkImage::Resource* srcImage, |
VkImageLayout srcLayout, |
- GrVkImage* dstImage, |
+ const GrVkImage::Resource* dstImage, |
VkImageLayout dstLayout, |
uint32_t blitRegionCount, |
const VkImageBlit* blitRegions, |
VkFilter filter) { |
SkASSERT(fIsActive); |
SkASSERT(!fActiveRenderPass); |
- this->addResource(srcImage->resource()); |
- this->addResource(dstImage->resource()); |
+ this->addResource(srcImage); |
+ this->addResource(dstImage); |
GR_VK_CALL(gpu->vkInterface(), CmdBlitImage(fCmdBuffer, |
- srcImage->textureImage(), |
+ srcImage->fImage, |
srcLayout, |
- dstImage->textureImage(), |
+ dstImage->fImage, |
dstLayout, |
blitRegionCount, |
blitRegions, |