OpenGL® Shading Language Front-End Compiler Open Source

Published by

The production source code for the front-end compiler for the OpenGL Shading Language on Wildcat VP is being made available by 3Dlabs under an open source license that enables free commercial use. Our intent is to encourage all hardware vendors to rapidly develop OpenGL Shading Language compilers. The compiler source includes pre-processing, lexical analysis, parsing, semantic checking and building of an intermediate program representation. This intermediate representation can be traversed by a back-end compiler to generate machine specific code.