diff options
| author | 2019-10-18 20:24:24 +0000 | |
|---|---|---|
| committer | 2019-10-18 20:24:24 +0000 | |
| commit | 8aeaf3c321d09e1d6f9701d88a0b65495358293e (patch) | |
| tree | 01840aa7c2cdf02bd07c1e9c2d436657251504e6 /vulkan/libvulkan/api.cpp | |
| parent | a1ebc66b6fe12be1f38ade6cc98f38edc980eb85 (diff) | |
| parent | ec6c50539be6311693ec67cd69baa84f56654c78 (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 71048db920..3d56656896 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() { |