EGGH01: SIGGRAPH/Eurographics Workshop on Graphics Hardware 2001
Permanent URI for this collection
Browse
Browsing EGGH01: SIGGRAPH/Eurographics Workshop on Graphics Hardware 2001 by Subject "Compilers and code generation L3.l [Computer Graphics]"
Now showing 1 - 1 of 1
Results Per Page
Sort Options
Item Compiling to a VLIW Fragment Pipeline(The Eurographics Association, 2001) Mark, William R.; Proudfoot, Kekoa; Kurt Akeley and Ulrich NeumannThe latest generation of graphics hardware supports fully programmable vertex and pixel/fragment operations, but programming this hardware at a low level is difficult and time consuming. To address this problem, we have developed a complete real-time procedural shading system that compiles a high-level shading language to programmable vertex and fragment hardware, as described in a separate publication. In this paper, we describe in detail the algorithms used by this system to generate and optimize fragment code for NVIDIAs register combiner architecture and show that our compiler generates efficient code. The register combiner architecture has some similarities to WIW CPU architectures, so we compare our compilation algorithms to those described in the literature for VLIW CPU architectures. We also discuss some of the lessons we leamed from building and using this compiler that may be useful to the designers of future programmable graphics hardware.