glsl: define some GLES3 constants in GLSL 4.1
authorDave Airlie <airlied@redhat.com>
Wed, 1 Jun 2016 06:16:30 +0000 (16:16 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 1 Jun 2016 07:01:13 +0000 (17:01 +1000)
commit0ebf4257a385972be0b6e851383ee6b728515aad
treefe2bf79f52bf8ea2a428306e43108b1cff67be9a
parent6ca118d2f402495e88e5d534773007ac680885a2
glsl: define some GLES3 constants in GLSL 4.1

The GLSL 4.1 spec adds:
gl_MaxVertexUniformVectors
gl_MaxFragmentUniformVectors
gl_MaxVaryingVectors

This fixes:
GL45-CTS.gtf31.GL3Tests.uniform_buffer_object.uniform_buffer_object_build_in_constants

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "12.0 11.2" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/compiler/glsl/builtin_variables.cpp