glsl: add version checks to conditionals for builtin variable enablement
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 17 Jun 2015 19:09:26 +0000 (15:09 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 18 Jun 2015 17:21:44 +0000 (13:21 -0400)
commitb6e238023c4f8af2328dc3bcab1d73a3e19f4fbb
treed0f51bb12cca694efd9af825189dcc6a04012ff9
parentc40e7ee7c47cb24264fd77ef37fab99dea4c299a
glsl: add version checks to conditionals for builtin variable enablement

A number of builtin variables have checks based on the extension being
enabled, but were missing enablement via a higher GLSL version.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Timothy Arceri <t_arceri@yahoo.com.au>
Cc: "10.5 10.6" <mesa-stable@lists.freedesktop.org>
src/glsl/builtin_variables.cpp