Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Unified Diff: src/gpu/vk/GrVkRenderPass.h

Issue 2126303002: Check granularity in render pass bounds (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
};

Powered by Google App Engine
This is Rietveld 408576698