where is the shader profiler?

I've seen some documentation on the Shader Profiler that is part of GPU frame capture for Metal. How do I get to it? If I select a fragment shader function in my GPU trace, it shows the shader code, but I don't see anything like the grey lines and execution times that are part of the profiler. How do I enable that?

Replies

you don't need to enable it, however, it only works with iOS targets.

Per-line is iOS (& tvOS) only, and requires that your deployment target is setting to the latest version of iOS. Per-shader & per-draw is available on all Metal platforms and can be found by switching the debug navigator from 'View Frame By Call" to "View Frame By Performance".

Hi PlanetSeth,

Is there any chance to see the per-line profiler one day on macOS ?