首页 > 其他 > 详细

gpu memory wait

时间:2020-01-17 15:48:07      阅读:91      评论:0      收藏:0      [点我收藏+]

https://developer.apple.com/documentation/metal/shader_authoring/optimizing_performance_with_the_shader_profiler

 

技术分享图片
Synchronization (wait memory)

Waiting for dependent memory accesses such as texture sampling or buffer read/write.

 

uber shader 里面很容易遇到这个memory wait

改下shader的写法能提升1ms左右

bloom tex resolution对这个事情没有什么影响

bloom tex format降低能再降1ms

 

涉及 sample这边的消耗 和带宽这边的限制

uber的rt降低肯定能改善这个事情

留着这2ms放alu

gpu memory wait

原文:https://www.cnblogs.com/minggoddess/p/12205907.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!