glsl: change GLSL #pragma initialization
authorBrian Paul <brianp@vmware.com>
Thu, 19 Mar 2009 16:25:24 +0000 (10:25 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 19 Mar 2009 16:29:13 +0000 (10:29 -0600)
commit65fc2ca82a38bc00ae4223124932af6771765041
tree07d7a4b23f2e2d86af8131970df47780aa7f040a
parenta57d7edf069d1d161a45825021a7cf4d825fb88f
glsl: change GLSL #pragma initialization

Initialize the shader's pragma settings before calling the compiler.
Added pragma "Ignore" fields to allow overriding the #pragma directives found
in shader source code.
src/mesa/main/mtypes.h
src/mesa/shader/shader_api.c
src/mesa/shader/slang/slang_compile.c
src/mesa/shader/slang/slang_preprocess.c