Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode GPU shader profiler

The Xcode->GPU Capture frame->GPU shader profiler can't work, I run the Capture frame, and open the Metal compute shader source code by GPU shader profiler. But I can't see the shader code performance profile like thatGPU shader profiler

like image 986
冯剑龙 Avatar asked Jan 28 '23 23:01

冯剑龙


1 Answers

Set your project's "iOS Deployment Target" to a higher version. I had this issue and in my case it was set to 9.x. When I set it to 11.4 I could see the percentage on source lines.

like image 169
SurvivalMachine Avatar answered Mar 05 '23 20:03

SurvivalMachine