Index: src/gpu/vk/GrVkRenderPass.cpp |
diff --git a/src/gpu/vk/GrVkRenderPass.cpp b/src/gpu/vk/GrVkRenderPass.cpp |
index a49393800fa74ed274c990e00c52606be9223727..ba325ef5a699ab505402db6b456bd088031ac36b 100644 |
--- a/src/gpu/vk/GrVkRenderPass.cpp |
+++ b/src/gpu/vk/GrVkRenderPass.cpp |
@@ -145,6 +145,11 @@ void GrVkRenderPass::init(const GrVkGpu* gpu, |
&createInfo, |
nullptr, |
&fRenderPass)); |
+ |
+ // Get granularity for this render pass |
+ GR_VK_CALL(gpu->vkInterface(), GetRenderAreaGranularity(gpu->device(), |
+ fRenderPass, |
+ &fGranularity)); |
} |
void GrVkRenderPass::init(const GrVkGpu* gpu, |