commit | 1f8f46bbccce0f1aabe7f12a6a26d772cd17b5b7 | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olv@google.com> | Wed Apr 06 14:17:48 2016 +0800 |
committer | Chia-I Wu <olv@google.com> | Thu Apr 07 13:54:08 2016 +0800 |
tree | 480bc708d325350a82b51fec2be00ba162329d9e | |
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