Stream compaction for deferred shading

Jared Hoberock, Victor Lu, Yuntao Jia, John C. Hart

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

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.

Original languageEnglish (US)
Title of host publicationProceedings of the HPG 2009
Subtitle of host publicationConference on High-Performance Graphics 2009
Pages173-180
Number of pages8
DOIs
StatePublished - 2009
EventHPG 2009: Conference on High-Performance Graphics 2009 - New Orleans, LA, United States
Duration: Aug 1 2009Aug 3 2009

Publication series

NameProceedings of the HPG 2009: Conference on High-Performance Graphics 2009

Other

OtherHPG 2009: Conference on High-Performance Graphics 2009
Country/TerritoryUnited States
CityNew Orleans, LA
Period8/1/098/3/09

ASJC Scopus subject areas

  • Computational Theory and Mathematics
  • Computer Graphics and Computer-Aided Design
  • Hardware and Architecture
  • Software

Fingerprint

Dive into the research topics of 'Stream compaction for deferred shading'. Together they form a unique fingerprint.

Cite this