Use VK_LAYER_KHRONOS_validation

This commit is contained in:
Luke Street 2020-04-16 03:15:14 -04:00
parent 4417c43721
commit ae07fcba0b
1 changed files with 1 additions and 5 deletions

View File

@ -379,13 +379,9 @@ bool VulkanContext::initVulkan(std::string_view appName, PFN_vkGetInstanceProcAd
#endif
#ifndef NDEBUG
m_layerNames.push_back("VK_LAYER_LUNARG_standard_validation");
m_layerNames.push_back("VK_LAYER_KHRONOS_validation");
// m_layerNames.push_back("VK_LAYER_RENDERDOC_Capture");
// m_layerNames.push_back("VK_LAYER_LUNARG_api_dump");
// m_layerNames.push_back("VK_LAYER_LUNARG_core_validation");
// m_layerNames.push_back("VK_LAYER_LUNARG_object_tracker");
// m_layerNames.push_back("VK_LAYER_LUNARG_parameter_validation");
// m_layerNames.push_back("VK_LAYER_GOOGLE_threading");
#endif
demo_check_layers(m_instanceLayerProperties, m_layerNames);