layers: Further descriptorSet cleanup fixes
authorTobin Ehlis <tobine@google.com>
Thu, 5 May 2016 21:09:11 +0000 (15:09 -0600)
committerTobin Ehlis <tobine@google.com>
Thu, 5 May 2016 22:05:18 +0000 (16:05 -0600)
commit5fb6f6195407763567208536e6439f96cc87f43d
tree99ce526bb1d9c2eba649891d84cd015050b3749d
parentd27d43ab454be7b7cddf5d3e677048c8dc5c0069
layers: Further descriptorSet cleanup fixes

Clear the pools list of sets when pool is reset.
Also make sure to remove sets from pool as they are freed.
Added a related fix to testing to correctly free descriptorSets
in DescriptorSetCompatibility test.
layers/core_validation.cpp