aboutsummaryrefslogtreecommitdiff
path: root/layers/parameter_validation.cpp
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2016-05-05 13:49:42 -0600
committerTobin Ehlis <tobine@google.com>2016-05-05 16:05:18 -0600
commitd27d43ab454be7b7cddf5d3e677048c8dc5c0069 (patch)
tree1d4a2403f80d35167e57be907816322dd4451f33 /layers/parameter_validation.cpp
parent89af9e55233505748b663ea5c22ec5e73253d9a2 (diff)
downloadusermoji-d27d43ab454be7b7cddf5d3e677048c8dc5c0069.tar.xz
layers: Correctly invalidate cmd buffers when descriptor pool cleared/freed
When a DescriptorSet pool is Destroyed or Reset we destroy all underlying descriptorSets, but we weren't invalidating cmd buffers bound to those sets in these cases. This adds a common function, freeDescriptorSet(), to make sure anytime a descriptor set is destroyed, any bound cmd buffers get invalidated and the set is removed from setMap and then destroyed.
Diffstat (limited to 'layers/parameter_validation.cpp')
0 files changed, 0 insertions, 0 deletions