glsl: Implement `pragma' preprocessor directive.
authorMichal Krol <michal@vmware.com>
Fri, 4 Sep 2009 08:48:51 +0000 (10:48 +0200)
committerMichal Krol <michal@vmware.com>
Mon, 7 Sep 2009 08:11:58 +0000 (10:11 +0200)
commit0e046420e468bcb81301aa5a5e4de736a8b4844a
tree075b9f107bc2fac9b8c765c2d1833a4bca0c17b6
parentc42428c787aae4bc560adf507991f1e274407135
glsl: Implement `pragma' preprocessor directive.

Handle `optimize(on|off)' and `debug(on|off)' pragmas.
src/glsl/pp/SConscript
src/glsl/pp/sl_pp_pragma.c [new file with mode: 0644]
src/glsl/pp/sl_pp_process.c
src/glsl/pp/sl_pp_process.h
src/glsl/pp/sl_pp_token.h