slang: Invoke the preprocessor from withing the slang compiler.
authorMichal Krol <michal@vmware.com>
Wed, 16 Sep 2009 17:24:50 +0000 (19:24 +0200)
committerMichal Krol <michal@vmware.com>
Wed, 16 Sep 2009 17:24:50 +0000 (19:24 +0200)
commiteeb5202e5ddf1cc95c35d46fd425afd0695b85bb
treebdf22a4858cf54bb46c9766dcc3443deca016a1a
parent0f302b60fd6d43a47e208979d0677e09f4a802fc
slang: Invoke the preprocessor from withing the slang compiler.

This allows us to validate the shader version number.
src/mesa/shader/grammar/grammar.c
src/mesa/shader/grammar/grammar.h
src/mesa/shader/grammar/grammar_mesa.h
src/mesa/shader/slang/slang_compile.c