sl/pp: re-do extension testing code
authorBrian Paul <brianp@vmware.com>
Tue, 16 Feb 2010 17:42:05 +0000 (10:42 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 16 Feb 2010 17:43:36 +0000 (10:43 -0700)
commitde5928a61549a6ca66e6b9ff6e50b305f653888c
tree7eec9b42a9420533b632cd2f39dc5fdafbcb0011
parentf7aea808a4724a9e50bf3afa5a1bf547d0da5d65
sl/pp: re-do extension testing code

The #extension directive should not effect which extension preprocessor
symbols are defined/undefined; only whether/how the compiler accepts
language features defined by the extension.
src/glsl/pp/sl_pp_context.h
src/glsl/pp/sl_pp_extension.c
src/glsl/pp/sl_pp_if.c
src/glsl/pp/sl_pp_public.h