diff options
| author | Gabríel Arthúr Pétursson <gabriel@system.is> | 2019-04-19 13:35:24 +0000 |
|---|---|---|
| committer | jeremyk-lunarg <jeremyk@lunarg.com> | 2019-04-30 14:36:36 -0600 |
| commit | 8f1b03927b85b5e1a4a64b39b04ad6845064cb1e (patch) | |
| tree | 3513d09300e35d8db4c5ade28893afa8162084a3 /cube/cube.cpp | |
| parent | f8d925987ba7e60ae99e9c4cc50a7df326ecdf16 (diff) | |
| download | usermoji-8f1b03927b85b5e1a4a64b39b04ad6845064cb1e.tar.xz | |
vulkaninfo: Check support for surface extensions before using them
Not all ICDs support all the surface extensions that vulkaninfo
enumerates.
For example, on Linux with an ICD that only support VK_KHR_xcb_surface,
vulkaninfo crashes:
Presentable Surfaces:
=====================
ERROR: VK_KHR_xlib_surface extension not enabled. vkCreateXlibSurfaceKHR not executed!
vulkaninfo/vulkaninfo.c:1427: failed with VK_ERROR_EXTENSION_NOT_PRESENT
Diffstat (limited to 'cube/cube.cpp')
0 files changed, 0 insertions, 0 deletions
