diff options
| author | 2019-10-18 19:37:25 +0000 | |
|---|---|---|
| committer | 2019-10-18 19:37:25 +0000 | |
| commit | 588cfdbb155317f4cd471cb8f5bfc7c74b58aae8 (patch) | |
| tree | 7d474bea80b2d34d9f93918968b156226a13ad6d /vulkan/libvulkan/api.cpp | |
| parent | 9c029a5f44d55f00f69f1d97ef4574d36fb0621e (diff) | |
| parent | 7cc36a50e15cc781d9b1260d2cf418780173b2ee (diff) | |
Merge "Vulkan: correctly expose Vulkan entry points"
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
| -rw-r--r-- | vulkan/libvulkan/api.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/vulkan/libvulkan/api.cpp b/vulkan/libvulkan/api.cpp index 48f26e7e43..1578d9ffce 100644 --- a/vulkan/libvulkan/api.cpp +++ b/vulkan/libvulkan/api.cpp @@ -519,7 +519,11 @@ LayerChain::LayerChain(bool is_instance, get_device_proc_addr_(nullptr), driver_extensions_(nullptr), driver_extension_count_(0) { - enabled_extensions_.set(driver::ProcHook::EXTENSION_CORE); + // advertise the loader supported core Vulkan API version at vulkan::api + for (uint32_t i = driver::ProcHook::EXTENSION_CORE_1_0; + i != driver::ProcHook::EXTENSION_COUNT; ++i) { + enabled_extensions_.set(i); + } } LayerChain::~LayerChain() { |