gpu memory wait

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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章