glsl: gl_Max{Vertex,Fragment}UniformComponents exist in all desktop GL versions

Graphics / Mesa 3D Graphics Library / Mesa - Iago Toral Quiroga [igalia.com] - 19 June 2017 08:43 EDT

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.

b70d6a2 glsl: gl_Max{Vertex,Fragment}UniformComponents exist in all desktop GL versions
src/compiler/glsl/builtin_variables.cpp | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)

Upstream: cgit.freedesktop.org


  • Share