←back to thread

AMD GPU Debugger

(thegeeko.me)
276 points ibobev | 1 comments | | HN request time: 0.291s | source
Show context
mitchellh ◴[] No.46196392[source]
Non-AMD, but Metal actually has a [relatively] excellent debugger and general dev tooling. It's why I prefer to do all my GPU work Metal-first and then adapt/port to other systems after that: https://developer.apple.com/documentation/Xcode/Metal-debugg...

I'm not like a AAA game developer or anything so I don't know how it holds up in intense 3D environments, but for my use cases it's been absolutely amazing. To the point where I recommend people who are dabbling in GPU work grab a Mac (Apple Silicon often required) since it's such a better learning and experimentation environment.

I'm sure it's linked somewhere there but in addition to traditionally debugging, you can actually emit formatted log strings from your shaders and they show up interleaved with your app logs. Absolutely bonkers.

The app I develop is GPU-powered on both Metal and OpenGL systems and I haven't been able to find anything that comes near the quality of Metal's tooling in the OpenGL world. A lot of stuff people claim is equivalent but for someone who has actively used both, I strongly feel it doesn't hold a candle to what Apple has done.

replies(6): >>46197193 #>>46197483 #>>46198075 #>>46199826 #>>46199836 #>>46203828 #
1. Archit3ch ◴[] No.46199836[source]
Same, Metal is a clean and modern API.

Is anyone here doing Metal compute shaders on iPad? Any tips?