glsl: Add gl_MaxViewports to available builtin constants
authorMaxence Le Doré <maxence.ledore@gmail.com>
Wed, 10 Dec 2014 07:09:24 +0000 (08:09 +0100)
committerMatt Turner <mattst88@gmail.com>
Mon, 15 Dec 2014 20:20:00 +0000 (12:20 -0800)
commit19e05d68986690cfcdd49de6cfb87d88ad54cd58
tree42fe52d1fffb3b9d529a61c38d071f2d23247c56
parent8517e665bc4c378e8e7523827090fd1b06abaecd
glsl: Add gl_MaxViewports to available builtin constants

It seems to have been forgotten during viewports array implementation time.

Cc: "10.4 10.3" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/glsl/builtin_variables.cpp
src/glsl/glsl_parser_extras.cpp
src/glsl/glsl_parser_extras.h