Update reason for hiding vktrace layer

This commit is contained in:
Li Hao 2018-09-03 17:13:33 +08:00 committed by Corentin Wallez
parent 92bddc47c9
commit 3cc58af801
1 changed files with 3 additions and 2 deletions

View File

@ -421,8 +421,9 @@ namespace dawn_native { namespace vulkan {
extensions->push_back(extension); extensions->push_back(extension);
}; };
// vktrace works by instering a layer, but we hide it behind a macro unless we are // vktrace works by instering a layer, but we hide it behind a macro due to the vktrace
// debugging in vktrace. // layer crashes when used without vktrace server started, see this vktrace issue:
// https://github.com/LunarG/VulkanTools/issues/254
// Also it is good to put it in first position so that it doesn't see Vulkan calls inserted // Also it is good to put it in first position so that it doesn't see Vulkan calls inserted
// by other layers. // by other layers.
#if defined(DAWN_USE_VKTRACE) #if defined(DAWN_USE_VKTRACE)