Graphics Analyzer vulkan wrong trace analysis



This is a screenshot of problem.
It report an error : ERROR Only secondary command buffers may be executed within a subpass started with VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS.

And it highlight the two vkCmdNextSubpass function call.

But as far as i know, vkCmdNextSubpass must be called with primary command buffer, and VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS problem should stop when encounter vkCmdNextSubpass or vkCmdEndPass as the vulkan specification said: https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkSubpassContents.html



Device: Huawei P40
Software: Graphcs Analyzer 5.11.0.69697cdd