From eb1a0ddfd55ba606eb67fab2aaf337007acce904 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Mon, 22 Aug 2016 16:39:14 -0700 Subject: glsl: Mark tessellation qualifier maps static const. Signed-off-by: Kenneth Graunke Reviewed-by: Ilia Mirkin --- src/compiler/glsl/glsl_parser.yy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/compiler/glsl/glsl_parser.yy b/src/compiler/glsl/glsl_parser.yy index 4f4a83cd8d0..5b6586141d8 100644 --- a/src/compiler/glsl/glsl_parser.yy +++ b/src/compiler/glsl/glsl_parser.yy @@ -1373,7 +1373,7 @@ layout_qualifier_id: /* Layout qualifiers for tessellation evaluation shaders. */ if (!$$.flags.i) { - struct { + static const struct { const char *s; GLenum e; } map[] = { @@ -1396,7 +1396,7 @@ layout_qualifier_id: } } if (!$$.flags.i) { - struct { + static const struct { const char *s; GLenum e; } map[] = { -- cgit v1.2.3