Index: src/gpu/vk/GrVkRenderTarget.cpp |
diff --git a/src/gpu/vk/GrVkRenderTarget.cpp b/src/gpu/vk/GrVkRenderTarget.cpp |
index dd3bca57dbad7efd3ccd3d17d854e188cac39315..708af7970e3b32d911a548aa71ba7688d1b35209 100644 |
--- a/src/gpu/vk/GrVkRenderTarget.cpp |
+++ b/src/gpu/vk/GrVkRenderTarget.cpp |
@@ -231,7 +231,8 @@ void GrVkRenderTarget::createFramebuffer(GrVkGpu* gpu) { |
// Vulkan requires us to create a compatible renderpass before we can create our framebuffer, |
// so we use this to get a (cached) basic renderpass, only for creation. |
- fCachedSimpleRenderPass = gpu->resourceProvider().findOrCreateCompatibleRenderPass(*this); |
+ fCachedSimpleRenderPass = |
+ gpu->resourceProvider().findCompatibleRenderPass(*this, &fCompatibleRPHandle); |
// Stencil attachment view is stored in the base RT stencil attachment |
const GrVkImageView* stencilView = this->stencilAttachmentView(); |