glsl: add preprocessor support for #pragma
authorBrian Paul <brianp@vmware.com>
Tue, 13 Jan 2009 22:06:52 +0000 (15:06 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 13 Jan 2009 22:09:40 +0000 (15:09 -0700)
commit01a0938776ad12e6560a17163bb7a6a3da9e9820
tree07bd9abda361bd14f3be924daa021d94590cc37f
parent1f47388dfebf15f610993f046e1f945024c8fc3c
glsl: add preprocessor support for #pragma

Two forms are supported:

Pragmas are silently ignored at this time.
src/mesa/shader/slang/library/slang_pp_directives.syn
src/mesa/shader/slang/library/slang_pp_directives_syn.h
src/mesa/shader/slang/slang_preprocess.c