aboutsummaryrefslogtreecommitdiff
path: root/layers/mem_tracker.cpp
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2016-01-21 10:21:04 -0700
committerJon Ashburn <jon@lunarg.com>2016-01-22 16:28:24 -0700
commit8f665690986636017315357735fd46a89f31da3b (patch)
tree3f1b7c23cd8b3b12bf7a725a3358f4edf5d8c2cd /layers/mem_tracker.cpp
parent8513a81376fe2ba8e93ebc59e4859713f1cd10bc (diff)
downloadusermoji-8f665690986636017315357735fd46a89f31da3b.tar.xz
layers: Fix draw_state validation of descriptor updates with images
Earlier fix was broken b/c we didn't have format of swapchain images. This fix adds the format to imageLayoutMap IMAGE_NODE struct, which contains all images created via vkCreateImage() as well as all swapchain images fetched via vkGetSwapchainImagesKHR(). This required enhancing the SWAPCHAIN_NODE to include the createInfo. Since this has a dangling ptr for queueIndices, added a constructor and destructor to that struct to handle allocation and clean-up of that ptr.
Diffstat (limited to 'layers/mem_tracker.cpp')
0 files changed, 0 insertions, 0 deletions