Closed jeroenbakker-atmind closed 2 months ago
A couple of things:
The repo Api Dump lives in is LunarG/VulkanTools
, not KhronosGroup/Vulkan-Tools
. Extremely confusing and easy to get wrong.
Api dump doesn't print the parameters before calling down because it has no effective way to know which parameters are "input" and which are "output". Not to mention that the actual order of the parameters is mixed together. The general logic of API dump is "print function header, call down, print parameter values"
A couple of solutions
This issue is closed as it has been transferred to https://github.com/LunarG/VulkanTools/issues/2063
For debugging synchronization issues I enable via vkconfig both
VK_LAYER_LUNARG_api_dump
andVK_LAYER_KHRONOS_validation
with the next configuration.Notice I enabled the
Output to File->Log Flush After Write
andDebug Action->Break
options as I want to directly take action and see check stack frames. I don't write to file, but directly to the console.The issue is that
VK_LAYER_LUNARG_api_dump
doesn't report the parameter values before the synchronization log even when the layer is "closest to the vulkan application".I expected to see the parameters, before the synchronization issue and break signal so there is more information to check. Currently as the debugger is open I need to go back and forth to the stack frame that contains the information.
Expected log: