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:

Device: Huawei P40
Software: Graphcs Analyzer

Parents Reply Children
No data