glsl: gl_Max{Vertex,Fragment}UniformComponents exist in all desktop GL versions
authorIago Toral Quiroga <itoral@igalia.com>
Fri, 16 Jun 2017 10:05:20 +0000 (12:05 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Mon, 19 Jun 2017 12:43:54 +0000 (14:43 +0200)
commitb70d6a2de1c90409c7a2e0d6484f350558f5c2ac
tree4bd922e09067388860038245e694b8656b130649
parent4a7222518d723b6d1b3572cc1241b9997012b232
glsl: gl_Max{Vertex,Fragment}UniformComponents exist in all desktop GL versions

The current implementation assumed that these were replaced in GLSL >= 4.10
by gl_Max{Vertex,Fragment}UniformVectors, however this is not true: both
built-ins should be produced from GLSL 4.10 onwards.

This was raised by new CTS tests that are in development.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/compiler/glsl/builtin_variables.cpp