Closed toodemhard closed 3 hours ago
I use Renderdoc for SDL GPU debugging all the time without issue so I am not convinced this is our fault. It would help to see some code. Have you tried running with the validation layers?
My bad it's not SDL's fault it was "OpenCL™, OpenGL®, and Vulkan® Compatibility Pack" emulation layer installed by laptop manufacturer that I had to uninstall. SDL_Renderer worked because it was d3d12. RenderDoc dev helped me solve it.
I encountered this when trying to capture https://github.com/TheSpydog/SDL_gpu_examples and my own SDL_GPU app which is just a basic textured quad. The app runs fine and can be captured but when opening the capture which I assume does some playback stuff, an exception from Vulkan occurs. I think this occurs in any minimal app using SDL_GPU.
RenderDoc works with SDL_Renderer so I suspect this is an SDL_GPU issue.