A system for rapid exploration of shader optimization choices

作者: Yong He , Tim Foley , Kayvon Fatahalian

DOI: 10.1145/2897824.2925923

关键词:

摘要: We present Spire, a shading language and compiler framework that facilitates rapid exploration of shader optimization choices (such as frequency reduction algorithmic approximation) afforded by modern real-time graphics engines. Our design combines ideas from rate-based programming with new features expand the scope execution beyond traditional GPU hardware pipelines, enable diverse set optimizations to be described single mechanism: overloading terms at various spatio-temporal computation rates provided pipeline. In contrast prior work, neither language's design, nor our framework's implementation, is specific capabilities any one rendering pipeline, thus Spire establishes architectural separation between system implementation engines (allowing different pipelines utilize its services). demonstrate use author complex shaders are portable across rapidly explore decisions span multiple compute passes even offline asset preprocessing. further utility developing level-of-detail library auto-tuning on top abstractions, rapid, automatic re-optimization for target platforms.

参考文章(23)
Lei Yang, Pedro V. Sander, Jason Lawrence, Geometry-aware framebuffer level of detail eurographics. ,vol. 27, pp. 1183- 1188 ,(2008) , 10.1111/J.1467-8659.2008.01256.X
Jonathan Ragan-Kelley, Andrew Adams, Sylvain Paris, Marc Levoy, Saman Amarasinghe, Frédo Durand, Decoupling algorithms from schedules for easy optimization of image processing pipelines international conference on computer graphics and interactive techniques. ,vol. 31, pp. 32- ,(2012) , 10.1145/2185520.2185528
Jason Ansel, Cy Chan, Yee Lok Wong, Marek Olszewski, Qin Zhao, Alan Edelman, Saman Amarasinghe, PetaBricks Proceedings of the 2009 ACM SIGPLAN conference on Programming language design and implementation - PLDI '09. ,vol. 44, pp. 38- 49 ,(2009) , 10.1145/1542476.1542481
Petrik Clarberg, Robert Toth, Jon Hasselgren, Jim Nilsson, Tomas Akenine-Möller, AMFS: adaptive multi-frequency shading for future graphics processors international conference on computer graphics and interactive techniques. ,vol. 33, pp. 141- 141 ,(2014) , 10.1145/2601097.2601214
L. Kavan, A.W. Bargteil, P.-P. Sloan, Least squares vertex baking eurographics. ,vol. 30, pp. 1319- 1326 ,(2011) , 10.1111/J.1467-8659.2011.01991.X
Yong He, Tim Foley, Natalya Tatarchuk, Kayvon Fatahalian, A system for rapid, automatic shader level-of-detail international conference on computer graphics and interactive techniques. ,vol. 34, pp. 187- ,(2015) , 10.1145/2816795.2818104
Sean Treichler, Alex Aiken, Elliott Slaughter, Michael Bauer, Legion: expressing locality and independence with logical regions ieee international conference on high performance computing data and analytics. pp. 1- 11 ,(2012) , 10.5555/2388996.2389086
Anjul Patney, Stanley Tzeng, Kerry A. Seitz, John D. Owens, Piko: a framework for authoring programmable graphics pipelines international conference on computer graphics and interactive techniques. ,vol. 34, pp. 147- ,(2015) , 10.1145/2766973
Pitchaya Sitthi-Amorn, Nicholas Modly, Westley Weimer, Jason Lawrence, Genetic programming for shader simplification Proceedings of the 2011 SIGGRAPH Asia Conference on - SA '11. ,vol. 30, pp. 152- ,(2011) , 10.1145/2024156.2024186
Tim Foley, Pat Hanrahan, Spark ACM SIGGRAPH 2011 papers on - SIGGRAPH '11. ,vol. 30, pp. 107- ,(2011) , 10.1145/1964921.1965002