Update lang submodule.

(also sneak in a couple of log lines)
This commit is contained in:
Henrik Rydgård 2020-06-14 17:14:00 +02:00
parent 5ef442f682
commit 6b93e73a8e
2 changed files with 3 additions and 1 deletions

View File

@ -133,6 +133,7 @@ VkResult VulkanContext::CreateInstance(const CreateInfo &info) {
}
instance_extensions_enabled_.push_back(VK_EXT_DEBUG_UTILS_EXTENSION_NAME);
extensionsLookup_.EXT_debug_utils = true;
ILOG("Vulkan debug_utils validation enabled.");
} else if (IsInstanceExtensionAvailable(VK_EXT_DEBUG_REPORT_EXTENSION_NAME)) {
for (size_t i = 0; i < ARRAY_SIZE(validationLayers); i++) {
instance_layer_names_.push_back(validationLayers[i]);
@ -140,6 +141,7 @@ VkResult VulkanContext::CreateInstance(const CreateInfo &info) {
}
instance_extensions_enabled_.push_back(VK_EXT_DEBUG_REPORT_EXTENSION_NAME);
extensionsLookup_.EXT_debug_report = true;
ILOG("Vulkan debug_report validation enabled.");
} else {
ELOG("Validation layer extension not available - not enabling Vulkan validation.");
flags_ &= ~VULKAN_FLAG_VALIDATE;

@ -1 +1 @@
Subproject commit 3a5eb3fcb4852cb28c9138e78492effa0c227253
Subproject commit d8c45f0652905aa27b94bc3f373b49a77766d24a