This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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

Parents
  • Thanks for the bug report - I agree with your analysis. 

    In general for Vulkan development I would recommend using RenderDoc for API debug - we're not developing the current Graphics Analyzer tool further so this bug is unlikely to get fixed. 

    Kind regards, 
    Pete

Reply
  • Thanks for the bug report - I agree with your analysis. 

    In general for Vulkan development I would recommend using RenderDoc for API debug - we're not developing the current Graphics Analyzer tool further so this bug is unlikely to get fixed. 

    Kind regards, 
    Pete

Children
No data