From 3da484c3300916481d41b35a8bfb28bb40818e59 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Fri, 6 May 2016 16:31:14 +1200 Subject: layers: Hold active RENDER_PASS_NODE rather than VkRenderPass in CB node Allows eliminating the bulk of the renderPassMap lookups Signed-off-by: Chris Forbes --- layers/core_validation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layers/core_validation.h') diff --git a/layers/core_validation.h b/layers/core_validation.h index 7b1dc959..41680078 100644 --- a/layers/core_validation.h +++ b/layers/core_validation.h @@ -553,7 +553,7 @@ struct GLOBAL_CB_NODE : public BASE_NODE { uint64_t fenceId; VkFence lastSubmittedFence; VkQueue lastSubmittedQueue; - VkRenderPass activeRenderPass; + RENDER_PASS_NODE *activeRenderPass; VkSubpassContents activeSubpassContents; uint32_t activeSubpass; std::unordered_set framebuffers; -- cgit v1.2.3