OSDN Git Service

glsl: Update builtin variables for GLSL 1.40.
authorEric Anholt <eric@anholt.net>
Fri, 9 Mar 2012 19:38:34 +0000 (11:38 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 15 Mar 2012 15:33:54 +0000 (08:33 -0700)
commit177ccd246f8c2a411b9f97c45c9d7a4f6c9e7721
tree9057e2b97f5ffbdb5462d9f41d5cdd9418936c9a
parentc5ff9a8b9e3cafb3764e620add2900656c59606b
glsl: Update builtin variables for GLSL 1.40.

Mostly this is a matter of removing variables that have been moved to
the compatibility profile.  There's one addition: gl_InstanceID is
present in the core now.

This fixes the new piglit tests for GLSL 1.40 builtin variables.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/builtin_variables.cpp