···14461446 }
14471447#endif
1448144814491449-#ifdef VK_EXT_debug_utils
14501450- if (debug_utils_enabled) {
14511451- vk->has_EXT_debug_utils = true;
14521452- }
14531453-#endif
14541454-14551449 // Fill in the device features we are interested in.
14561450 fill_in_device_features(vk);
14571451···1466146014671461 vk->vkGetDeviceQueue(vk->device, vk->queue_family_index, vk->queue_index, &vk->queue);
1468146214631463+ vk->has_EXT_debug_utils = false;
14641464+ if (debug_utils_enabled) {
14651465+#ifdef VK_EXT_debug_utils
14661466+ if (vk->vkSetDebugUtilsObjectNameEXT) {
14671467+ vk->has_EXT_debug_utils = true;
14681468+ } else {
14691469+ VK_WARN(vk, "EXT_debug_utils requested but extension is not loaded");
14701470+ }
14711471+#else
14721472+ VK_WARN(vk, "EXT_debug_utils requested but extension was not available at compile time");
14731473+#endif
14741474+ }
1469147514701476 return VK_SUCCESS;
14711477