Efficient partitioning of fragment shaders for multiple-output hardware

  • Authors:
  • Tim Foley;Mike Houston;Pat Hanrahan

  • Affiliations:
  • Stanford University;Stanford University;Stanford University

  • Venue:
  • Proceedings of the ACM SIGGRAPH/EUROGRAPHICS conference on Graphics hardware
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

Partitioning fragment shaders into multiple rendering passes is an effective technique for virtualizing shading resource limits in graphics hardware. The Recursive Dominator Split (RDS) algorithm is a polynomial-time algorithm for partitioning fragment shaders for real-time rendering that has been shown to generate efficient partitions. RDS does not, however, work for shaders with multiple outputs, and does not optimize for hardware with support for multiple render targets.We present Merging Recursive Dominator Split (MRDS), an extension of the RDS algorithm to shaders with arbitrary numbers of outputs which can efficiently utilize hardware support for multiple render targets, as well as a new cost metric for evaluating the quality of multipass partitions on modern consumer graphics hardware. We demonstrate that partitions generated by our algorithm execute more efficiently than those generated by RDS alone, and that our cost model is effective in predicting the relative performance of multipass partitions.