arrow
Return

Shader Components: Modular and High Performance Shader Development

delete2017-07-20
delete10
PRE
AI
贺
贺勇 (Yong He) *
F
Foley, Tim
T
Teguh Hofstee
K
Kayvon Fatahalian
DOI:10.1145/3072959.3073648delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Modern game engines seek to balance the conflicting goals of high rendering performance and productive software development. To improve CPU performance, the most recent generation of real-time graphics APIs provide new primitives for performing efficient batch updates to shader parameters. However, modern game engines featuring large shader codebases have struggled to take advantage of these benefits. The problem is that even though shader parameters can be organized into efficient modules bound to the pipeline at various frequencies, modern shading languages lack corresponding primitives to organize shader logic (requiring these parameters) into modules as well. The result is that complex shaders are typically compiled to use a monolithic block of parameters, defeating the design, and performance benefits, of the new parameter binding API. In this paper we propose to resolve this mismatch by introducing shader components, a first-class unit of modularity in a shader program that encapsulates a unit of shader logic and the parameters that must be bound when that logic is in use. We show that by building sophisticated shaders out of components, we can retain essential aspects of performance (static specialization of the shader logic in use and efficient update of parameters at component granularity) while maintaining the modular shader code structure that is desirable in today's high-end game engines.
Keywords:
shading languages
real-time rendering
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

ACM Transactions on Graphics cover
ACM Transactions on Graphics
IF:
9.5
Papers:
4.8K
Citations:
3.6W

Organization

T
tsinghua university
Scholars:
11.9W
Papers: 10.0W
Citations: 137
C
Carnegie Mellon University
Scholars:
1.4W
Papers: 1.4W
Citations: 2.7W
N
nvidia corporation
Scholars:
767
Papers: 439
Citations: 1
researcher View more organizations
Cited Papers

Cited Papers

Three paths to stress relief
err1996-11-01
err0
PREAI
errChristine E. Canman; Michael B. Kastan
errShare
errSave
A System for Rapid Exploration of Shader Optimization Choices
err2016-07-11
err8
errOAAI
errHe, Yong; Foley, Tim; Fatahalian, Kayvon
errShare
errSave
The Direct3D 10 system
err2006-07-01
err158
PREAI
errBlythe, David
errShare
errSave
Cg: A system for programming graphics hardware in a C-like language
err2003-07-01
err321
PREAI
errMark, WR; Glanville, RS; Akeley, K; Kilgard, MJ
errShare
errSave
Local Agenda 21: Progress in Portugal
err2000-04-01
err0
PREAI
errNorma Carter; Fernando Nunes da Silva; Fernanda Magalhães
errShare
errSave
CARM1 Regulates AMPK Signalling in Skeletal Muscle
err2020-01-01
err0
PREAI
errDerek W. Stouth; Tiffany L. vanLieshout; Sean Ng; Zachary Moll; Vladimir Ljubicic
errShare
errSave
no more