Automated reprojection-based pixel shader optimization

Pitchaya Sitthi-Amorn*, Jason Lawrence, Lei Yang, Pedro V. Sander, Diego Nehab, Jiahe Xi

*Corresponding author for this work

Research output: Chapter in Book/Conference Proceeding/ReportConference Paper published in a bookpeer-review

Abstract

We present a framework and supporting algorithms to automate the use of temporal data reprojection as a general tool for optimizing procedural shaders. Although the general strategy of caching and reusing expensive intermediate shading calculations across consecutive frames has previously been shown to provide an effective trade-off between speed and accuracy, the critical choices of what to reuse and at what rate to refresh cached entries have been left to a designer. The fact that these decisions require a deep understanding of a procedure's semantic structure makes it challenging to select optimal candidates among possibly hundreds of alternatives. Our automated approach relies on parametric models of the way possible caching decisions affect the shader's performance and visual fidelity. These models are trained using a sample rendering session and drive an interactive profiler in which the user can explore the error/ performance trade-offs associated with incorporating temporal reprojection. We evaluate the proposed models and selection algorithm with a prototype system used to optimize several complex shaders and compare our approach to current alternatives.

Original languageEnglish
Title of host publicationACM SIGGRAPH Asia 2008 Papers, SIGGRAPH Asia'08
PublisherAssociation for Computing Machinery
ISBN (Print)9781450318310
DOIs
Publication statusPublished - 2008
EventACM SIGGRAPH Asia 2008 Papers, SIGGRAPH Asia 2008 - Singapore, Singapore
Duration: 10 Dec 200813 Dec 2008

Publication series

NameACM SIGGRAPH Asia 2008 Papers, SIGGRAPH Asia'08

Conference

ConferenceACM SIGGRAPH Asia 2008 Papers, SIGGRAPH Asia 2008
Country/TerritorySingapore
CitySingapore
Period10/12/0813/12/08

Keywords

  • Code optimization
  • Procedural shading
  • Real-time rendering
  • Temporal reprojection

Fingerprint

Dive into the research topics of 'Automated reprojection-based pixel shader optimization'. Together they form a unique fingerprint.

Cite this