ABSTRACT

Compiling a shading language to run on graphics hardware is quite similar to compiling any other language for any other somewhat quirky architecture. Anyone wanting to write a shading compiler of their own should look into the vast literature on general purpose compilers, as most of it applies [3, 8, 50, 121, 122].