bombomby/optick

Vulkan issue.

Simoncl opened this issue · 0 comments

I have a very simple setup and all I'm currently doing is OPTICK_GPU_FLIP(getSwapChain());
before the vkQueuePresentKHR However, I get the following validation layer error.

validation layer: Validation Error: [ VUID-vkCmdResetQueryPool-commandBuffer-recording ] Object 0: handle = 0x210488f7630, type = VK_OBJECT_TYPE_COMMAND_BUFFER; | MessageID = 0x45e90123 | You must call vkBeginCommandBuffer() before this call to vkCmdResetQueryPool. The Vulkan spec states: commandBuffer must be in the recording state (https://vulkan.lunarg.com/doc/view/1.3.216.0/windows/1.3-extensions/vkspec.html#VUID-vkCmdResetQueryPool-commandBuffer-recording)

Any help would be very much appreciated