Closed GasimGasimzada closed 2 years ago
I foudn the error, The GPU CONTEXT function was inside another function that was causing it to get destroyed before the command recoding began. So, I moved the function call to the scope where both the begin and end commnad buffer is in the same scope.
I have initialized the a Vulkan GPU, setup context, and flipped the swapchain at the end. However, when I add
OPTICK_GPU_EVENT
the app crashes when I click the "Play" button in Optick app to connect to my application. The error that I get is coming from Vulkan with the following validation error:What am I doing wrong here? Here is a simplified version of my code:
I found out that I need to enable query reset feature:
However, this also did not solve my problem