Stream Compaction for Deferred Shading
View/ Open
Date
2009Author
Hoberock, Jared
Lu, Victor
Jia, Yuntao
Hart, John C.
Metadata
Show full item recordAbstract
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.
BibTeX
@inproceedings {10.1145:1572769.1572797,
booktitle = {High-Performance Graphics},
editor = {David Luebke and Philipp Slusallek},
title = {{Stream Compaction for Deferred Shading}},
author = {Hoberock, Jared and Lu, Victor and Jia, Yuntao and Hart, John C.},
year = {2009},
publisher = {The Eurographics Association},
ISSN = {2079-8687},
ISBN = {978-1-60558-603-8},
DOI = {10.1145/1572769.1572797}
}
booktitle = {High-Performance Graphics},
editor = {David Luebke and Philipp Slusallek},
title = {{Stream Compaction for Deferred Shading}},
author = {Hoberock, Jared and Lu, Victor and Jia, Yuntao and Hart, John C.},
year = {2009},
publisher = {The Eurographics Association},
ISSN = {2079-8687},
ISBN = {978-1-60558-603-8},
DOI = {10.1145/1572769.1572797}
}