mirror of
https://github.com/AxioDL/boo.git
synced 2025-05-16 04:11:21 +00:00
Use VK_LAYER_KHRONOS_validation
This commit is contained in:
parent
4417c43721
commit
ae07fcba0b
@ -379,13 +379,9 @@ bool VulkanContext::initVulkan(std::string_view appName, PFN_vkGetInstanceProcAd
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef NDEBUG
|
#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_RENDERDOC_Capture");
|
||||||
// m_layerNames.push_back("VK_LAYER_LUNARG_api_dump");
|
// 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
|
#endif
|
||||||
|
|
||||||
demo_check_layers(m_instanceLayerProperties, m_layerNames);
|
demo_check_layers(m_instanceLayerProperties, m_layerNames);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user