layers: MR129, Remove incorrect asserts from param_checker and object_tracker
authorTobin Ehlis <tobine@google.com>
Wed, 13 Jan 2016 21:45:14 +0000 (14:45 -0700)
committerMark Lobodzinski <mark@lunarg.com>
Thu, 14 Jan 2016 17:03:15 +0000 (10:03 -0700)
commitdb31a54c64f14a89d64245ee4d3b31fdad82acf9
tree3678ce09241155b1ff9a010ae45a6566885196cd
parentcee3480739a5bda2a239508944b43abe71eb5874
layers: MR129, Remove incorrect asserts from param_checker and object_tracker

For apps that run with multiple instances, it's perfectly valid to have instances
remaining at DestroyInstace() time so removing that assert from param_checker.
Also, the assert appears to have been cut-and-pasted into DestroyDevice of both
param_checker and object_tracker. The same logic applies for apps that use
multiple devices. Running vulkancts with layers enabled found these issues.
layers/param_checker.cpp
vk-layer-generate.py