glsl: Implement predefinded macros.
authorMichal Krol <michal@vmware.com>
Fri, 4 Sep 2009 11:30:40 +0000 (13:30 +0200)
committerMichal Krol <michal@vmware.com>
Mon, 7 Sep 2009 08:12:05 +0000 (10:12 +0200)
commite8afc6558909d9503a83c8cc184a2e2bb008746b
treed6b2570312fddab2ae96a5180c25f4cdbe51cf46
parentbb8f38ea6f71179cd4adb0ca33c464716be17dcb
glsl: Implement predefinded macros.

The values are hardcoded: __LINE__ = 1, __FILE__ = 0 and __VERSION__ = 110.
src/glsl/pp/sl_pp_macro.c