diff options
author | 2016-04-06 14:17:48 +0800 | |
---|---|---|
committer | 2016-04-07 13:54:08 +0800 | |
commit | 1f8f46bbccce0f1aabe7f12a6a26d772cd17b5b7 (patch) | |
tree | 480bc708d325350a82b51fec2be00ba162329d9e /cmds/dumpstate/utils.cpp | |
parent | 79632ee48a8cddf31a1ec15c0c5217b3d3608622 (diff) |
vulkan: check for unsupported extensions
Return VK_ERROR_EXTENSION_NOT_PRESENT when an app attempts to enable an
unsupported extension. This fixes a regression introduced by my top
rewrite (commit 0c20324: vulkan: rewrite top of loader).
Since we do not cache HAL extensions, each vkCreateInstance or
vkCreateDevice call is preceded by two extension enumeration calls
internally.
Change-Id: I5342c1a5c9a5452dd2bc52933a5ee558db174048
Diffstat (limited to 'cmds/dumpstate/utils.cpp')
0 files changed, 0 insertions, 0 deletions