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

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

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
« src/gpu/vk/GrVkGpu.cpp ('K') | « src/gpu/vk/GrVkRenderPass.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« src/gpu/vk/GrVkGpu.cpp ('K') | « src/gpu/vk/GrVkRenderPass.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698