Stream compaction for deferred shading
Stream compaction for deferred shading
复制标题
用于延迟着色的流压缩
DOI:
10.1145/1572769.1572797
复制
发表时间:
2009
期刊:
影响因子:
--
通讯作者:
J. Hart
中科院分区:
文献类型:
--
作者:
Jared Hoberock;Victor Lu;Yuntao Jia;J. Hart
The GPU leverages SIMD efficiency when shading because it rasterizes a triangle at a time, running the same shader on all of its fragments. Ray tracing sacrifices this shader coherence, and the result is that SIMD units often must run different shaders simultaneously resulting in serialization. We study this problem and define a new measure called heterogeneous efficiency to measure SIMD divergence among multiple shaders of different complexities in a ray tracing application. We devise seven different algorithms for scheduling shaders onto SIMD processors to avoid divergence. In all but simply shaded scenes, we show the expense of sorting shaders pays off with better overall shading performance.