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:

Change-Id: I60ed002161523cede53a144be3fad1d4bb0dd1f1
2 files changed
tree: ad584ca71cecb7acbfd8ac5d7a26c85311573b35
  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
  14. .gitattributes
  15. .gitignore
  16. .gn
  17. .travis.yml
  20. CMakeLists.txt
  24. LICENSE.txt
  25. mac_common.cmake

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


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 file in this repository for more details. Please see the file in this repository for repository management details.

How to Build and Run 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-

This scheme was adopted following the 1.1.96 Vulkan specification release.


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.


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.