Xcode GPU着色器探查器 [英] Xcode GPU shader profiler

查看:294
本文介绍了Xcode GPU着色器探查器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Xcode-> GPU Capture框架-> GPU着色器探查器无法工作,我运行Capture框架,并通过GPU着色器探查器打开Metal计算着色器源代码.但是我看不到这样的着色器代码性能配置文件 GPU着色器配置文件

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

推荐答案

将项目的"iOS部署目标"设置为更高版本.我遇到了这个问题,就我而言,它设置为9.x.当我将其设置为11.4时,我可以在源代码行上看到该百分比.

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.

这篇关于Xcode GPU着色器探查器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆