- 精华
- 0
- 帖子
- 3503
- 威望
- 0 点
- 积分
- 3556 点
- 种子
- 640 点
- 注册时间
- 2013-2-21
- 最后登录
- 2025-2-26
|
发表于 2021-6-17 07:49 · 上海
|
显示全部楼层
When rays become incoherent inside a wavefront, memory accesses become more incoherent as well. This stresses the memory hierarchy more and may significantly decrease the overall traverasal performance.
On this platform, only the ray/box and ray/triangle intersection routines are handled in hardware. The rest of the traversal code (recusion handling, matrix multiplication, iterating over the primitive list and so on...) is still done in software. Since the machine is running with SIMD wavefronts, ray incoherency will therefore lead to more divergence in the execution flow and ultimately to execute significantly more code per-wavefront.
ps5的SDK都泄露好久了,有兴趣可以看下sample_code\graphics\api_psr\psr_fast_trace的实现 |
|