diff options
author | Mark Young <marky@lunarg.com> | 2018-07-16 18:45:55 +0300 |
---|---|---|
committer | Mark Young <marky@lunarg.com> | 2018-07-16 19:53:35 +0300 |
commit | da58202e9569eff53560b4c3a007de2297be40d2 (patch) | |
tree | 66979c819c268987a7cda4c41291b0645a714c13 | |
parent | f995778e7337216c550f9deca71203159d2ea49f (diff) |
loader: GH54: Fix setfault with VK_EXT_debug_utilsupstream-unstable
The loader was not setting the device flag indicating that the
VK_EXT_debug_utils extension had been set in the instance unless
one or more device extensions had been added to the list.
This fixes the bug caught by nikitablack on StackOverflow.
Change-Id: I23c24ee059ab5a66b9dbfdb9fa9ddab009fb2118
-rw-r--r-- | loader/loader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/loader.c b/loader/loader.c index fc56b9044..1d8dfdf73 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -5582,8 +5582,8 @@ VKAPI_ATTR VkResult VKAPI_CALL terminator_CreateDevice(VkPhysicalDevice physical } else if (!strcmp(localCreateInfo.ppEnabledExtensionNames[i], VK_EXT_DEBUG_MARKER_EXTENSION_NAME)) { dev->extensions.ext_debug_marker_enabled = true; } - dev->extensions.ext_debug_utils_enabled = icd_term->this_instance->enabled_known_extensions.ext_debug_utils; } + dev->extensions.ext_debug_utils_enabled = icd_term->this_instance->enabled_known_extensions.ext_debug_utils; res = fpCreateDevice(phys_dev_term->phys_dev, &localCreateInfo, pAllocator, &dev->icd_device); if (res != VK_SUCCESS) { |