aboutsummaryrefslogtreecommitdiff
path: root/layers/core_validation.cpp
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2016-10-12 14:34:12 -0600
committerTobin Ehlis <tobine@google.com>2016-10-13 19:13:33 -0600
commit0042d3a860140b5dd5f9eda3e440e24aca02e528 (patch)
treec3d7ba5d0cb3bf6926740f93868d1065959246d4 /layers/core_validation.cpp
parentc3b4decca400e2328e40820aa5215a42921731b5 (diff)
downloadusermoji-0042d3a860140b5dd5f9eda3e440e24aca02e528.tar.xz
layers:Add pool member to DescriptorSet class
When creating a DescriptorSet instance, record the pool that the set is allocated from in a private pool_ variable. Then, when binding a set to a cmd buffer, also create a binding between the command buffer and the pool. This allows us to catch the in-use case when sets are implicitly freed by calling vkDestroyDescriptorPool().
Diffstat (limited to 'layers/core_validation.cpp')
0 files changed, 0 insertions, 0 deletions