How disable vulkan function message

Hello,

I am trying to remove all debug messages from my application, at this time I am not adding any debug extensions, no validation layers or debug callbacks, but functions like:

vkBeginCommandBuffer
vkCmdBeginRenderPass
vkQueueSubmit
vkEndCommandBuffer
vkQueuePresentKHR

And basically any vulkan function keeps printing debug messages like these:

Thread 0, Frame 592:
vkEndCommandBuffer (commandBuffer) returns VkResult VK_SUCCESS (0):
     commandBuffer: VkCommandBuffer = 000001EF2F4D33D0

Is there any way to disable it?

Regarts!

This looks like VK_LAYER_LUNARG_api_dump layer. You must have accidentally enabled it at VkInstance creation, or via the VK_INSTANCE_LAYERS environment variable.

1 Like

You were right it was the environment variable, thanks!