diff options
| author | Tobin Ehlis <tobine@google.com> | 2016-01-14 12:47:19 -0700 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2016-01-22 13:38:04 -0700 |
| commit | 8da0d32769f16ee5151ee45772e4887e73416ca6 (patch) | |
| tree | 38871d9d7feb471a8c3a138d1bcbf9235f008000 /include | |
| parent | 98e140bf4cfa883d680d956fb30d8ab2ccb2ca3b (diff) | |
| download | usermoji-8da0d32769f16ee5151ee45772e4887e73416ca6.tar.xz | |
layers: MR137, Flag error if set updated or freed while in use
It is illegal to free or update a descriptorSet that is in use.
Updated SET_NODE to inherit from BASE_NODE for in_use tracking.
At the time that Draws are recorded into the cmdBuffer, capture any active sets
for that cmdBuffer into std::set<VkDescriptorSet> activeSets.
At the time vkCmdBindDescriptorSets is recoreded in cmdBuffer, flag descriptor
sets as in use. At the time a set is freed, flag an error if set is in use.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
