vulkaninfo: safely handle device groups not supported

Previously, vulkaninfo would hard crash if device groups failed
the call to vkEnumeratePhysicalDeviceGroupsKHR. If an error happens
now the GetGroups call simply returns an empty vector.

Files Modified:
	vulkaninfo/vulkaninfo.cpp
	vulkaninfo/vulkaninfo.h

Change-Id: I60ed002161523cede53a144be3fad1d4bb0dd1f1
2 files changed
tree: f1a688a6d913c1440f12c97c2f75c9424cb360dd
  1. build-android/
  2. build-gn/
  3. cmake/
  4. common/
  5. cube/
  6. external/
  7. icd/
  8. scripts/
  9. vulkaninfo/
  10. windows-runtime-installer/
  11. .appveyor.yml
  12. .clang-format
  13. .cmake-format.py
  14. .gitattributes
  15. .gitignore
  16. .gn
  17. .travis.yml
  18. BUILD.gn
  19. BUILD.md
  20. CMakeLists.txt
  21. CODE_OF_CONDUCT.md
  22. CONTRIBUTING.md
  23. GOVERNANCE.md
  24. LICENSE.txt
  25. mac_common.cmake
  26. README.md
README.md

Vulkan Ecosystem Components

This project provides Khronos official Vulkan Tools and Utilities for Windows, Linux, Android, and MacOS.

CI Build Status

PlatformBuild Status
Linux/AndroidBuild Status
WindowsBuild status

Introduction

This project provides Vulkan tools and utilities that can assist development by enabling developers to verify their applications correct use of the Vulkan API.

The following components are available in this repository:

Contact Information

Information for Developing or Contributing:

Please see the CONTRIBUTING.md file in this repository for more details. Please see the GOVERNANCE.md file in this repository for repository management details.

How to Build and Run

BUILD.md Includes directions for building all components as well as running the vkcube demo applications.

Version Tagging Scheme

Updates to the Vulkan-Tools repository which correspond to a new Vulkan specification release are tagged using the following format: v<version> (e.g., v1.1.96).

Note: Marked version releases have undergone thorough testing but do not imply the same quality level as SDK tags. SDK tags follow the sdk-<version>.<patch> format (e.g., sdk-1.1.92.0).

This scheme was adopted following the 1.1.96 Vulkan specification release.

License

This work is released as open source under a Apache-style license from Khronos including a Khronos copyright.

See COPYRIGHT.txt for a full list of licenses used in this repository.

Acknowledgements

While this project has been developed primarily by LunarG, Inc., there are many other companies and individuals making this possible: Valve Corporation, funding project development; Google providing significant contributions to the validation layers; Khronos providing oversight and hosting of the project.