aboutsummaryrefslogtreecommitdiff
path: root/layers/vk_layer_table.cpp
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2016-01-24 23:25:31 -0700
committerMark Lobodzinski <mark@lunarg.com>2016-01-29 10:11:01 -0700
commit01d33c4e0be7b860e52d72424eba1d75e8fe946e (patch)
tree30e3d3c2aceeb21bffdd86fd4f6fb2793c143dbb /layers/vk_layer_table.cpp
parent5c9cb2533c71824c1b01868ed2422b74db0971f8 (diff)
downloadusermoji-01d33c4e0be7b860e52d72424eba1d75e8fe946e.tar.xz
layers: MR178, Fix descriptor set in_use tracking
This breaks descriptor set validation into two cases: 1. If a descriptor set is being used in an in-flight command buffer, immediately flag an error if that set is destroyed or updated. 2. If a descriptor set bound to a command buffer (but not in-flight) is updated or destroyed, mark that command buffer as "INVALID" and flag an error if such a command buffer is submitted. Fix vkWaitForFences() code to not do any cleanup for the case where some, but not all, command buffer fences have completed. In this case the app will have to either check individual fences or use waitAll flag so we will clean up at that point.
Diffstat (limited to 'layers/vk_layer_table.cpp')
0 files changed, 0 insertions, 0 deletions