Let’s say that I have come computation logic that is done in the GPU (kernel function) and triggered with a condition in some frames.
How can I capture the GPU frame to debug it?
I’m trying to put a breakpoint inside the same condition after I commit the command buffer but when I capture the GPU frame no encoder appears in the debugger…
Thanks in advance
Presumably you’ve done the easy shader debugging?
Beyond that, I’m afraid I tend to just break up my app until I can work it out. There are other debugging tools, but I haven’t used them.
This looks like the right video to watch:
This is an older one: Metal Shader Debugging and Profiling - WWDC 2018 - Videos - Apple Developer
Thank you very much!!!
Yes, easy way done. I’ll investigate these videos