OSDN Git Service

vulkan: fix crash when only non-global layers are enabled
authorChia-I Wu <olv@google.com>
Fri, 27 May 2016 02:18:25 +0000 (10:18 +0800)
committerChia-I Wu <olv@google.com>
Fri, 27 May 2016 02:37:48 +0000 (10:37 +0800)
commit61b25fdffc360ab70e1f33be0bb43c911150277b
tree90b69526c875fef02ca6dc12c7f49d9a4cbe3978
parentb9be0cf397eb6053fb5b472d91cf2d6a22c6693f
vulkan: fix crash when only non-global layers are enabled

We fail to set up get_instance_proc_addr_ and get_device_proc_addr_ when
there are layers but only non-global ones.

Bug: 28990561
Change-Id: I82704f946deb5a76640f9dfb792e6fd118c78aa7
vulkan/libvulkan/api.cpp