summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/loader.cpp
diff options
context:
space:
mode:
author Chia-I Wu <olv@google.com> 2016-04-06 14:17:48 +0800
committer Chia-I Wu <olv@google.com> 2016-04-07 13:54:08 +0800
commit1f8f46bbccce0f1aabe7f12a6a26d772cd17b5b7 (patch)
tree480bc708d325350a82b51fec2be00ba162329d9e /vulkan/libvulkan/loader.cpp
parent79632ee48a8cddf31a1ec15c0c5217b3d3608622 (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 'vulkan/libvulkan/loader.cpp')
0 files changed, 0 insertions, 0 deletions