Reviewed-by: Ilia Mirkin <imir...@alum.mit.edu>

Ah so that's why they weren't static const in my patch... coz I copied
it :) Nice sleuth work.

On Tue, Aug 23, 2016 at 4:39 PM, Kenneth Graunke <kenn...@whitecape.org> wrote:
> Signed-off-by: Kenneth Graunke <kenn...@whitecape.org>
> ---
>  src/compiler/glsl/glsl_parser.yy | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/compiler/glsl/glsl_parser.yy 
> b/src/compiler/glsl/glsl_parser.yy
> index 4f4a83c..5b65861 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[] = {
> --
> 2.9.3
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to