vulkaninfo: Handle device group extension not available
authorCharles Giessen <charles@lunarg.com>
Tue, 8 Oct 2019 16:38:49 +0000 (10:38 -0600)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Tue, 8 Oct 2019 18:08:55 +0000 (12:08 -0600)
commit03b929710428235157ed2261d7c232e16c371b81
tree35ad9cd93fe24bc6bcaf66a060a7f0180f479c97
parent9626dd32702f1bf9c44008a8d32a1e4a6f81f941
vulkaninfo: Handle device group extension not available

Previously if the device didn't support VK_KHR_device_group vulkaninfo
would not catch it and subsequently crash. This commit adds error
checking and bool flag to GetGroupCapabilities for callers to know
if it was successful.

files modified:
 - vulkaninfo/vulkaninfo.cpp
 - vulkaninfo/vulkaninfo.h

Change-Id: Ie8fe9cc46ebe0fa6cae9985d89628d60ddf58cf2
vulkaninfo/vulkaninfo.cpp
vulkaninfo/vulkaninfo.h