summaryrefslogtreecommitdiffstats
path: root/src/glsl/glsl_parser_extras.h
diff options
context:
space:
mode:
authorMaxence Le DorĂ© <[email protected]>2014-12-10 08:09:24 +0100
committerMatt Turner <[email protected]>2014-12-15 12:20:00 -0800
commit19e05d68986690cfcdd49de6cfb87d88ad54cd58 (patch)
tree42fe52d1fffb3b9d529a61c38d071f2d23247c56 /src/glsl/glsl_parser_extras.h
parent8517e665bc4c378e8e7523827090fd1b06abaecd (diff)
glsl: Add gl_MaxViewports to available builtin constants
It seems to have been forgotten during viewports array implementation time. Cc: "10.4 10.3" <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/glsl/glsl_parser_extras.h')
-rw-r--r--src/glsl/glsl_parser_extras.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/glsl_parser_extras.h b/src/glsl/glsl_parser_extras.h
index e9eb237b0b3..e04f7ced565 100644
--- a/src/glsl/glsl_parser_extras.h
+++ b/src/glsl/glsl_parser_extras.h
@@ -343,6 +343,9 @@ struct _mesa_glsl_parse_state {
unsigned MaxGeometryImageUniforms;
unsigned MaxFragmentImageUniforms;
unsigned MaxCombinedImageUniforms;
+
+ /* ARB_viewport_array */
+ unsigned MaxViewports;
} Const;
/**