glsl: Add builtin variables for GLSL 3.00 ES.
authorPaul Berry <stereotype441@gmail.com>
Sat, 4 Aug 2012 17:29:49 +0000 (10:29 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 6 Dec 2012 20:13:22 +0000 (12:13 -0800)
commit8dec1bfedd27ae45632b0e08fb5996ff60d042b6
tree4821f7750541407227c60c430d653a398838336d
parentd7949eefcba39d48edd8af53f2d88d58f8cd5381
glsl: Add builtin variables for GLSL 3.00 ES.

This patch also adds assertions so that when we add new GLSL versions,
we'll notice that we need to update the builtin variables.

[v2, idr]: s/Frab/Frag/  Noticed by Eric.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> [v1]
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Acked-by: Carl Worth <cworth@cworth.org>
src/glsl/builtin_variables.cpp