glsl: Only let a shader enable GL_ARB_draw_instanced if the driver supports it
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 8 Apr 2011 19:41:42 +0000 (12:41 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 11 Apr 2011 21:43:41 +0000 (14:43 -0700)
commitf2bda1b5664cd8a8744798926f2562212229d938
tree419021d5177d93759048083a7af49deedfae4533
parent88022278f71ed3ea9613a7fa72a03367f75443d3
glsl: Only let a shader enable GL_ARB_draw_instanced if the driver supports it

Also make the GL_ARB_draw_instanced block follow the same pattern as
the other blocks.

Tested-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/glsl_parser_extras.cpp