glsl: Make gl_InstanceID available with GL_ARB_draw_instanced extension
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 29 Feb 2012 16:29:39 +0000 (08:29 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 29 Feb 2012 22:57:15 +0000 (14:57 -0800)
commit1e6a2c10590bc6b4112ec2e54e1de7d8f9fd349d
tree126263a83260ca7bae45f7241705d0bd4b632630
parent767ba60831657a684e3852c398a0d13d1201158f
glsl: Make gl_InstanceID available with GL_ARB_draw_instanced extension

Originally ARB_draw_instanced only specified that ARB decorated name.
Since no vendor actually implemented that behavior and some apps use
the undecorated name, the extension now specifies that both names are
available.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
src/glsl/builtin_variables.cpp