From 3e077bf28ce67da08250a9a061ad14b38fbf47ec Mon Sep 17 00:00:00 2001 From: Courtney Goeltzenleuchter Date: Mon, 5 Oct 2015 14:41:34 -0600 Subject: layers: Add support for Windows DEBUG_OUTPUT logging --- layers/vk_layer_config.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'layers/vk_layer_config.cpp') diff --git a/layers/vk_layer_config.cpp b/layers/vk_layer_config.cpp index 66254c74..1d8bde27 100755 --- a/layers/vk_layer_config.cpp +++ b/layers/vk_layer_config.cpp @@ -59,6 +59,10 @@ static VkLayerDbgAction stringToDbgAction(const char *_enum) return VK_DBG_LAYER_ACTION_IGNORE; else if (!strcmp(_enum, "VK_DBG_LAYER_ACTION_LOG_MSG")) return VK_DBG_LAYER_ACTION_LOG_MSG; +#ifdef WIN32 + else if (!strcmp(_enum, "VK_DBG_LAYER_ACTION_DEBUG_OUTPUT")) + return VK_DBG_LAYER_ACTION_DEBUG_OUTPUT; +#endif else if (!strcmp(_enum, "VK_DBG_LAYER_ACTION_BREAK")) return VK_DBG_LAYER_ACTION_BREAK; return (VkLayerDbgAction) 0; -- cgit v1.2.3