layers: Handle uninitialized QueueFamily values in APIDump
authorMark Lobodzinski <mark@lunarg.com>
Tue, 11 Aug 2015 15:35:02 +0000 (09:35 -0600)
committerMark Lobodzinski <mark@lunarg.com>
Tue, 11 Aug 2015 16:11:38 +0000 (10:11 -0600)
commitdef1170071d3e66ce4501c2f0db5dbfd39fcb9c5
tree2f15b98dfdba6ae2999abd80b1f6984aea22bae2
parentf861ba523896c3719cadff74687c3aa8664e8500
layers: Handle uninitialized QueueFamily values in APIDump

If queueFamilyCount or pQueueFamilyIndices were uninitialized, APIDump
would persist in printing this info resulting in a segfault. Added
check for sharingMode before examining these values.
vk_helper.py