Index: src/gpu/vk/GrVkRenderPass.h |
diff --git a/src/gpu/vk/GrVkRenderPass.h b/src/gpu/vk/GrVkRenderPass.h |
index 5438a10dfc8b568ef82b43390290c41cb82e7a23..21146ab129da2bce5ad62c0e2d760dbcac9bf96d 100644 |
--- a/src/gpu/vk/GrVkRenderPass.h |
+++ b/src/gpu/vk/GrVkRenderPass.h |
@@ -118,6 +118,8 @@ public: |
VkRenderPass vkRenderPass() const { return fRenderPass; } |
+ const VkExtent2D& granularity() const { return fGranularity; } |
+ |
void genKey(GrProcessorKeyBuilder* b) const; |
#ifdef SK_TRACE_VK_RESOURCES |
@@ -141,6 +143,7 @@ private: |
VkRenderPass fRenderPass; |
AttachmentFlags fAttachmentFlags; |
AttachmentsDescriptor fAttachmentsDescriptor; |
+ VkExtent2D fGranularity; |
typedef GrVkResource INHERITED; |
}; |