Publication Details

Functional Programming of Geometry Shaders

HAVEL Jiří. Functional Programming of Geometry Shaders. In: WSCG 2010 Communication Papers Proceedings. Plzeň: University of West Bohemia in Pilsen, 2010, pp. 9-13. ISBN 978-80-86943-87-9.
Czech title
Funkcionální programování geometry shaderů
Type
conference paper
Language
english
Authors
Havel Jiří, Ing., Ph.D. (DCGM FIT BUT)
Keywords

Rendering, Shaders, Functional Programming

Abstract

This paper focuses on graphical shader programming, which is essential for real-time rendering. Opposite to classical low
level, structured languages, functional approach is used in this work and existing work is extended to cover geometry shader
programming. The compiler is able to transform the program in a way that is hard to achieve with classical languages. The
program is written for all pipeline stages at once and the compiler does the partitioning. This allows the programmer to focus
on program semantics and let the compiler take care of the efficient execution. First, this paper describes shader stages as
functions in a mathematical manner. The process of program partitioning and transformation to one of the classical languages
is described. Several examples show the differences between functional description and equivalent structured code.

Published
2010
Pages
9-13
Proceedings
WSCG 2010 Communication Papers Proceedings
Conference
Winter School of Computer Graphics 2010, Plzeň, CZ
ISBN
978-80-86943-87-9
Publisher
University of West Bohemia in Pilsen
Place
Plzeň, CZ
BibTeX
@INPROCEEDINGS{FITPUB9206,
   author = "Ji\v{r}\'{i} Havel",
   title = "Functional Programming of Geometry Shaders",
   pages = "9--13",
   booktitle = "WSCG 2010 Communication Papers Proceedings",
   year = 2010,
   location = "Plze\v{n}, CZ",
   publisher = "University of West Bohemia in Pilsen",
   ISBN = "978-80-86943-87-9",
   language = "english",
   url = "https://www.fit.vut.cz/research/publication/9206"
}
Back to top