12451 lines
628 KiB
C++
12451 lines
628 KiB
C++
/* A Bison parser, made by GNU Bison 3.7.4. */
|
|
|
|
/* Bison implementation for Yacc-like parsers in C
|
|
|
|
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2020 Free Software Foundation,
|
|
Inc.
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
|
|
|
/* As a special exception, you may create a larger work that contains
|
|
part or all of the Bison parser skeleton and distribute that work
|
|
under terms of your choice, so long as that work isn't itself a
|
|
parser generator using the skeleton or a modified version thereof
|
|
as a parser skeleton. Alternatively, if you modify or redistribute
|
|
the parser skeleton itself, you may (at your option) remove this
|
|
special exception, which will cause the skeleton and the resulting
|
|
Bison output files to be licensed under the GNU General Public
|
|
License without this special exception.
|
|
|
|
This special exception was added by the Free Software Foundation in
|
|
version 2.2 of Bison. */
|
|
|
|
/* C LALR(1) parser skeleton written by Richard Stallman, by
|
|
simplifying the original so-called "semantic" parser. */
|
|
|
|
/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
|
|
especially those whose name start with YY_ or yy_. They are
|
|
private implementation details that can be changed or removed. */
|
|
|
|
/* All symbols defined below should begin with yy or YY, to avoid
|
|
infringing on user name space. This should be done even for local
|
|
variables, as they might otherwise be expanded by user macros.
|
|
There are some unavoidable exceptions within include files to
|
|
define necessary library symbols; they are noted "INFRINGES ON
|
|
USER NAME SPACE" below. */
|
|
|
|
/* Identify Bison output, and Bison version. */
|
|
#define YYBISON 30704
|
|
|
|
/* Bison version string. */
|
|
#define YYBISON_VERSION "3.7.4"
|
|
|
|
/* Skeleton name. */
|
|
#define YYSKELETON_NAME "yacc.c"
|
|
|
|
/* Pure parsers. */
|
|
#define YYPURE 1
|
|
|
|
/* Push parsers. */
|
|
#define YYPUSH 0
|
|
|
|
/* Pull parsers. */
|
|
#define YYPULL 1
|
|
|
|
|
|
|
|
|
|
/* First part of user prologue. */
|
|
#line 69 "MachineIndependent/glslang.y"
|
|
|
|
|
|
/* Based on:
|
|
ANSI C Yacc grammar
|
|
|
|
In 1985, Jeff Lee published his Yacc grammar (which is accompanied by a
|
|
matching Lex specification) for the April 30, 1985 draft version of the
|
|
ANSI C standard. Tom Stockfisch reposted it to net.sources in 1987; that
|
|
original, as mentioned in the answer to question 17.25 of the comp.lang.c
|
|
FAQ, can be ftp'ed from ftp.uu.net, file usenet/net.sources/ansi.c.grammar.Z.
|
|
|
|
I intend to keep this version as close to the current C Standard grammar as
|
|
possible; please let me know if you discover discrepancies.
|
|
|
|
Jutta Degener, 1995
|
|
*/
|
|
|
|
#include "SymbolTable.h"
|
|
#include "ParseHelper.h"
|
|
#include "../Public/ShaderLang.h"
|
|
#include "attribute.h"
|
|
|
|
using namespace glslang;
|
|
|
|
|
|
#line 97 "MachineIndependent/glslang_tab.cpp"
|
|
|
|
# ifndef YY_CAST
|
|
# ifdef __cplusplus
|
|
# define YY_CAST(Type, Val) static_cast<Type> (Val)
|
|
# define YY_REINTERPRET_CAST(Type, Val) reinterpret_cast<Type> (Val)
|
|
# else
|
|
# define YY_CAST(Type, Val) ((Type) (Val))
|
|
# define YY_REINTERPRET_CAST(Type, Val) ((Type) (Val))
|
|
# endif
|
|
# endif
|
|
# ifndef YY_NULLPTR
|
|
# if defined __cplusplus
|
|
# if 201103L <= __cplusplus
|
|
# define YY_NULLPTR nullptr
|
|
# else
|
|
# define YY_NULLPTR 0
|
|
# endif
|
|
# else
|
|
# define YY_NULLPTR ((void*)0)
|
|
# endif
|
|
# endif
|
|
|
|
#include "glslang_tab.cpp.h"
|
|
/* Symbol kind. */
|
|
enum yysymbol_kind_t
|
|
{
|
|
YYSYMBOL_YYEMPTY = -2,
|
|
YYSYMBOL_YYEOF = 0, /* "end of file" */
|
|
YYSYMBOL_YYerror = 1, /* error */
|
|
YYSYMBOL_YYUNDEF = 2, /* "invalid token" */
|
|
YYSYMBOL_CONST = 3, /* CONST */
|
|
YYSYMBOL_BOOL = 4, /* BOOL */
|
|
YYSYMBOL_INT = 5, /* INT */
|
|
YYSYMBOL_UINT = 6, /* UINT */
|
|
YYSYMBOL_FLOAT = 7, /* FLOAT */
|
|
YYSYMBOL_BVEC2 = 8, /* BVEC2 */
|
|
YYSYMBOL_BVEC3 = 9, /* BVEC3 */
|
|
YYSYMBOL_BVEC4 = 10, /* BVEC4 */
|
|
YYSYMBOL_IVEC2 = 11, /* IVEC2 */
|
|
YYSYMBOL_IVEC3 = 12, /* IVEC3 */
|
|
YYSYMBOL_IVEC4 = 13, /* IVEC4 */
|
|
YYSYMBOL_UVEC2 = 14, /* UVEC2 */
|
|
YYSYMBOL_UVEC3 = 15, /* UVEC3 */
|
|
YYSYMBOL_UVEC4 = 16, /* UVEC4 */
|
|
YYSYMBOL_VEC2 = 17, /* VEC2 */
|
|
YYSYMBOL_VEC3 = 18, /* VEC3 */
|
|
YYSYMBOL_VEC4 = 19, /* VEC4 */
|
|
YYSYMBOL_MAT2 = 20, /* MAT2 */
|
|
YYSYMBOL_MAT3 = 21, /* MAT3 */
|
|
YYSYMBOL_MAT4 = 22, /* MAT4 */
|
|
YYSYMBOL_MAT2X2 = 23, /* MAT2X2 */
|
|
YYSYMBOL_MAT2X3 = 24, /* MAT2X3 */
|
|
YYSYMBOL_MAT2X4 = 25, /* MAT2X4 */
|
|
YYSYMBOL_MAT3X2 = 26, /* MAT3X2 */
|
|
YYSYMBOL_MAT3X3 = 27, /* MAT3X3 */
|
|
YYSYMBOL_MAT3X4 = 28, /* MAT3X4 */
|
|
YYSYMBOL_MAT4X2 = 29, /* MAT4X2 */
|
|
YYSYMBOL_MAT4X3 = 30, /* MAT4X3 */
|
|
YYSYMBOL_MAT4X4 = 31, /* MAT4X4 */
|
|
YYSYMBOL_SAMPLER2D = 32, /* SAMPLER2D */
|
|
YYSYMBOL_SAMPLER3D = 33, /* SAMPLER3D */
|
|
YYSYMBOL_SAMPLERCUBE = 34, /* SAMPLERCUBE */
|
|
YYSYMBOL_SAMPLER2DSHADOW = 35, /* SAMPLER2DSHADOW */
|
|
YYSYMBOL_SAMPLERCUBESHADOW = 36, /* SAMPLERCUBESHADOW */
|
|
YYSYMBOL_SAMPLER2DARRAY = 37, /* SAMPLER2DARRAY */
|
|
YYSYMBOL_SAMPLER2DARRAYSHADOW = 38, /* SAMPLER2DARRAYSHADOW */
|
|
YYSYMBOL_ISAMPLER2D = 39, /* ISAMPLER2D */
|
|
YYSYMBOL_ISAMPLER3D = 40, /* ISAMPLER3D */
|
|
YYSYMBOL_ISAMPLERCUBE = 41, /* ISAMPLERCUBE */
|
|
YYSYMBOL_ISAMPLER2DARRAY = 42, /* ISAMPLER2DARRAY */
|
|
YYSYMBOL_USAMPLER2D = 43, /* USAMPLER2D */
|
|
YYSYMBOL_USAMPLER3D = 44, /* USAMPLER3D */
|
|
YYSYMBOL_USAMPLERCUBE = 45, /* USAMPLERCUBE */
|
|
YYSYMBOL_USAMPLER2DARRAY = 46, /* USAMPLER2DARRAY */
|
|
YYSYMBOL_SAMPLER = 47, /* SAMPLER */
|
|
YYSYMBOL_SAMPLERSHADOW = 48, /* SAMPLERSHADOW */
|
|
YYSYMBOL_TEXTURE2D = 49, /* TEXTURE2D */
|
|
YYSYMBOL_TEXTURE3D = 50, /* TEXTURE3D */
|
|
YYSYMBOL_TEXTURECUBE = 51, /* TEXTURECUBE */
|
|
YYSYMBOL_TEXTURE2DARRAY = 52, /* TEXTURE2DARRAY */
|
|
YYSYMBOL_ITEXTURE2D = 53, /* ITEXTURE2D */
|
|
YYSYMBOL_ITEXTURE3D = 54, /* ITEXTURE3D */
|
|
YYSYMBOL_ITEXTURECUBE = 55, /* ITEXTURECUBE */
|
|
YYSYMBOL_ITEXTURE2DARRAY = 56, /* ITEXTURE2DARRAY */
|
|
YYSYMBOL_UTEXTURE2D = 57, /* UTEXTURE2D */
|
|
YYSYMBOL_UTEXTURE3D = 58, /* UTEXTURE3D */
|
|
YYSYMBOL_UTEXTURECUBE = 59, /* UTEXTURECUBE */
|
|
YYSYMBOL_UTEXTURE2DARRAY = 60, /* UTEXTURE2DARRAY */
|
|
YYSYMBOL_ATTRIBUTE = 61, /* ATTRIBUTE */
|
|
YYSYMBOL_VARYING = 62, /* VARYING */
|
|
YYSYMBOL_FLOAT16_T = 63, /* FLOAT16_T */
|
|
YYSYMBOL_FLOAT32_T = 64, /* FLOAT32_T */
|
|
YYSYMBOL_DOUBLE = 65, /* DOUBLE */
|
|
YYSYMBOL_FLOAT64_T = 66, /* FLOAT64_T */
|
|
YYSYMBOL_INT64_T = 67, /* INT64_T */
|
|
YYSYMBOL_UINT64_T = 68, /* UINT64_T */
|
|
YYSYMBOL_INT32_T = 69, /* INT32_T */
|
|
YYSYMBOL_UINT32_T = 70, /* UINT32_T */
|
|
YYSYMBOL_INT16_T = 71, /* INT16_T */
|
|
YYSYMBOL_UINT16_T = 72, /* UINT16_T */
|
|
YYSYMBOL_INT8_T = 73, /* INT8_T */
|
|
YYSYMBOL_UINT8_T = 74, /* UINT8_T */
|
|
YYSYMBOL_I64VEC2 = 75, /* I64VEC2 */
|
|
YYSYMBOL_I64VEC3 = 76, /* I64VEC3 */
|
|
YYSYMBOL_I64VEC4 = 77, /* I64VEC4 */
|
|
YYSYMBOL_U64VEC2 = 78, /* U64VEC2 */
|
|
YYSYMBOL_U64VEC3 = 79, /* U64VEC3 */
|
|
YYSYMBOL_U64VEC4 = 80, /* U64VEC4 */
|
|
YYSYMBOL_I32VEC2 = 81, /* I32VEC2 */
|
|
YYSYMBOL_I32VEC3 = 82, /* I32VEC3 */
|
|
YYSYMBOL_I32VEC4 = 83, /* I32VEC4 */
|
|
YYSYMBOL_U32VEC2 = 84, /* U32VEC2 */
|
|
YYSYMBOL_U32VEC3 = 85, /* U32VEC3 */
|
|
YYSYMBOL_U32VEC4 = 86, /* U32VEC4 */
|
|
YYSYMBOL_I16VEC2 = 87, /* I16VEC2 */
|
|
YYSYMBOL_I16VEC3 = 88, /* I16VEC3 */
|
|
YYSYMBOL_I16VEC4 = 89, /* I16VEC4 */
|
|
YYSYMBOL_U16VEC2 = 90, /* U16VEC2 */
|
|
YYSYMBOL_U16VEC3 = 91, /* U16VEC3 */
|
|
YYSYMBOL_U16VEC4 = 92, /* U16VEC4 */
|
|
YYSYMBOL_I8VEC2 = 93, /* I8VEC2 */
|
|
YYSYMBOL_I8VEC3 = 94, /* I8VEC3 */
|
|
YYSYMBOL_I8VEC4 = 95, /* I8VEC4 */
|
|
YYSYMBOL_U8VEC2 = 96, /* U8VEC2 */
|
|
YYSYMBOL_U8VEC3 = 97, /* U8VEC3 */
|
|
YYSYMBOL_U8VEC4 = 98, /* U8VEC4 */
|
|
YYSYMBOL_DVEC2 = 99, /* DVEC2 */
|
|
YYSYMBOL_DVEC3 = 100, /* DVEC3 */
|
|
YYSYMBOL_DVEC4 = 101, /* DVEC4 */
|
|
YYSYMBOL_DMAT2 = 102, /* DMAT2 */
|
|
YYSYMBOL_DMAT3 = 103, /* DMAT3 */
|
|
YYSYMBOL_DMAT4 = 104, /* DMAT4 */
|
|
YYSYMBOL_F16VEC2 = 105, /* F16VEC2 */
|
|
YYSYMBOL_F16VEC3 = 106, /* F16VEC3 */
|
|
YYSYMBOL_F16VEC4 = 107, /* F16VEC4 */
|
|
YYSYMBOL_F16MAT2 = 108, /* F16MAT2 */
|
|
YYSYMBOL_F16MAT3 = 109, /* F16MAT3 */
|
|
YYSYMBOL_F16MAT4 = 110, /* F16MAT4 */
|
|
YYSYMBOL_F32VEC2 = 111, /* F32VEC2 */
|
|
YYSYMBOL_F32VEC3 = 112, /* F32VEC3 */
|
|
YYSYMBOL_F32VEC4 = 113, /* F32VEC4 */
|
|
YYSYMBOL_F32MAT2 = 114, /* F32MAT2 */
|
|
YYSYMBOL_F32MAT3 = 115, /* F32MAT3 */
|
|
YYSYMBOL_F32MAT4 = 116, /* F32MAT4 */
|
|
YYSYMBOL_F64VEC2 = 117, /* F64VEC2 */
|
|
YYSYMBOL_F64VEC3 = 118, /* F64VEC3 */
|
|
YYSYMBOL_F64VEC4 = 119, /* F64VEC4 */
|
|
YYSYMBOL_F64MAT2 = 120, /* F64MAT2 */
|
|
YYSYMBOL_F64MAT3 = 121, /* F64MAT3 */
|
|
YYSYMBOL_F64MAT4 = 122, /* F64MAT4 */
|
|
YYSYMBOL_DMAT2X2 = 123, /* DMAT2X2 */
|
|
YYSYMBOL_DMAT2X3 = 124, /* DMAT2X3 */
|
|
YYSYMBOL_DMAT2X4 = 125, /* DMAT2X4 */
|
|
YYSYMBOL_DMAT3X2 = 126, /* DMAT3X2 */
|
|
YYSYMBOL_DMAT3X3 = 127, /* DMAT3X3 */
|
|
YYSYMBOL_DMAT3X4 = 128, /* DMAT3X4 */
|
|
YYSYMBOL_DMAT4X2 = 129, /* DMAT4X2 */
|
|
YYSYMBOL_DMAT4X3 = 130, /* DMAT4X3 */
|
|
YYSYMBOL_DMAT4X4 = 131, /* DMAT4X4 */
|
|
YYSYMBOL_F16MAT2X2 = 132, /* F16MAT2X2 */
|
|
YYSYMBOL_F16MAT2X3 = 133, /* F16MAT2X3 */
|
|
YYSYMBOL_F16MAT2X4 = 134, /* F16MAT2X4 */
|
|
YYSYMBOL_F16MAT3X2 = 135, /* F16MAT3X2 */
|
|
YYSYMBOL_F16MAT3X3 = 136, /* F16MAT3X3 */
|
|
YYSYMBOL_F16MAT3X4 = 137, /* F16MAT3X4 */
|
|
YYSYMBOL_F16MAT4X2 = 138, /* F16MAT4X2 */
|
|
YYSYMBOL_F16MAT4X3 = 139, /* F16MAT4X3 */
|
|
YYSYMBOL_F16MAT4X4 = 140, /* F16MAT4X4 */
|
|
YYSYMBOL_F32MAT2X2 = 141, /* F32MAT2X2 */
|
|
YYSYMBOL_F32MAT2X3 = 142, /* F32MAT2X3 */
|
|
YYSYMBOL_F32MAT2X4 = 143, /* F32MAT2X4 */
|
|
YYSYMBOL_F32MAT3X2 = 144, /* F32MAT3X2 */
|
|
YYSYMBOL_F32MAT3X3 = 145, /* F32MAT3X3 */
|
|
YYSYMBOL_F32MAT3X4 = 146, /* F32MAT3X4 */
|
|
YYSYMBOL_F32MAT4X2 = 147, /* F32MAT4X2 */
|
|
YYSYMBOL_F32MAT4X3 = 148, /* F32MAT4X3 */
|
|
YYSYMBOL_F32MAT4X4 = 149, /* F32MAT4X4 */
|
|
YYSYMBOL_F64MAT2X2 = 150, /* F64MAT2X2 */
|
|
YYSYMBOL_F64MAT2X3 = 151, /* F64MAT2X3 */
|
|
YYSYMBOL_F64MAT2X4 = 152, /* F64MAT2X4 */
|
|
YYSYMBOL_F64MAT3X2 = 153, /* F64MAT3X2 */
|
|
YYSYMBOL_F64MAT3X3 = 154, /* F64MAT3X3 */
|
|
YYSYMBOL_F64MAT3X4 = 155, /* F64MAT3X4 */
|
|
YYSYMBOL_F64MAT4X2 = 156, /* F64MAT4X2 */
|
|
YYSYMBOL_F64MAT4X3 = 157, /* F64MAT4X3 */
|
|
YYSYMBOL_F64MAT4X4 = 158, /* F64MAT4X4 */
|
|
YYSYMBOL_ATOMIC_UINT = 159, /* ATOMIC_UINT */
|
|
YYSYMBOL_ACCSTRUCTNV = 160, /* ACCSTRUCTNV */
|
|
YYSYMBOL_ACCSTRUCTEXT = 161, /* ACCSTRUCTEXT */
|
|
YYSYMBOL_RAYQUERYEXT = 162, /* RAYQUERYEXT */
|
|
YYSYMBOL_FCOOPMATNV = 163, /* FCOOPMATNV */
|
|
YYSYMBOL_ICOOPMATNV = 164, /* ICOOPMATNV */
|
|
YYSYMBOL_UCOOPMATNV = 165, /* UCOOPMATNV */
|
|
YYSYMBOL_SAMPLERCUBEARRAY = 166, /* SAMPLERCUBEARRAY */
|
|
YYSYMBOL_SAMPLERCUBEARRAYSHADOW = 167, /* SAMPLERCUBEARRAYSHADOW */
|
|
YYSYMBOL_ISAMPLERCUBEARRAY = 168, /* ISAMPLERCUBEARRAY */
|
|
YYSYMBOL_USAMPLERCUBEARRAY = 169, /* USAMPLERCUBEARRAY */
|
|
YYSYMBOL_SAMPLER1D = 170, /* SAMPLER1D */
|
|
YYSYMBOL_SAMPLER1DARRAY = 171, /* SAMPLER1DARRAY */
|
|
YYSYMBOL_SAMPLER1DARRAYSHADOW = 172, /* SAMPLER1DARRAYSHADOW */
|
|
YYSYMBOL_ISAMPLER1D = 173, /* ISAMPLER1D */
|
|
YYSYMBOL_SAMPLER1DSHADOW = 174, /* SAMPLER1DSHADOW */
|
|
YYSYMBOL_SAMPLER2DRECT = 175, /* SAMPLER2DRECT */
|
|
YYSYMBOL_SAMPLER2DRECTSHADOW = 176, /* SAMPLER2DRECTSHADOW */
|
|
YYSYMBOL_ISAMPLER2DRECT = 177, /* ISAMPLER2DRECT */
|
|
YYSYMBOL_USAMPLER2DRECT = 178, /* USAMPLER2DRECT */
|
|
YYSYMBOL_SAMPLERBUFFER = 179, /* SAMPLERBUFFER */
|
|
YYSYMBOL_ISAMPLERBUFFER = 180, /* ISAMPLERBUFFER */
|
|
YYSYMBOL_USAMPLERBUFFER = 181, /* USAMPLERBUFFER */
|
|
YYSYMBOL_SAMPLER2DMS = 182, /* SAMPLER2DMS */
|
|
YYSYMBOL_ISAMPLER2DMS = 183, /* ISAMPLER2DMS */
|
|
YYSYMBOL_USAMPLER2DMS = 184, /* USAMPLER2DMS */
|
|
YYSYMBOL_SAMPLER2DMSARRAY = 185, /* SAMPLER2DMSARRAY */
|
|
YYSYMBOL_ISAMPLER2DMSARRAY = 186, /* ISAMPLER2DMSARRAY */
|
|
YYSYMBOL_USAMPLER2DMSARRAY = 187, /* USAMPLER2DMSARRAY */
|
|
YYSYMBOL_SAMPLEREXTERNALOES = 188, /* SAMPLEREXTERNALOES */
|
|
YYSYMBOL_SAMPLEREXTERNAL2DY2YEXT = 189, /* SAMPLEREXTERNAL2DY2YEXT */
|
|
YYSYMBOL_ISAMPLER1DARRAY = 190, /* ISAMPLER1DARRAY */
|
|
YYSYMBOL_USAMPLER1D = 191, /* USAMPLER1D */
|
|
YYSYMBOL_USAMPLER1DARRAY = 192, /* USAMPLER1DARRAY */
|
|
YYSYMBOL_F16SAMPLER1D = 193, /* F16SAMPLER1D */
|
|
YYSYMBOL_F16SAMPLER2D = 194, /* F16SAMPLER2D */
|
|
YYSYMBOL_F16SAMPLER3D = 195, /* F16SAMPLER3D */
|
|
YYSYMBOL_F16SAMPLER2DRECT = 196, /* F16SAMPLER2DRECT */
|
|
YYSYMBOL_F16SAMPLERCUBE = 197, /* F16SAMPLERCUBE */
|
|
YYSYMBOL_F16SAMPLER1DARRAY = 198, /* F16SAMPLER1DARRAY */
|
|
YYSYMBOL_F16SAMPLER2DARRAY = 199, /* F16SAMPLER2DARRAY */
|
|
YYSYMBOL_F16SAMPLERCUBEARRAY = 200, /* F16SAMPLERCUBEARRAY */
|
|
YYSYMBOL_F16SAMPLERBUFFER = 201, /* F16SAMPLERBUFFER */
|
|
YYSYMBOL_F16SAMPLER2DMS = 202, /* F16SAMPLER2DMS */
|
|
YYSYMBOL_F16SAMPLER2DMSARRAY = 203, /* F16SAMPLER2DMSARRAY */
|
|
YYSYMBOL_F16SAMPLER1DSHADOW = 204, /* F16SAMPLER1DSHADOW */
|
|
YYSYMBOL_F16SAMPLER2DSHADOW = 205, /* F16SAMPLER2DSHADOW */
|
|
YYSYMBOL_F16SAMPLER1DARRAYSHADOW = 206, /* F16SAMPLER1DARRAYSHADOW */
|
|
YYSYMBOL_F16SAMPLER2DARRAYSHADOW = 207, /* F16SAMPLER2DARRAYSHADOW */
|
|
YYSYMBOL_F16SAMPLER2DRECTSHADOW = 208, /* F16SAMPLER2DRECTSHADOW */
|
|
YYSYMBOL_F16SAMPLERCUBESHADOW = 209, /* F16SAMPLERCUBESHADOW */
|
|
YYSYMBOL_F16SAMPLERCUBEARRAYSHADOW = 210, /* F16SAMPLERCUBEARRAYSHADOW */
|
|
YYSYMBOL_IMAGE1D = 211, /* IMAGE1D */
|
|
YYSYMBOL_IIMAGE1D = 212, /* IIMAGE1D */
|
|
YYSYMBOL_UIMAGE1D = 213, /* UIMAGE1D */
|
|
YYSYMBOL_IMAGE2D = 214, /* IMAGE2D */
|
|
YYSYMBOL_IIMAGE2D = 215, /* IIMAGE2D */
|
|
YYSYMBOL_UIMAGE2D = 216, /* UIMAGE2D */
|
|
YYSYMBOL_IMAGE3D = 217, /* IMAGE3D */
|
|
YYSYMBOL_IIMAGE3D = 218, /* IIMAGE3D */
|
|
YYSYMBOL_UIMAGE3D = 219, /* UIMAGE3D */
|
|
YYSYMBOL_IMAGE2DRECT = 220, /* IMAGE2DRECT */
|
|
YYSYMBOL_IIMAGE2DRECT = 221, /* IIMAGE2DRECT */
|
|
YYSYMBOL_UIMAGE2DRECT = 222, /* UIMAGE2DRECT */
|
|
YYSYMBOL_IMAGECUBE = 223, /* IMAGECUBE */
|
|
YYSYMBOL_IIMAGECUBE = 224, /* IIMAGECUBE */
|
|
YYSYMBOL_UIMAGECUBE = 225, /* UIMAGECUBE */
|
|
YYSYMBOL_IMAGEBUFFER = 226, /* IMAGEBUFFER */
|
|
YYSYMBOL_IIMAGEBUFFER = 227, /* IIMAGEBUFFER */
|
|
YYSYMBOL_UIMAGEBUFFER = 228, /* UIMAGEBUFFER */
|
|
YYSYMBOL_IMAGE1DARRAY = 229, /* IMAGE1DARRAY */
|
|
YYSYMBOL_IIMAGE1DARRAY = 230, /* IIMAGE1DARRAY */
|
|
YYSYMBOL_UIMAGE1DARRAY = 231, /* UIMAGE1DARRAY */
|
|
YYSYMBOL_IMAGE2DARRAY = 232, /* IMAGE2DARRAY */
|
|
YYSYMBOL_IIMAGE2DARRAY = 233, /* IIMAGE2DARRAY */
|
|
YYSYMBOL_UIMAGE2DARRAY = 234, /* UIMAGE2DARRAY */
|
|
YYSYMBOL_IMAGECUBEARRAY = 235, /* IMAGECUBEARRAY */
|
|
YYSYMBOL_IIMAGECUBEARRAY = 236, /* IIMAGECUBEARRAY */
|
|
YYSYMBOL_UIMAGECUBEARRAY = 237, /* UIMAGECUBEARRAY */
|
|
YYSYMBOL_IMAGE2DMS = 238, /* IMAGE2DMS */
|
|
YYSYMBOL_IIMAGE2DMS = 239, /* IIMAGE2DMS */
|
|
YYSYMBOL_UIMAGE2DMS = 240, /* UIMAGE2DMS */
|
|
YYSYMBOL_IMAGE2DMSARRAY = 241, /* IMAGE2DMSARRAY */
|
|
YYSYMBOL_IIMAGE2DMSARRAY = 242, /* IIMAGE2DMSARRAY */
|
|
YYSYMBOL_UIMAGE2DMSARRAY = 243, /* UIMAGE2DMSARRAY */
|
|
YYSYMBOL_F16IMAGE1D = 244, /* F16IMAGE1D */
|
|
YYSYMBOL_F16IMAGE2D = 245, /* F16IMAGE2D */
|
|
YYSYMBOL_F16IMAGE3D = 246, /* F16IMAGE3D */
|
|
YYSYMBOL_F16IMAGE2DRECT = 247, /* F16IMAGE2DRECT */
|
|
YYSYMBOL_F16IMAGECUBE = 248, /* F16IMAGECUBE */
|
|
YYSYMBOL_F16IMAGE1DARRAY = 249, /* F16IMAGE1DARRAY */
|
|
YYSYMBOL_F16IMAGE2DARRAY = 250, /* F16IMAGE2DARRAY */
|
|
YYSYMBOL_F16IMAGECUBEARRAY = 251, /* F16IMAGECUBEARRAY */
|
|
YYSYMBOL_F16IMAGEBUFFER = 252, /* F16IMAGEBUFFER */
|
|
YYSYMBOL_F16IMAGE2DMS = 253, /* F16IMAGE2DMS */
|
|
YYSYMBOL_F16IMAGE2DMSARRAY = 254, /* F16IMAGE2DMSARRAY */
|
|
YYSYMBOL_I64IMAGE1D = 255, /* I64IMAGE1D */
|
|
YYSYMBOL_U64IMAGE1D = 256, /* U64IMAGE1D */
|
|
YYSYMBOL_I64IMAGE2D = 257, /* I64IMAGE2D */
|
|
YYSYMBOL_U64IMAGE2D = 258, /* U64IMAGE2D */
|
|
YYSYMBOL_I64IMAGE3D = 259, /* I64IMAGE3D */
|
|
YYSYMBOL_U64IMAGE3D = 260, /* U64IMAGE3D */
|
|
YYSYMBOL_I64IMAGE2DRECT = 261, /* I64IMAGE2DRECT */
|
|
YYSYMBOL_U64IMAGE2DRECT = 262, /* U64IMAGE2DRECT */
|
|
YYSYMBOL_I64IMAGECUBE = 263, /* I64IMAGECUBE */
|
|
YYSYMBOL_U64IMAGECUBE = 264, /* U64IMAGECUBE */
|
|
YYSYMBOL_I64IMAGEBUFFER = 265, /* I64IMAGEBUFFER */
|
|
YYSYMBOL_U64IMAGEBUFFER = 266, /* U64IMAGEBUFFER */
|
|
YYSYMBOL_I64IMAGE1DARRAY = 267, /* I64IMAGE1DARRAY */
|
|
YYSYMBOL_U64IMAGE1DARRAY = 268, /* U64IMAGE1DARRAY */
|
|
YYSYMBOL_I64IMAGE2DARRAY = 269, /* I64IMAGE2DARRAY */
|
|
YYSYMBOL_U64IMAGE2DARRAY = 270, /* U64IMAGE2DARRAY */
|
|
YYSYMBOL_I64IMAGECUBEARRAY = 271, /* I64IMAGECUBEARRAY */
|
|
YYSYMBOL_U64IMAGECUBEARRAY = 272, /* U64IMAGECUBEARRAY */
|
|
YYSYMBOL_I64IMAGE2DMS = 273, /* I64IMAGE2DMS */
|
|
YYSYMBOL_U64IMAGE2DMS = 274, /* U64IMAGE2DMS */
|
|
YYSYMBOL_I64IMAGE2DMSARRAY = 275, /* I64IMAGE2DMSARRAY */
|
|
YYSYMBOL_U64IMAGE2DMSARRAY = 276, /* U64IMAGE2DMSARRAY */
|
|
YYSYMBOL_TEXTURECUBEARRAY = 277, /* TEXTURECUBEARRAY */
|
|
YYSYMBOL_ITEXTURECUBEARRAY = 278, /* ITEXTURECUBEARRAY */
|
|
YYSYMBOL_UTEXTURECUBEARRAY = 279, /* UTEXTURECUBEARRAY */
|
|
YYSYMBOL_TEXTURE1D = 280, /* TEXTURE1D */
|
|
YYSYMBOL_ITEXTURE1D = 281, /* ITEXTURE1D */
|
|
YYSYMBOL_UTEXTURE1D = 282, /* UTEXTURE1D */
|
|
YYSYMBOL_TEXTURE1DARRAY = 283, /* TEXTURE1DARRAY */
|
|
YYSYMBOL_ITEXTURE1DARRAY = 284, /* ITEXTURE1DARRAY */
|
|
YYSYMBOL_UTEXTURE1DARRAY = 285, /* UTEXTURE1DARRAY */
|
|
YYSYMBOL_TEXTURE2DRECT = 286, /* TEXTURE2DRECT */
|
|
YYSYMBOL_ITEXTURE2DRECT = 287, /* ITEXTURE2DRECT */
|
|
YYSYMBOL_UTEXTURE2DRECT = 288, /* UTEXTURE2DRECT */
|
|
YYSYMBOL_TEXTUREBUFFER = 289, /* TEXTUREBUFFER */
|
|
YYSYMBOL_ITEXTUREBUFFER = 290, /* ITEXTUREBUFFER */
|
|
YYSYMBOL_UTEXTUREBUFFER = 291, /* UTEXTUREBUFFER */
|
|
YYSYMBOL_TEXTURE2DMS = 292, /* TEXTURE2DMS */
|
|
YYSYMBOL_ITEXTURE2DMS = 293, /* ITEXTURE2DMS */
|
|
YYSYMBOL_UTEXTURE2DMS = 294, /* UTEXTURE2DMS */
|
|
YYSYMBOL_TEXTURE2DMSARRAY = 295, /* TEXTURE2DMSARRAY */
|
|
YYSYMBOL_ITEXTURE2DMSARRAY = 296, /* ITEXTURE2DMSARRAY */
|
|
YYSYMBOL_UTEXTURE2DMSARRAY = 297, /* UTEXTURE2DMSARRAY */
|
|
YYSYMBOL_F16TEXTURE1D = 298, /* F16TEXTURE1D */
|
|
YYSYMBOL_F16TEXTURE2D = 299, /* F16TEXTURE2D */
|
|
YYSYMBOL_F16TEXTURE3D = 300, /* F16TEXTURE3D */
|
|
YYSYMBOL_F16TEXTURE2DRECT = 301, /* F16TEXTURE2DRECT */
|
|
YYSYMBOL_F16TEXTURECUBE = 302, /* F16TEXTURECUBE */
|
|
YYSYMBOL_F16TEXTURE1DARRAY = 303, /* F16TEXTURE1DARRAY */
|
|
YYSYMBOL_F16TEXTURE2DARRAY = 304, /* F16TEXTURE2DARRAY */
|
|
YYSYMBOL_F16TEXTURECUBEARRAY = 305, /* F16TEXTURECUBEARRAY */
|
|
YYSYMBOL_F16TEXTUREBUFFER = 306, /* F16TEXTUREBUFFER */
|
|
YYSYMBOL_F16TEXTURE2DMS = 307, /* F16TEXTURE2DMS */
|
|
YYSYMBOL_F16TEXTURE2DMSARRAY = 308, /* F16TEXTURE2DMSARRAY */
|
|
YYSYMBOL_SUBPASSINPUT = 309, /* SUBPASSINPUT */
|
|
YYSYMBOL_SUBPASSINPUTMS = 310, /* SUBPASSINPUTMS */
|
|
YYSYMBOL_ISUBPASSINPUT = 311, /* ISUBPASSINPUT */
|
|
YYSYMBOL_ISUBPASSINPUTMS = 312, /* ISUBPASSINPUTMS */
|
|
YYSYMBOL_USUBPASSINPUT = 313, /* USUBPASSINPUT */
|
|
YYSYMBOL_USUBPASSINPUTMS = 314, /* USUBPASSINPUTMS */
|
|
YYSYMBOL_F16SUBPASSINPUT = 315, /* F16SUBPASSINPUT */
|
|
YYSYMBOL_F16SUBPASSINPUTMS = 316, /* F16SUBPASSINPUTMS */
|
|
YYSYMBOL_SPIRV_INSTRUCTION = 317, /* SPIRV_INSTRUCTION */
|
|
YYSYMBOL_SPIRV_EXECUTION_MODE = 318, /* SPIRV_EXECUTION_MODE */
|
|
YYSYMBOL_SPIRV_EXECUTION_MODE_ID = 319, /* SPIRV_EXECUTION_MODE_ID */
|
|
YYSYMBOL_SPIRV_DECORATE = 320, /* SPIRV_DECORATE */
|
|
YYSYMBOL_SPIRV_DECORATE_ID = 321, /* SPIRV_DECORATE_ID */
|
|
YYSYMBOL_SPIRV_DECORATE_STRING = 322, /* SPIRV_DECORATE_STRING */
|
|
YYSYMBOL_SPIRV_TYPE = 323, /* SPIRV_TYPE */
|
|
YYSYMBOL_SPIRV_STORAGE_CLASS = 324, /* SPIRV_STORAGE_CLASS */
|
|
YYSYMBOL_SPIRV_BY_REFERENCE = 325, /* SPIRV_BY_REFERENCE */
|
|
YYSYMBOL_SPIRV_LITERAL = 326, /* SPIRV_LITERAL */
|
|
YYSYMBOL_LEFT_OP = 327, /* LEFT_OP */
|
|
YYSYMBOL_RIGHT_OP = 328, /* RIGHT_OP */
|
|
YYSYMBOL_INC_OP = 329, /* INC_OP */
|
|
YYSYMBOL_DEC_OP = 330, /* DEC_OP */
|
|
YYSYMBOL_LE_OP = 331, /* LE_OP */
|
|
YYSYMBOL_GE_OP = 332, /* GE_OP */
|
|
YYSYMBOL_EQ_OP = 333, /* EQ_OP */
|
|
YYSYMBOL_NE_OP = 334, /* NE_OP */
|
|
YYSYMBOL_AND_OP = 335, /* AND_OP */
|
|
YYSYMBOL_OR_OP = 336, /* OR_OP */
|
|
YYSYMBOL_XOR_OP = 337, /* XOR_OP */
|
|
YYSYMBOL_MUL_ASSIGN = 338, /* MUL_ASSIGN */
|
|
YYSYMBOL_DIV_ASSIGN = 339, /* DIV_ASSIGN */
|
|
YYSYMBOL_ADD_ASSIGN = 340, /* ADD_ASSIGN */
|
|
YYSYMBOL_MOD_ASSIGN = 341, /* MOD_ASSIGN */
|
|
YYSYMBOL_LEFT_ASSIGN = 342, /* LEFT_ASSIGN */
|
|
YYSYMBOL_RIGHT_ASSIGN = 343, /* RIGHT_ASSIGN */
|
|
YYSYMBOL_AND_ASSIGN = 344, /* AND_ASSIGN */
|
|
YYSYMBOL_XOR_ASSIGN = 345, /* XOR_ASSIGN */
|
|
YYSYMBOL_OR_ASSIGN = 346, /* OR_ASSIGN */
|
|
YYSYMBOL_SUB_ASSIGN = 347, /* SUB_ASSIGN */
|
|
YYSYMBOL_STRING_LITERAL = 348, /* STRING_LITERAL */
|
|
YYSYMBOL_LEFT_PAREN = 349, /* LEFT_PAREN */
|
|
YYSYMBOL_RIGHT_PAREN = 350, /* RIGHT_PAREN */
|
|
YYSYMBOL_LEFT_BRACKET = 351, /* LEFT_BRACKET */
|
|
YYSYMBOL_RIGHT_BRACKET = 352, /* RIGHT_BRACKET */
|
|
YYSYMBOL_LEFT_BRACE = 353, /* LEFT_BRACE */
|
|
YYSYMBOL_RIGHT_BRACE = 354, /* RIGHT_BRACE */
|
|
YYSYMBOL_DOT = 355, /* DOT */
|
|
YYSYMBOL_COMMA = 356, /* COMMA */
|
|
YYSYMBOL_COLON = 357, /* COLON */
|
|
YYSYMBOL_EQUAL = 358, /* EQUAL */
|
|
YYSYMBOL_SEMICOLON = 359, /* SEMICOLON */
|
|
YYSYMBOL_BANG = 360, /* BANG */
|
|
YYSYMBOL_DASH = 361, /* DASH */
|
|
YYSYMBOL_TILDE = 362, /* TILDE */
|
|
YYSYMBOL_PLUS = 363, /* PLUS */
|
|
YYSYMBOL_STAR = 364, /* STAR */
|
|
YYSYMBOL_SLASH = 365, /* SLASH */
|
|
YYSYMBOL_PERCENT = 366, /* PERCENT */
|
|
YYSYMBOL_LEFT_ANGLE = 367, /* LEFT_ANGLE */
|
|
YYSYMBOL_RIGHT_ANGLE = 368, /* RIGHT_ANGLE */
|
|
YYSYMBOL_VERTICAL_BAR = 369, /* VERTICAL_BAR */
|
|
YYSYMBOL_CARET = 370, /* CARET */
|
|
YYSYMBOL_AMPERSAND = 371, /* AMPERSAND */
|
|
YYSYMBOL_QUESTION = 372, /* QUESTION */
|
|
YYSYMBOL_INVARIANT = 373, /* INVARIANT */
|
|
YYSYMBOL_HIGH_PRECISION = 374, /* HIGH_PRECISION */
|
|
YYSYMBOL_MEDIUM_PRECISION = 375, /* MEDIUM_PRECISION */
|
|
YYSYMBOL_LOW_PRECISION = 376, /* LOW_PRECISION */
|
|
YYSYMBOL_PRECISION = 377, /* PRECISION */
|
|
YYSYMBOL_PACKED = 378, /* PACKED */
|
|
YYSYMBOL_RESOURCE = 379, /* RESOURCE */
|
|
YYSYMBOL_SUPERP = 380, /* SUPERP */
|
|
YYSYMBOL_FLOATCONSTANT = 381, /* FLOATCONSTANT */
|
|
YYSYMBOL_INTCONSTANT = 382, /* INTCONSTANT */
|
|
YYSYMBOL_UINTCONSTANT = 383, /* UINTCONSTANT */
|
|
YYSYMBOL_BOOLCONSTANT = 384, /* BOOLCONSTANT */
|
|
YYSYMBOL_IDENTIFIER = 385, /* IDENTIFIER */
|
|
YYSYMBOL_TYPE_NAME = 386, /* TYPE_NAME */
|
|
YYSYMBOL_CENTROID = 387, /* CENTROID */
|
|
YYSYMBOL_IN = 388, /* IN */
|
|
YYSYMBOL_OUT = 389, /* OUT */
|
|
YYSYMBOL_INOUT = 390, /* INOUT */
|
|
YYSYMBOL_STRUCT = 391, /* STRUCT */
|
|
YYSYMBOL_VOID = 392, /* VOID */
|
|
YYSYMBOL_WHILE = 393, /* WHILE */
|
|
YYSYMBOL_BREAK = 394, /* BREAK */
|
|
YYSYMBOL_CONTINUE = 395, /* CONTINUE */
|
|
YYSYMBOL_DO = 396, /* DO */
|
|
YYSYMBOL_ELSE = 397, /* ELSE */
|
|
YYSYMBOL_FOR = 398, /* FOR */
|
|
YYSYMBOL_IF = 399, /* IF */
|
|
YYSYMBOL_DISCARD = 400, /* DISCARD */
|
|
YYSYMBOL_RETURN = 401, /* RETURN */
|
|
YYSYMBOL_SWITCH = 402, /* SWITCH */
|
|
YYSYMBOL_CASE = 403, /* CASE */
|
|
YYSYMBOL_DEFAULT = 404, /* DEFAULT */
|
|
YYSYMBOL_TERMINATE_INVOCATION = 405, /* TERMINATE_INVOCATION */
|
|
YYSYMBOL_TERMINATE_RAY = 406, /* TERMINATE_RAY */
|
|
YYSYMBOL_IGNORE_INTERSECTION = 407, /* IGNORE_INTERSECTION */
|
|
YYSYMBOL_UNIFORM = 408, /* UNIFORM */
|
|
YYSYMBOL_SHARED = 409, /* SHARED */
|
|
YYSYMBOL_BUFFER = 410, /* BUFFER */
|
|
YYSYMBOL_FLAT = 411, /* FLAT */
|
|
YYSYMBOL_SMOOTH = 412, /* SMOOTH */
|
|
YYSYMBOL_LAYOUT = 413, /* LAYOUT */
|
|
YYSYMBOL_DOUBLECONSTANT = 414, /* DOUBLECONSTANT */
|
|
YYSYMBOL_INT16CONSTANT = 415, /* INT16CONSTANT */
|
|
YYSYMBOL_UINT16CONSTANT = 416, /* UINT16CONSTANT */
|
|
YYSYMBOL_FLOAT16CONSTANT = 417, /* FLOAT16CONSTANT */
|
|
YYSYMBOL_INT32CONSTANT = 418, /* INT32CONSTANT */
|
|
YYSYMBOL_UINT32CONSTANT = 419, /* UINT32CONSTANT */
|
|
YYSYMBOL_INT64CONSTANT = 420, /* INT64CONSTANT */
|
|
YYSYMBOL_UINT64CONSTANT = 421, /* UINT64CONSTANT */
|
|
YYSYMBOL_SUBROUTINE = 422, /* SUBROUTINE */
|
|
YYSYMBOL_DEMOTE = 423, /* DEMOTE */
|
|
YYSYMBOL_PAYLOADNV = 424, /* PAYLOADNV */
|
|
YYSYMBOL_PAYLOADINNV = 425, /* PAYLOADINNV */
|
|
YYSYMBOL_HITATTRNV = 426, /* HITATTRNV */
|
|
YYSYMBOL_CALLDATANV = 427, /* CALLDATANV */
|
|
YYSYMBOL_CALLDATAINNV = 428, /* CALLDATAINNV */
|
|
YYSYMBOL_PAYLOADEXT = 429, /* PAYLOADEXT */
|
|
YYSYMBOL_PAYLOADINEXT = 430, /* PAYLOADINEXT */
|
|
YYSYMBOL_HITATTREXT = 431, /* HITATTREXT */
|
|
YYSYMBOL_CALLDATAEXT = 432, /* CALLDATAEXT */
|
|
YYSYMBOL_CALLDATAINEXT = 433, /* CALLDATAINEXT */
|
|
YYSYMBOL_PATCH = 434, /* PATCH */
|
|
YYSYMBOL_SAMPLE = 435, /* SAMPLE */
|
|
YYSYMBOL_NONUNIFORM = 436, /* NONUNIFORM */
|
|
YYSYMBOL_COHERENT = 437, /* COHERENT */
|
|
YYSYMBOL_VOLATILE = 438, /* VOLATILE */
|
|
YYSYMBOL_RESTRICT = 439, /* RESTRICT */
|
|
YYSYMBOL_READONLY = 440, /* READONLY */
|
|
YYSYMBOL_WRITEONLY = 441, /* WRITEONLY */
|
|
YYSYMBOL_DEVICECOHERENT = 442, /* DEVICECOHERENT */
|
|
YYSYMBOL_QUEUEFAMILYCOHERENT = 443, /* QUEUEFAMILYCOHERENT */
|
|
YYSYMBOL_WORKGROUPCOHERENT = 444, /* WORKGROUPCOHERENT */
|
|
YYSYMBOL_SUBGROUPCOHERENT = 445, /* SUBGROUPCOHERENT */
|
|
YYSYMBOL_NONPRIVATE = 446, /* NONPRIVATE */
|
|
YYSYMBOL_SHADERCALLCOHERENT = 447, /* SHADERCALLCOHERENT */
|
|
YYSYMBOL_NOPERSPECTIVE = 448, /* NOPERSPECTIVE */
|
|
YYSYMBOL_EXPLICITINTERPAMD = 449, /* EXPLICITINTERPAMD */
|
|
YYSYMBOL_PERVERTEXEXT = 450, /* PERVERTEXEXT */
|
|
YYSYMBOL_PERVERTEXNV = 451, /* PERVERTEXNV */
|
|
YYSYMBOL_PERPRIMITIVENV = 452, /* PERPRIMITIVENV */
|
|
YYSYMBOL_PERVIEWNV = 453, /* PERVIEWNV */
|
|
YYSYMBOL_PERTASKNV = 454, /* PERTASKNV */
|
|
YYSYMBOL_PRECISE = 455, /* PRECISE */
|
|
YYSYMBOL_YYACCEPT = 456, /* $accept */
|
|
YYSYMBOL_variable_identifier = 457, /* variable_identifier */
|
|
YYSYMBOL_primary_expression = 458, /* primary_expression */
|
|
YYSYMBOL_postfix_expression = 459, /* postfix_expression */
|
|
YYSYMBOL_integer_expression = 460, /* integer_expression */
|
|
YYSYMBOL_function_call = 461, /* function_call */
|
|
YYSYMBOL_function_call_or_method = 462, /* function_call_or_method */
|
|
YYSYMBOL_function_call_generic = 463, /* function_call_generic */
|
|
YYSYMBOL_function_call_header_no_parameters = 464, /* function_call_header_no_parameters */
|
|
YYSYMBOL_function_call_header_with_parameters = 465, /* function_call_header_with_parameters */
|
|
YYSYMBOL_function_call_header = 466, /* function_call_header */
|
|
YYSYMBOL_function_identifier = 467, /* function_identifier */
|
|
YYSYMBOL_unary_expression = 468, /* unary_expression */
|
|
YYSYMBOL_unary_operator = 469, /* unary_operator */
|
|
YYSYMBOL_multiplicative_expression = 470, /* multiplicative_expression */
|
|
YYSYMBOL_additive_expression = 471, /* additive_expression */
|
|
YYSYMBOL_shift_expression = 472, /* shift_expression */
|
|
YYSYMBOL_relational_expression = 473, /* relational_expression */
|
|
YYSYMBOL_equality_expression = 474, /* equality_expression */
|
|
YYSYMBOL_and_expression = 475, /* and_expression */
|
|
YYSYMBOL_exclusive_or_expression = 476, /* exclusive_or_expression */
|
|
YYSYMBOL_inclusive_or_expression = 477, /* inclusive_or_expression */
|
|
YYSYMBOL_logical_and_expression = 478, /* logical_and_expression */
|
|
YYSYMBOL_logical_xor_expression = 479, /* logical_xor_expression */
|
|
YYSYMBOL_logical_or_expression = 480, /* logical_or_expression */
|
|
YYSYMBOL_conditional_expression = 481, /* conditional_expression */
|
|
YYSYMBOL_482_1 = 482, /* $@1 */
|
|
YYSYMBOL_assignment_expression = 483, /* assignment_expression */
|
|
YYSYMBOL_assignment_operator = 484, /* assignment_operator */
|
|
YYSYMBOL_expression = 485, /* expression */
|
|
YYSYMBOL_constant_expression = 486, /* constant_expression */
|
|
YYSYMBOL_declaration = 487, /* declaration */
|
|
YYSYMBOL_block_structure = 488, /* block_structure */
|
|
YYSYMBOL_489_2 = 489, /* $@2 */
|
|
YYSYMBOL_identifier_list = 490, /* identifier_list */
|
|
YYSYMBOL_function_prototype = 491, /* function_prototype */
|
|
YYSYMBOL_function_declarator = 492, /* function_declarator */
|
|
YYSYMBOL_function_header_with_parameters = 493, /* function_header_with_parameters */
|
|
YYSYMBOL_function_header = 494, /* function_header */
|
|
YYSYMBOL_parameter_declarator = 495, /* parameter_declarator */
|
|
YYSYMBOL_parameter_declaration = 496, /* parameter_declaration */
|
|
YYSYMBOL_parameter_type_specifier = 497, /* parameter_type_specifier */
|
|
YYSYMBOL_init_declarator_list = 498, /* init_declarator_list */
|
|
YYSYMBOL_single_declaration = 499, /* single_declaration */
|
|
YYSYMBOL_fully_specified_type = 500, /* fully_specified_type */
|
|
YYSYMBOL_invariant_qualifier = 501, /* invariant_qualifier */
|
|
YYSYMBOL_interpolation_qualifier = 502, /* interpolation_qualifier */
|
|
YYSYMBOL_layout_qualifier = 503, /* layout_qualifier */
|
|
YYSYMBOL_layout_qualifier_id_list = 504, /* layout_qualifier_id_list */
|
|
YYSYMBOL_layout_qualifier_id = 505, /* layout_qualifier_id */
|
|
YYSYMBOL_precise_qualifier = 506, /* precise_qualifier */
|
|
YYSYMBOL_type_qualifier = 507, /* type_qualifier */
|
|
YYSYMBOL_single_type_qualifier = 508, /* single_type_qualifier */
|
|
YYSYMBOL_storage_qualifier = 509, /* storage_qualifier */
|
|
YYSYMBOL_non_uniform_qualifier = 510, /* non_uniform_qualifier */
|
|
YYSYMBOL_type_name_list = 511, /* type_name_list */
|
|
YYSYMBOL_type_specifier = 512, /* type_specifier */
|
|
YYSYMBOL_array_specifier = 513, /* array_specifier */
|
|
YYSYMBOL_type_parameter_specifier_opt = 514, /* type_parameter_specifier_opt */
|
|
YYSYMBOL_type_parameter_specifier = 515, /* type_parameter_specifier */
|
|
YYSYMBOL_type_parameter_specifier_list = 516, /* type_parameter_specifier_list */
|
|
YYSYMBOL_type_specifier_nonarray = 517, /* type_specifier_nonarray */
|
|
YYSYMBOL_precision_qualifier = 518, /* precision_qualifier */
|
|
YYSYMBOL_struct_specifier = 519, /* struct_specifier */
|
|
YYSYMBOL_520_3 = 520, /* $@3 */
|
|
YYSYMBOL_521_4 = 521, /* $@4 */
|
|
YYSYMBOL_struct_declaration_list = 522, /* struct_declaration_list */
|
|
YYSYMBOL_struct_declaration = 523, /* struct_declaration */
|
|
YYSYMBOL_struct_declarator_list = 524, /* struct_declarator_list */
|
|
YYSYMBOL_struct_declarator = 525, /* struct_declarator */
|
|
YYSYMBOL_initializer = 526, /* initializer */
|
|
YYSYMBOL_initializer_list = 527, /* initializer_list */
|
|
YYSYMBOL_declaration_statement = 528, /* declaration_statement */
|
|
YYSYMBOL_statement = 529, /* statement */
|
|
YYSYMBOL_simple_statement = 530, /* simple_statement */
|
|
YYSYMBOL_demote_statement = 531, /* demote_statement */
|
|
YYSYMBOL_compound_statement = 532, /* compound_statement */
|
|
YYSYMBOL_533_5 = 533, /* $@5 */
|
|
YYSYMBOL_534_6 = 534, /* $@6 */
|
|
YYSYMBOL_statement_no_new_scope = 535, /* statement_no_new_scope */
|
|
YYSYMBOL_statement_scoped = 536, /* statement_scoped */
|
|
YYSYMBOL_537_7 = 537, /* $@7 */
|
|
YYSYMBOL_538_8 = 538, /* $@8 */
|
|
YYSYMBOL_compound_statement_no_new_scope = 539, /* compound_statement_no_new_scope */
|
|
YYSYMBOL_statement_list = 540, /* statement_list */
|
|
YYSYMBOL_expression_statement = 541, /* expression_statement */
|
|
YYSYMBOL_selection_statement = 542, /* selection_statement */
|
|
YYSYMBOL_selection_statement_nonattributed = 543, /* selection_statement_nonattributed */
|
|
YYSYMBOL_selection_rest_statement = 544, /* selection_rest_statement */
|
|
YYSYMBOL_condition = 545, /* condition */
|
|
YYSYMBOL_switch_statement = 546, /* switch_statement */
|
|
YYSYMBOL_switch_statement_nonattributed = 547, /* switch_statement_nonattributed */
|
|
YYSYMBOL_548_9 = 548, /* $@9 */
|
|
YYSYMBOL_switch_statement_list = 549, /* switch_statement_list */
|
|
YYSYMBOL_case_label = 550, /* case_label */
|
|
YYSYMBOL_iteration_statement = 551, /* iteration_statement */
|
|
YYSYMBOL_iteration_statement_nonattributed = 552, /* iteration_statement_nonattributed */
|
|
YYSYMBOL_553_10 = 553, /* $@10 */
|
|
YYSYMBOL_554_11 = 554, /* $@11 */
|
|
YYSYMBOL_555_12 = 555, /* $@12 */
|
|
YYSYMBOL_for_init_statement = 556, /* for_init_statement */
|
|
YYSYMBOL_conditionopt = 557, /* conditionopt */
|
|
YYSYMBOL_for_rest_statement = 558, /* for_rest_statement */
|
|
YYSYMBOL_jump_statement = 559, /* jump_statement */
|
|
YYSYMBOL_translation_unit = 560, /* translation_unit */
|
|
YYSYMBOL_external_declaration = 561, /* external_declaration */
|
|
YYSYMBOL_function_definition = 562, /* function_definition */
|
|
YYSYMBOL_563_13 = 563, /* $@13 */
|
|
YYSYMBOL_attribute = 564, /* attribute */
|
|
YYSYMBOL_attribute_list = 565, /* attribute_list */
|
|
YYSYMBOL_single_attribute = 566, /* single_attribute */
|
|
YYSYMBOL_spirv_requirements_list = 567, /* spirv_requirements_list */
|
|
YYSYMBOL_spirv_requirements_parameter = 568, /* spirv_requirements_parameter */
|
|
YYSYMBOL_spirv_extension_list = 569, /* spirv_extension_list */
|
|
YYSYMBOL_spirv_capability_list = 570, /* spirv_capability_list */
|
|
YYSYMBOL_spirv_execution_mode_qualifier = 571, /* spirv_execution_mode_qualifier */
|
|
YYSYMBOL_spirv_execution_mode_parameter_list = 572, /* spirv_execution_mode_parameter_list */
|
|
YYSYMBOL_spirv_execution_mode_parameter = 573, /* spirv_execution_mode_parameter */
|
|
YYSYMBOL_spirv_execution_mode_id_parameter_list = 574, /* spirv_execution_mode_id_parameter_list */
|
|
YYSYMBOL_spirv_storage_class_qualifier = 575, /* spirv_storage_class_qualifier */
|
|
YYSYMBOL_spirv_decorate_qualifier = 576, /* spirv_decorate_qualifier */
|
|
YYSYMBOL_spirv_decorate_parameter_list = 577, /* spirv_decorate_parameter_list */
|
|
YYSYMBOL_spirv_decorate_parameter = 578, /* spirv_decorate_parameter */
|
|
YYSYMBOL_spirv_decorate_id_parameter_list = 579, /* spirv_decorate_id_parameter_list */
|
|
YYSYMBOL_spirv_decorate_string_parameter_list = 580, /* spirv_decorate_string_parameter_list */
|
|
YYSYMBOL_spirv_type_specifier = 581, /* spirv_type_specifier */
|
|
YYSYMBOL_spirv_type_parameter_list = 582, /* spirv_type_parameter_list */
|
|
YYSYMBOL_spirv_type_parameter = 583, /* spirv_type_parameter */
|
|
YYSYMBOL_spirv_instruction_qualifier = 584, /* spirv_instruction_qualifier */
|
|
YYSYMBOL_spirv_instruction_qualifier_list = 585, /* spirv_instruction_qualifier_list */
|
|
YYSYMBOL_spirv_instruction_qualifier_id = 586 /* spirv_instruction_qualifier_id */
|
|
};
|
|
typedef enum yysymbol_kind_t yysymbol_kind_t;
|
|
|
|
|
|
/* Second part of user prologue. */
|
|
#line 136 "MachineIndependent/glslang.y"
|
|
|
|
|
|
/* windows only pragma */
|
|
#ifdef _MSC_VER
|
|
#pragma warning(disable : 4065)
|
|
#pragma warning(disable : 4127)
|
|
#pragma warning(disable : 4244)
|
|
#endif
|
|
|
|
#define parseContext (*pParseContext)
|
|
#define yyerror(context, msg) context->parserError(msg)
|
|
|
|
extern int yylex(YYSTYPE*, TParseContext&);
|
|
|
|
|
|
#line 733 "MachineIndependent/glslang_tab.cpp"
|
|
|
|
|
|
#ifdef short
|
|
# undef short
|
|
#endif
|
|
|
|
/* On compilers that do not define __PTRDIFF_MAX__ etc., make sure
|
|
<limits.h> and (if available) <stdint.h> are included
|
|
so that the code can choose integer types of a good width. */
|
|
|
|
#ifndef __PTRDIFF_MAX__
|
|
# include <limits.h> /* INFRINGES ON USER NAME SPACE */
|
|
# if defined __STDC_VERSION__ && 199901 <= __STDC_VERSION__
|
|
# include <stdint.h> /* INFRINGES ON USER NAME SPACE */
|
|
# define YY_STDINT_H
|
|
# endif
|
|
#endif
|
|
|
|
/* Narrow types that promote to a signed type and that can represent a
|
|
signed or unsigned integer of at least N bits. In tables they can
|
|
save space and decrease cache pressure. Promoting to a signed type
|
|
helps avoid bugs in integer arithmetic. */
|
|
|
|
#ifdef __INT_LEAST8_MAX__
|
|
typedef __INT_LEAST8_TYPE__ yytype_int8;
|
|
#elif defined YY_STDINT_H
|
|
typedef int_least8_t yytype_int8;
|
|
#else
|
|
typedef signed char yytype_int8;
|
|
#endif
|
|
|
|
#ifdef __INT_LEAST16_MAX__
|
|
typedef __INT_LEAST16_TYPE__ yytype_int16;
|
|
#elif defined YY_STDINT_H
|
|
typedef int_least16_t yytype_int16;
|
|
#else
|
|
typedef short yytype_int16;
|
|
#endif
|
|
|
|
#if defined __UINT_LEAST8_MAX__ && __UINT_LEAST8_MAX__ <= __INT_MAX__
|
|
typedef __UINT_LEAST8_TYPE__ yytype_uint8;
|
|
#elif (!defined __UINT_LEAST8_MAX__ && defined YY_STDINT_H \
|
|
&& UINT_LEAST8_MAX <= INT_MAX)
|
|
typedef uint_least8_t yytype_uint8;
|
|
#elif !defined __UINT_LEAST8_MAX__ && UCHAR_MAX <= INT_MAX
|
|
typedef unsigned char yytype_uint8;
|
|
#else
|
|
typedef short yytype_uint8;
|
|
#endif
|
|
|
|
#if defined __UINT_LEAST16_MAX__ && __UINT_LEAST16_MAX__ <= __INT_MAX__
|
|
typedef __UINT_LEAST16_TYPE__ yytype_uint16;
|
|
#elif (!defined __UINT_LEAST16_MAX__ && defined YY_STDINT_H \
|
|
&& UINT_LEAST16_MAX <= INT_MAX)
|
|
typedef uint_least16_t yytype_uint16;
|
|
#elif !defined __UINT_LEAST16_MAX__ && USHRT_MAX <= INT_MAX
|
|
typedef unsigned short yytype_uint16;
|
|
#else
|
|
typedef int yytype_uint16;
|
|
#endif
|
|
|
|
#ifndef YYPTRDIFF_T
|
|
# if defined __PTRDIFF_TYPE__ && defined __PTRDIFF_MAX__
|
|
# define YYPTRDIFF_T __PTRDIFF_TYPE__
|
|
# define YYPTRDIFF_MAXIMUM __PTRDIFF_MAX__
|
|
# elif defined PTRDIFF_MAX
|
|
# ifndef ptrdiff_t
|
|
# include <stddef.h> /* INFRINGES ON USER NAME SPACE */
|
|
# endif
|
|
# define YYPTRDIFF_T ptrdiff_t
|
|
# define YYPTRDIFF_MAXIMUM PTRDIFF_MAX
|
|
# else
|
|
# define YYPTRDIFF_T long
|
|
# define YYPTRDIFF_MAXIMUM LONG_MAX
|
|
# endif
|
|
#endif
|
|
|
|
#ifndef YYSIZE_T
|
|
# ifdef __SIZE_TYPE__
|
|
# define YYSIZE_T __SIZE_TYPE__
|
|
# elif defined size_t
|
|
# define YYSIZE_T size_t
|
|
# elif defined __STDC_VERSION__ && 199901 <= __STDC_VERSION__
|
|
# include <stddef.h> /* INFRINGES ON USER NAME SPACE */
|
|
# define YYSIZE_T size_t
|
|
# else
|
|
# define YYSIZE_T unsigned
|
|
# endif
|
|
#endif
|
|
|
|
#define YYSIZE_MAXIMUM \
|
|
YY_CAST (YYPTRDIFF_T, \
|
|
(YYPTRDIFF_MAXIMUM < YY_CAST (YYSIZE_T, -1) \
|
|
? YYPTRDIFF_MAXIMUM \
|
|
: YY_CAST (YYSIZE_T, -1)))
|
|
|
|
#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
|
|
|
|
|
|
/* Stored state numbers (used for stacks). */
|
|
typedef yytype_int16 yy_state_t;
|
|
|
|
/* State numbers in computations. */
|
|
typedef int yy_state_fast_t;
|
|
|
|
#ifndef YY_
|
|
# if defined YYENABLE_NLS && YYENABLE_NLS
|
|
# if ENABLE_NLS
|
|
# include <libintl.h> /* INFRINGES ON USER NAME SPACE */
|
|
# define YY_(Msgid) dgettext ("bison-runtime", Msgid)
|
|
# endif
|
|
# endif
|
|
# ifndef YY_
|
|
# define YY_(Msgid) Msgid
|
|
# endif
|
|
#endif
|
|
|
|
|
|
#ifndef YY_ATTRIBUTE_PURE
|
|
# if defined __GNUC__ && 2 < __GNUC__ + (96 <= __GNUC_MINOR__)
|
|
# define YY_ATTRIBUTE_PURE __attribute__ ((__pure__))
|
|
# else
|
|
# define YY_ATTRIBUTE_PURE
|
|
# endif
|
|
#endif
|
|
|
|
#ifndef YY_ATTRIBUTE_UNUSED
|
|
# if defined __GNUC__ && 2 < __GNUC__ + (7 <= __GNUC_MINOR__)
|
|
# define YY_ATTRIBUTE_UNUSED __attribute__ ((__unused__))
|
|
# else
|
|
# define YY_ATTRIBUTE_UNUSED
|
|
# endif
|
|
#endif
|
|
|
|
/* Suppress unused-variable warnings by "using" E. */
|
|
#if ! defined lint || defined __GNUC__
|
|
# define YYUSE(E) ((void) (E))
|
|
#else
|
|
# define YYUSE(E) /* empty */
|
|
#endif
|
|
|
|
#if defined __GNUC__ && ! defined __ICC && 407 <= __GNUC__ * 100 + __GNUC_MINOR__
|
|
/* Suppress an incorrect diagnostic about yylval being uninitialized. */
|
|
# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \
|
|
_Pragma ("GCC diagnostic push") \
|
|
_Pragma ("GCC diagnostic ignored \"-Wuninitialized\"") \
|
|
_Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"")
|
|
# define YY_IGNORE_MAYBE_UNINITIALIZED_END \
|
|
_Pragma ("GCC diagnostic pop")
|
|
#else
|
|
# define YY_INITIAL_VALUE(Value) Value
|
|
#endif
|
|
#ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
|
|
# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
|
|
# define YY_IGNORE_MAYBE_UNINITIALIZED_END
|
|
#endif
|
|
#ifndef YY_INITIAL_VALUE
|
|
# define YY_INITIAL_VALUE(Value) /* Nothing. */
|
|
#endif
|
|
|
|
#if defined __cplusplus && defined __GNUC__ && ! defined __ICC && 6 <= __GNUC__
|
|
# define YY_IGNORE_USELESS_CAST_BEGIN \
|
|
_Pragma ("GCC diagnostic push") \
|
|
_Pragma ("GCC diagnostic ignored \"-Wuseless-cast\"")
|
|
# define YY_IGNORE_USELESS_CAST_END \
|
|
_Pragma ("GCC diagnostic pop")
|
|
#endif
|
|
#ifndef YY_IGNORE_USELESS_CAST_BEGIN
|
|
# define YY_IGNORE_USELESS_CAST_BEGIN
|
|
# define YY_IGNORE_USELESS_CAST_END
|
|
#endif
|
|
|
|
|
|
#define YY_ASSERT(E) ((void) (0 && (E)))
|
|
|
|
#if 1
|
|
|
|
/* The parser invokes alloca or malloc; define the necessary symbols. */
|
|
|
|
# ifdef YYSTACK_USE_ALLOCA
|
|
# if YYSTACK_USE_ALLOCA
|
|
# ifdef __GNUC__
|
|
# define YYSTACK_ALLOC __builtin_alloca
|
|
# elif defined __BUILTIN_VA_ARG_INCR
|
|
# include <alloca.h> /* INFRINGES ON USER NAME SPACE */
|
|
# elif defined _AIX
|
|
# define YYSTACK_ALLOC __alloca
|
|
# elif defined _MSC_VER
|
|
# include <malloc.h> /* INFRINGES ON USER NAME SPACE */
|
|
# define alloca _alloca
|
|
# else
|
|
# define YYSTACK_ALLOC alloca
|
|
# if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS
|
|
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
|
|
/* Use EXIT_SUCCESS as a witness for stdlib.h. */
|
|
# ifndef EXIT_SUCCESS
|
|
# define EXIT_SUCCESS 0
|
|
# endif
|
|
# endif
|
|
# endif
|
|
# endif
|
|
# endif
|
|
|
|
# ifdef YYSTACK_ALLOC
|
|
/* Pacify GCC's 'empty if-body' warning. */
|
|
# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0)
|
|
# ifndef YYSTACK_ALLOC_MAXIMUM
|
|
/* The OS might guarantee only one guard page at the bottom of the stack,
|
|
and a page size can be as small as 4096 bytes. So we cannot safely
|
|
invoke alloca (N) if N exceeds 4096. Use a slightly smaller number
|
|
to allow for a few compiler-allocated temporary stack slots. */
|
|
# define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */
|
|
# endif
|
|
# else
|
|
# define YYSTACK_ALLOC YYMALLOC
|
|
# define YYSTACK_FREE YYFREE
|
|
# ifndef YYSTACK_ALLOC_MAXIMUM
|
|
# define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
|
|
# endif
|
|
# if (defined __cplusplus && ! defined EXIT_SUCCESS \
|
|
&& ! ((defined YYMALLOC || defined malloc) \
|
|
&& (defined YYFREE || defined free)))
|
|
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
|
|
# ifndef EXIT_SUCCESS
|
|
# define EXIT_SUCCESS 0
|
|
# endif
|
|
# endif
|
|
# ifndef YYMALLOC
|
|
# define YYMALLOC malloc
|
|
# if ! defined malloc && ! defined EXIT_SUCCESS
|
|
void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
|
|
# endif
|
|
# endif
|
|
# ifndef YYFREE
|
|
# define YYFREE free
|
|
# if ! defined free && ! defined EXIT_SUCCESS
|
|
void free (void *); /* INFRINGES ON USER NAME SPACE */
|
|
# endif
|
|
# endif
|
|
# endif
|
|
#endif /* 1 */
|
|
|
|
#if (! defined yyoverflow \
|
|
&& (! defined __cplusplus \
|
|
|| (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
|
|
|
|
/* A type that is properly aligned for any stack member. */
|
|
union yyalloc
|
|
{
|
|
yy_state_t yyss_alloc;
|
|
YYSTYPE yyvs_alloc;
|
|
};
|
|
|
|
/* The size of the maximum gap between one aligned stack and the next. */
|
|
# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1)
|
|
|
|
/* The size of an array large to enough to hold all stacks, each with
|
|
N elements. */
|
|
# define YYSTACK_BYTES(N) \
|
|
((N) * (YYSIZEOF (yy_state_t) + YYSIZEOF (YYSTYPE)) \
|
|
+ YYSTACK_GAP_MAXIMUM)
|
|
|
|
# define YYCOPY_NEEDED 1
|
|
|
|
/* Relocate STACK from its old location to the new one. The
|
|
local variables YYSIZE and YYSTACKSIZE give the old and new number of
|
|
elements in the stack, and YYPTR gives the new location of the
|
|
stack. Advance YYPTR to a properly aligned location for the next
|
|
stack. */
|
|
# define YYSTACK_RELOCATE(Stack_alloc, Stack) \
|
|
do \
|
|
{ \
|
|
YYPTRDIFF_T yynewbytes; \
|
|
YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \
|
|
Stack = &yyptr->Stack_alloc; \
|
|
yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
|
|
yyptr += yynewbytes / YYSIZEOF (*yyptr); \
|
|
} \
|
|
while (0)
|
|
|
|
#endif
|
|
|
|
#if defined YYCOPY_NEEDED && YYCOPY_NEEDED
|
|
/* Copy COUNT objects from SRC to DST. The source and destination do
|
|
not overlap. */
|
|
# ifndef YYCOPY
|
|
# if defined __GNUC__ && 1 < __GNUC__
|
|
# define YYCOPY(Dst, Src, Count) \
|
|
__builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
|
|
# else
|
|
# define YYCOPY(Dst, Src, Count) \
|
|
do \
|
|
{ \
|
|
YYPTRDIFF_T yyi; \
|
|
for (yyi = 0; yyi < (Count); yyi++) \
|
|
(Dst)[yyi] = (Src)[yyi]; \
|
|
} \
|
|
while (0)
|
|
# endif
|
|
# endif
|
|
#endif /* !YYCOPY_NEEDED */
|
|
|
|
/* YYFINAL -- State number of the termination state. */
|
|
#define YYFINAL 443
|
|
/* YYLAST -- Last index in YYTABLE. */
|
|
#define YYLAST 12469
|
|
|
|
/* YYNTOKENS -- Number of terminals. */
|
|
#define YYNTOKENS 456
|
|
/* YYNNTS -- Number of nonterminals. */
|
|
#define YYNNTS 131
|
|
/* YYNRULES -- Number of rules. */
|
|
#define YYNRULES 684
|
|
/* YYNSTATES -- Number of states. */
|
|
#define YYNSTATES 930
|
|
|
|
/* YYMAXUTOK -- Last valid token kind. */
|
|
#define YYMAXUTOK 710
|
|
|
|
|
|
/* YYTRANSLATE(TOKEN-NUM) -- Symbol number corresponding to TOKEN-NUM
|
|
as returned by yylex, with out-of-bounds checking. */
|
|
#define YYTRANSLATE(YYX) \
|
|
(0 <= (YYX) && (YYX) <= YYMAXUTOK \
|
|
? YY_CAST (yysymbol_kind_t, yytranslate[YYX]) \
|
|
: YYSYMBOL_YYUNDEF)
|
|
|
|
/* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM
|
|
as returned by yylex. */
|
|
static const yytype_int16 yytranslate[] =
|
|
{
|
|
0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
|
|
2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
|
|
5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
|
|
15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
|
|
25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
|
|
35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
|
|
45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
|
|
55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
|
|
65, 66, 67, 68, 69, 70, 71, 72, 73, 74,
|
|
75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
|
|
85, 86, 87, 88, 89, 90, 91, 92, 93, 94,
|
|
95, 96, 97, 98, 99, 100, 101, 102, 103, 104,
|
|
105, 106, 107, 108, 109, 110, 111, 112, 113, 114,
|
|
115, 116, 117, 118, 119, 120, 121, 122, 123, 124,
|
|
125, 126, 127, 128, 129, 130, 131, 132, 133, 134,
|
|
135, 136, 137, 138, 139, 140, 141, 142, 143, 144,
|
|
145, 146, 147, 148, 149, 150, 151, 152, 153, 154,
|
|
155, 156, 157, 158, 159, 160, 161, 162, 163, 164,
|
|
165, 166, 167, 168, 169, 170, 171, 172, 173, 174,
|
|
175, 176, 177, 178, 179, 180, 181, 182, 183, 184,
|
|
185, 186, 187, 188, 189, 190, 191, 192, 193, 194,
|
|
195, 196, 197, 198, 199, 200, 201, 202, 203, 204,
|
|
205, 206, 207, 208, 209, 210, 211, 212, 213, 214,
|
|
215, 216, 217, 218, 219, 220, 221, 222, 223, 224,
|
|
225, 226, 227, 228, 229, 230, 231, 232, 233, 234,
|
|
235, 236, 237, 238, 239, 240, 241, 242, 243, 244,
|
|
245, 246, 247, 248, 249, 250, 251, 252, 253, 254,
|
|
255, 256, 257, 258, 259, 260, 261, 262, 263, 264,
|
|
265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
|
|
275, 276, 277, 278, 279, 280, 281, 282, 283, 284,
|
|
285, 286, 287, 288, 289, 290, 291, 292, 293, 294,
|
|
295, 296, 297, 298, 299, 300, 301, 302, 303, 304,
|
|
305, 306, 307, 308, 309, 310, 311, 312, 313, 314,
|
|
315, 316, 317, 318, 319, 320, 321, 322, 323, 324,
|
|
325, 326, 327, 328, 329, 330, 331, 332, 333, 334,
|
|
335, 336, 337, 338, 339, 340, 341, 342, 343, 344,
|
|
345, 346, 347, 348, 349, 350, 351, 352, 353, 354,
|
|
355, 356, 357, 358, 359, 360, 361, 362, 363, 364,
|
|
365, 366, 367, 368, 369, 370, 371, 372, 373, 374,
|
|
375, 376, 377, 378, 379, 380, 381, 382, 383, 384,
|
|
385, 386, 387, 388, 389, 390, 391, 392, 393, 394,
|
|
395, 396, 397, 398, 399, 400, 401, 402, 403, 404,
|
|
405, 406, 407, 408, 409, 410, 411, 412, 413, 414,
|
|
415, 416, 417, 418, 419, 420, 421, 422, 423, 424,
|
|
425, 426, 427, 428, 429, 430, 431, 432, 433, 434,
|
|
435, 436, 437, 438, 439, 440, 441, 442, 443, 444,
|
|
445, 446, 447, 448, 449, 450, 451, 452, 453, 454,
|
|
455
|
|
};
|
|
|
|
#if YYDEBUG
|
|
/* YYRLINE[YYN] -- Source line where rule number YYN was defined. */
|
|
static const yytype_int16 yyrline[] =
|
|
{
|
|
0, 392, 392, 398, 401, 406, 409, 412, 416, 420,
|
|
423, 427, 431, 435, 439, 443, 447, 453, 461, 464,
|
|
467, 470, 473, 478, 486, 493, 500, 506, 510, 517,
|
|
520, 526, 533, 543, 551, 556, 584, 593, 599, 603,
|
|
607, 627, 628, 629, 630, 636, 637, 642, 647, 656,
|
|
657, 662, 670, 671, 677, 686, 687, 692, 697, 702,
|
|
710, 711, 720, 732, 733, 742, 743, 752, 753, 762,
|
|
763, 771, 772, 780, 781, 789, 790, 790, 808, 809,
|
|
825, 829, 833, 837, 842, 846, 850, 854, 858, 862,
|
|
866, 873, 876, 887, 894, 900, 907, 913, 918, 925,
|
|
929, 933, 937, 942, 947, 956, 956, 967, 971, 978,
|
|
982, 988, 994, 1004, 1007, 1014, 1022, 1042, 1065, 1080,
|
|
1105, 1116, 1126, 1136, 1146, 1155, 1158, 1162, 1166, 1171,
|
|
1179, 1186, 1191, 1196, 1201, 1210, 1220, 1247, 1256, 1263,
|
|
1271, 1278, 1285, 1293, 1301, 1311, 1318, 1329, 1335, 1338,
|
|
1345, 1349, 1353, 1362, 1372, 1375, 1386, 1389, 1392, 1396,
|
|
1400, 1405, 1409, 1412, 1417, 1421, 1426, 1435, 1439, 1444,
|
|
1450, 1456, 1463, 1468, 1476, 1482, 1494, 1508, 1514, 1519,
|
|
1527, 1535, 1543, 1551, 1559, 1567, 1575, 1583, 1590, 1597,
|
|
1601, 1606, 1611, 1616, 1621, 1626, 1631, 1635, 1639, 1643,
|
|
1647, 1653, 1664, 1671, 1674, 1683, 1688, 1698, 1703, 1711,
|
|
1715, 1725, 1728, 1734, 1740, 1747, 1757, 1761, 1765, 1769,
|
|
1774, 1778, 1783, 1788, 1793, 1798, 1803, 1808, 1813, 1818,
|
|
1823, 1829, 1835, 1841, 1846, 1851, 1856, 1861, 1866, 1871,
|
|
1876, 1881, 1886, 1891, 1896, 1902, 1909, 1914, 1919, 1924,
|
|
1929, 1934, 1939, 1944, 1949, 1954, 1959, 1964, 1972, 1980,
|
|
1988, 1994, 2000, 2006, 2012, 2018, 2024, 2030, 2036, 2042,
|
|
2048, 2054, 2060, 2066, 2072, 2078, 2084, 2090, 2096, 2102,
|
|
2108, 2114, 2120, 2126, 2132, 2138, 2144, 2150, 2156, 2162,
|
|
2168, 2174, 2180, 2186, 2194, 2202, 2210, 2218, 2226, 2234,
|
|
2242, 2250, 2258, 2266, 2274, 2282, 2288, 2294, 2300, 2306,
|
|
2312, 2318, 2324, 2330, 2336, 2342, 2348, 2354, 2360, 2366,
|
|
2372, 2378, 2384, 2390, 2396, 2402, 2408, 2414, 2420, 2426,
|
|
2432, 2438, 2444, 2450, 2456, 2462, 2468, 2474, 2480, 2486,
|
|
2492, 2498, 2502, 2506, 2510, 2515, 2521, 2526, 2531, 2536,
|
|
2541, 2546, 2551, 2557, 2562, 2567, 2572, 2577, 2582, 2588,
|
|
2594, 2600, 2606, 2612, 2618, 2624, 2630, 2636, 2642, 2648,
|
|
2654, 2660, 2666, 2671, 2676, 2681, 2686, 2691, 2696, 2702,
|
|
2707, 2712, 2717, 2722, 2727, 2732, 2737, 2743, 2748, 2753,
|
|
2758, 2763, 2768, 2773, 2778, 2783, 2788, 2793, 2798, 2803,
|
|
2808, 2813, 2819, 2824, 2829, 2835, 2841, 2846, 2851, 2856,
|
|
2862, 2867, 2872, 2877, 2883, 2888, 2893, 2898, 2904, 2909,
|
|
2914, 2919, 2925, 2931, 2937, 2943, 2948, 2954, 2960, 2966,
|
|
2971, 2976, 2981, 2986, 2991, 2997, 3002, 3007, 3012, 3018,
|
|
3023, 3028, 3033, 3039, 3044, 3049, 3054, 3060, 3065, 3070,
|
|
3075, 3081, 3086, 3091, 3096, 3102, 3107, 3112, 3117, 3123,
|
|
3128, 3133, 3138, 3144, 3149, 3154, 3159, 3165, 3170, 3175,
|
|
3180, 3186, 3191, 3196, 3201, 3207, 3212, 3217, 3222, 3228,
|
|
3233, 3238, 3243, 3249, 3254, 3259, 3264, 3270, 3275, 3280,
|
|
3285, 3291, 3296, 3301, 3306, 3311, 3316, 3321, 3326, 3331,
|
|
3336, 3341, 3346, 3351, 3356, 3361, 3366, 3371, 3376, 3381,
|
|
3386, 3391, 3396, 3401, 3406, 3411, 3417, 3423, 3429, 3435,
|
|
3442, 3449, 3455, 3461, 3467, 3473, 3479, 3485, 3491, 3496,
|
|
3501, 3517, 3522, 3527, 3535, 3535, 3546, 3546, 3556, 3559,
|
|
3572, 3594, 3621, 3625, 3631, 3636, 3647, 3651, 3657, 3663,
|
|
3674, 3677, 3684, 3688, 3689, 3695, 3696, 3697, 3698, 3699,
|
|
3700, 3701, 3703, 3709, 3718, 3719, 3723, 3719, 3735, 3736,
|
|
3740, 3740, 3747, 3747, 3761, 3764, 3772, 3780, 3791, 3792,
|
|
3796, 3800, 3808, 3815, 3819, 3827, 3831, 3844, 3848, 3856,
|
|
3856, 3876, 3879, 3885, 3897, 3909, 3913, 3921, 3921, 3936,
|
|
3936, 3954, 3954, 3975, 3978, 3984, 3987, 3993, 3997, 4004,
|
|
4009, 4014, 4021, 4024, 4028, 4033, 4037, 4047, 4051, 4060,
|
|
4063, 4067, 4076, 4076, 4118, 4123, 4126, 4131, 4134, 4141,
|
|
4144, 4149, 4152, 4157, 4160, 4165, 4168, 4173, 4177, 4182,
|
|
4186, 4191, 4195, 4202, 4205, 4210, 4213, 4216, 4219, 4222,
|
|
4227, 4236, 4247, 4252, 4260, 4264, 4269, 4273, 4278, 4282,
|
|
4287, 4291, 4298, 4301, 4306, 4309, 4312, 4315, 4320, 4328,
|
|
4338, 4342, 4347, 4351, 4356, 4360, 4367, 4370, 4375, 4380,
|
|
4383, 4389, 4392, 4397, 4400
|
|
};
|
|
#endif
|
|
|
|
/** Accessing symbol of state STATE. */
|
|
#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State])
|
|
|
|
#if 1
|
|
/* The user-facing name of the symbol whose (internal) number is
|
|
YYSYMBOL. No bounds checking. */
|
|
static const char *yysymbol_name (yysymbol_kind_t yysymbol) YY_ATTRIBUTE_UNUSED;
|
|
|
|
/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
|
|
First, the terminals, then, starting at YYNTOKENS, nonterminals. */
|
|
static const char *const yytname[] =
|
|
{
|
|
"\"end of file\"", "error", "\"invalid token\"", "CONST", "BOOL", "INT",
|
|
"UINT", "FLOAT", "BVEC2", "BVEC3", "BVEC4", "IVEC2", "IVEC3", "IVEC4",
|
|
"UVEC2", "UVEC3", "UVEC4", "VEC2", "VEC3", "VEC4", "MAT2", "MAT3",
|
|
"MAT4", "MAT2X2", "MAT2X3", "MAT2X4", "MAT3X2", "MAT3X3", "MAT3X4",
|
|
"MAT4X2", "MAT4X3", "MAT4X4", "SAMPLER2D", "SAMPLER3D", "SAMPLERCUBE",
|
|
"SAMPLER2DSHADOW", "SAMPLERCUBESHADOW", "SAMPLER2DARRAY",
|
|
"SAMPLER2DARRAYSHADOW", "ISAMPLER2D", "ISAMPLER3D", "ISAMPLERCUBE",
|
|
"ISAMPLER2DARRAY", "USAMPLER2D", "USAMPLER3D", "USAMPLERCUBE",
|
|
"USAMPLER2DARRAY", "SAMPLER", "SAMPLERSHADOW", "TEXTURE2D", "TEXTURE3D",
|
|
"TEXTURECUBE", "TEXTURE2DARRAY", "ITEXTURE2D", "ITEXTURE3D",
|
|
"ITEXTURECUBE", "ITEXTURE2DARRAY", "UTEXTURE2D", "UTEXTURE3D",
|
|
"UTEXTURECUBE", "UTEXTURE2DARRAY", "ATTRIBUTE", "VARYING", "FLOAT16_T",
|
|
"FLOAT32_T", "DOUBLE", "FLOAT64_T", "INT64_T", "UINT64_T", "INT32_T",
|
|
"UINT32_T", "INT16_T", "UINT16_T", "INT8_T", "UINT8_T", "I64VEC2",
|
|
"I64VEC3", "I64VEC4", "U64VEC2", "U64VEC3", "U64VEC4", "I32VEC2",
|
|
"I32VEC3", "I32VEC4", "U32VEC2", "U32VEC3", "U32VEC4", "I16VEC2",
|
|
"I16VEC3", "I16VEC4", "U16VEC2", "U16VEC3", "U16VEC4", "I8VEC2",
|
|
"I8VEC3", "I8VEC4", "U8VEC2", "U8VEC3", "U8VEC4", "DVEC2", "DVEC3",
|
|
"DVEC4", "DMAT2", "DMAT3", "DMAT4", "F16VEC2", "F16VEC3", "F16VEC4",
|
|
"F16MAT2", "F16MAT3", "F16MAT4", "F32VEC2", "F32VEC3", "F32VEC4",
|
|
"F32MAT2", "F32MAT3", "F32MAT4", "F64VEC2", "F64VEC3", "F64VEC4",
|
|
"F64MAT2", "F64MAT3", "F64MAT4", "DMAT2X2", "DMAT2X3", "DMAT2X4",
|
|
"DMAT3X2", "DMAT3X3", "DMAT3X4", "DMAT4X2", "DMAT4X3", "DMAT4X4",
|
|
"F16MAT2X2", "F16MAT2X3", "F16MAT2X4", "F16MAT3X2", "F16MAT3X3",
|
|
"F16MAT3X4", "F16MAT4X2", "F16MAT4X3", "F16MAT4X4", "F32MAT2X2",
|
|
"F32MAT2X3", "F32MAT2X4", "F32MAT3X2", "F32MAT3X3", "F32MAT3X4",
|
|
"F32MAT4X2", "F32MAT4X3", "F32MAT4X4", "F64MAT2X2", "F64MAT2X3",
|
|
"F64MAT2X4", "F64MAT3X2", "F64MAT3X3", "F64MAT3X4", "F64MAT4X2",
|
|
"F64MAT4X3", "F64MAT4X4", "ATOMIC_UINT", "ACCSTRUCTNV", "ACCSTRUCTEXT",
|
|
"RAYQUERYEXT", "FCOOPMATNV", "ICOOPMATNV", "UCOOPMATNV",
|
|
"SAMPLERCUBEARRAY", "SAMPLERCUBEARRAYSHADOW", "ISAMPLERCUBEARRAY",
|
|
"USAMPLERCUBEARRAY", "SAMPLER1D", "SAMPLER1DARRAY",
|
|
"SAMPLER1DARRAYSHADOW", "ISAMPLER1D", "SAMPLER1DSHADOW", "SAMPLER2DRECT",
|
|
"SAMPLER2DRECTSHADOW", "ISAMPLER2DRECT", "USAMPLER2DRECT",
|
|
"SAMPLERBUFFER", "ISAMPLERBUFFER", "USAMPLERBUFFER", "SAMPLER2DMS",
|
|
"ISAMPLER2DMS", "USAMPLER2DMS", "SAMPLER2DMSARRAY", "ISAMPLER2DMSARRAY",
|
|
"USAMPLER2DMSARRAY", "SAMPLEREXTERNALOES", "SAMPLEREXTERNAL2DY2YEXT",
|
|
"ISAMPLER1DARRAY", "USAMPLER1D", "USAMPLER1DARRAY", "F16SAMPLER1D",
|
|
"F16SAMPLER2D", "F16SAMPLER3D", "F16SAMPLER2DRECT", "F16SAMPLERCUBE",
|
|
"F16SAMPLER1DARRAY", "F16SAMPLER2DARRAY", "F16SAMPLERCUBEARRAY",
|
|
"F16SAMPLERBUFFER", "F16SAMPLER2DMS", "F16SAMPLER2DMSARRAY",
|
|
"F16SAMPLER1DSHADOW", "F16SAMPLER2DSHADOW", "F16SAMPLER1DARRAYSHADOW",
|
|
"F16SAMPLER2DARRAYSHADOW", "F16SAMPLER2DRECTSHADOW",
|
|
"F16SAMPLERCUBESHADOW", "F16SAMPLERCUBEARRAYSHADOW", "IMAGE1D",
|
|
"IIMAGE1D", "UIMAGE1D", "IMAGE2D", "IIMAGE2D", "UIMAGE2D", "IMAGE3D",
|
|
"IIMAGE3D", "UIMAGE3D", "IMAGE2DRECT", "IIMAGE2DRECT", "UIMAGE2DRECT",
|
|
"IMAGECUBE", "IIMAGECUBE", "UIMAGECUBE", "IMAGEBUFFER", "IIMAGEBUFFER",
|
|
"UIMAGEBUFFER", "IMAGE1DARRAY", "IIMAGE1DARRAY", "UIMAGE1DARRAY",
|
|
"IMAGE2DARRAY", "IIMAGE2DARRAY", "UIMAGE2DARRAY", "IMAGECUBEARRAY",
|
|
"IIMAGECUBEARRAY", "UIMAGECUBEARRAY", "IMAGE2DMS", "IIMAGE2DMS",
|
|
"UIMAGE2DMS", "IMAGE2DMSARRAY", "IIMAGE2DMSARRAY", "UIMAGE2DMSARRAY",
|
|
"F16IMAGE1D", "F16IMAGE2D", "F16IMAGE3D", "F16IMAGE2DRECT",
|
|
"F16IMAGECUBE", "F16IMAGE1DARRAY", "F16IMAGE2DARRAY",
|
|
"F16IMAGECUBEARRAY", "F16IMAGEBUFFER", "F16IMAGE2DMS",
|
|
"F16IMAGE2DMSARRAY", "I64IMAGE1D", "U64IMAGE1D", "I64IMAGE2D",
|
|
"U64IMAGE2D", "I64IMAGE3D", "U64IMAGE3D", "I64IMAGE2DRECT",
|
|
"U64IMAGE2DRECT", "I64IMAGECUBE", "U64IMAGECUBE", "I64IMAGEBUFFER",
|
|
"U64IMAGEBUFFER", "I64IMAGE1DARRAY", "U64IMAGE1DARRAY",
|
|
"I64IMAGE2DARRAY", "U64IMAGE2DARRAY", "I64IMAGECUBEARRAY",
|
|
"U64IMAGECUBEARRAY", "I64IMAGE2DMS", "U64IMAGE2DMS", "I64IMAGE2DMSARRAY",
|
|
"U64IMAGE2DMSARRAY", "TEXTURECUBEARRAY", "ITEXTURECUBEARRAY",
|
|
"UTEXTURECUBEARRAY", "TEXTURE1D", "ITEXTURE1D", "UTEXTURE1D",
|
|
"TEXTURE1DARRAY", "ITEXTURE1DARRAY", "UTEXTURE1DARRAY", "TEXTURE2DRECT",
|
|
"ITEXTURE2DRECT", "UTEXTURE2DRECT", "TEXTUREBUFFER", "ITEXTUREBUFFER",
|
|
"UTEXTUREBUFFER", "TEXTURE2DMS", "ITEXTURE2DMS", "UTEXTURE2DMS",
|
|
"TEXTURE2DMSARRAY", "ITEXTURE2DMSARRAY", "UTEXTURE2DMSARRAY",
|
|
"F16TEXTURE1D", "F16TEXTURE2D", "F16TEXTURE3D", "F16TEXTURE2DRECT",
|
|
"F16TEXTURECUBE", "F16TEXTURE1DARRAY", "F16TEXTURE2DARRAY",
|
|
"F16TEXTURECUBEARRAY", "F16TEXTUREBUFFER", "F16TEXTURE2DMS",
|
|
"F16TEXTURE2DMSARRAY", "SUBPASSINPUT", "SUBPASSINPUTMS", "ISUBPASSINPUT",
|
|
"ISUBPASSINPUTMS", "USUBPASSINPUT", "USUBPASSINPUTMS", "F16SUBPASSINPUT",
|
|
"F16SUBPASSINPUTMS", "SPIRV_INSTRUCTION", "SPIRV_EXECUTION_MODE",
|
|
"SPIRV_EXECUTION_MODE_ID", "SPIRV_DECORATE", "SPIRV_DECORATE_ID",
|
|
"SPIRV_DECORATE_STRING", "SPIRV_TYPE", "SPIRV_STORAGE_CLASS",
|
|
"SPIRV_BY_REFERENCE", "SPIRV_LITERAL", "LEFT_OP", "RIGHT_OP", "INC_OP",
|
|
"DEC_OP", "LE_OP", "GE_OP", "EQ_OP", "NE_OP", "AND_OP", "OR_OP",
|
|
"XOR_OP", "MUL_ASSIGN", "DIV_ASSIGN", "ADD_ASSIGN", "MOD_ASSIGN",
|
|
"LEFT_ASSIGN", "RIGHT_ASSIGN", "AND_ASSIGN", "XOR_ASSIGN", "OR_ASSIGN",
|
|
"SUB_ASSIGN", "STRING_LITERAL", "LEFT_PAREN", "RIGHT_PAREN",
|
|
"LEFT_BRACKET", "RIGHT_BRACKET", "LEFT_BRACE", "RIGHT_BRACE", "DOT",
|
|
"COMMA", "COLON", "EQUAL", "SEMICOLON", "BANG", "DASH", "TILDE", "PLUS",
|
|
"STAR", "SLASH", "PERCENT", "LEFT_ANGLE", "RIGHT_ANGLE", "VERTICAL_BAR",
|
|
"CARET", "AMPERSAND", "QUESTION", "INVARIANT", "HIGH_PRECISION",
|
|
"MEDIUM_PRECISION", "LOW_PRECISION", "PRECISION", "PACKED", "RESOURCE",
|
|
"SUPERP", "FLOATCONSTANT", "INTCONSTANT", "UINTCONSTANT", "BOOLCONSTANT",
|
|
"IDENTIFIER", "TYPE_NAME", "CENTROID", "IN", "OUT", "INOUT", "STRUCT",
|
|
"VOID", "WHILE", "BREAK", "CONTINUE", "DO", "ELSE", "FOR", "IF",
|
|
"DISCARD", "RETURN", "SWITCH", "CASE", "DEFAULT", "TERMINATE_INVOCATION",
|
|
"TERMINATE_RAY", "IGNORE_INTERSECTION", "UNIFORM", "SHARED", "BUFFER",
|
|
"FLAT", "SMOOTH", "LAYOUT", "DOUBLECONSTANT", "INT16CONSTANT",
|
|
"UINT16CONSTANT", "FLOAT16CONSTANT", "INT32CONSTANT", "UINT32CONSTANT",
|
|
"INT64CONSTANT", "UINT64CONSTANT", "SUBROUTINE", "DEMOTE", "PAYLOADNV",
|
|
"PAYLOADINNV", "HITATTRNV", "CALLDATANV", "CALLDATAINNV", "PAYLOADEXT",
|
|
"PAYLOADINEXT", "HITATTREXT", "CALLDATAEXT", "CALLDATAINEXT", "PATCH",
|
|
"SAMPLE", "NONUNIFORM", "COHERENT", "VOLATILE", "RESTRICT", "READONLY",
|
|
"WRITEONLY", "DEVICECOHERENT", "QUEUEFAMILYCOHERENT",
|
|
"WORKGROUPCOHERENT", "SUBGROUPCOHERENT", "NONPRIVATE",
|
|
"SHADERCALLCOHERENT", "NOPERSPECTIVE", "EXPLICITINTERPAMD",
|
|
"PERVERTEXEXT", "PERVERTEXNV", "PERPRIMITIVENV", "PERVIEWNV",
|
|
"PERTASKNV", "PRECISE", "$accept", "variable_identifier",
|
|
"primary_expression", "postfix_expression", "integer_expression",
|
|
"function_call", "function_call_or_method", "function_call_generic",
|
|
"function_call_header_no_parameters",
|
|
"function_call_header_with_parameters", "function_call_header",
|
|
"function_identifier", "unary_expression", "unary_operator",
|
|
"multiplicative_expression", "additive_expression", "shift_expression",
|
|
"relational_expression", "equality_expression", "and_expression",
|
|
"exclusive_or_expression", "inclusive_or_expression",
|
|
"logical_and_expression", "logical_xor_expression",
|
|
"logical_or_expression", "conditional_expression", "$@1",
|
|
"assignment_expression", "assignment_operator", "expression",
|
|
"constant_expression", "declaration", "block_structure", "$@2",
|
|
"identifier_list", "function_prototype", "function_declarator",
|
|
"function_header_with_parameters", "function_header",
|
|
"parameter_declarator", "parameter_declaration",
|
|
"parameter_type_specifier", "init_declarator_list", "single_declaration",
|
|
"fully_specified_type", "invariant_qualifier", "interpolation_qualifier",
|
|
"layout_qualifier", "layout_qualifier_id_list", "layout_qualifier_id",
|
|
"precise_qualifier", "type_qualifier", "single_type_qualifier",
|
|
"storage_qualifier", "non_uniform_qualifier", "type_name_list",
|
|
"type_specifier", "array_specifier", "type_parameter_specifier_opt",
|
|
"type_parameter_specifier", "type_parameter_specifier_list",
|
|
"type_specifier_nonarray", "precision_qualifier", "struct_specifier",
|
|
"$@3", "$@4", "struct_declaration_list", "struct_declaration",
|
|
"struct_declarator_list", "struct_declarator", "initializer",
|
|
"initializer_list", "declaration_statement", "statement",
|
|
"simple_statement", "demote_statement", "compound_statement", "$@5",
|
|
"$@6", "statement_no_new_scope", "statement_scoped", "$@7", "$@8",
|
|
"compound_statement_no_new_scope", "statement_list",
|
|
"expression_statement", "selection_statement",
|
|
"selection_statement_nonattributed", "selection_rest_statement",
|
|
"condition", "switch_statement", "switch_statement_nonattributed", "$@9",
|
|
"switch_statement_list", "case_label", "iteration_statement",
|
|
"iteration_statement_nonattributed", "$@10", "$@11", "$@12",
|
|
"for_init_statement", "conditionopt", "for_rest_statement",
|
|
"jump_statement", "translation_unit", "external_declaration",
|
|
"function_definition", "$@13", "attribute", "attribute_list",
|
|
"single_attribute", "spirv_requirements_list",
|
|
"spirv_requirements_parameter", "spirv_extension_list",
|
|
"spirv_capability_list", "spirv_execution_mode_qualifier",
|
|
"spirv_execution_mode_parameter_list", "spirv_execution_mode_parameter",
|
|
"spirv_execution_mode_id_parameter_list",
|
|
"spirv_storage_class_qualifier", "spirv_decorate_qualifier",
|
|
"spirv_decorate_parameter_list", "spirv_decorate_parameter",
|
|
"spirv_decorate_id_parameter_list",
|
|
"spirv_decorate_string_parameter_list", "spirv_type_specifier",
|
|
"spirv_type_parameter_list", "spirv_type_parameter",
|
|
"spirv_instruction_qualifier", "spirv_instruction_qualifier_list",
|
|
"spirv_instruction_qualifier_id", YY_NULLPTR
|
|
};
|
|
|
|
static const char *
|
|
yysymbol_name (yysymbol_kind_t yysymbol)
|
|
{
|
|
return yytname[yysymbol];
|
|
}
|
|
#endif
|
|
|
|
#ifdef YYPRINT
|
|
/* YYTOKNUM[NUM] -- (External) token number corresponding to the
|
|
(internal) symbol number NUM (which must be that of a token). */
|
|
static const yytype_int16 yytoknum[] =
|
|
{
|
|
0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
|
|
265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
|
|
275, 276, 277, 278, 279, 280, 281, 282, 283, 284,
|
|
285, 286, 287, 288, 289, 290, 291, 292, 293, 294,
|
|
295, 296, 297, 298, 299, 300, 301, 302, 303, 304,
|
|
305, 306, 307, 308, 309, 310, 311, 312, 313, 314,
|
|
315, 316, 317, 318, 319, 320, 321, 322, 323, 324,
|
|
325, 326, 327, 328, 329, 330, 331, 332, 333, 334,
|
|
335, 336, 337, 338, 339, 340, 341, 342, 343, 344,
|
|
345, 346, 347, 348, 349, 350, 351, 352, 353, 354,
|
|
355, 356, 357, 358, 359, 360, 361, 362, 363, 364,
|
|
365, 366, 367, 368, 369, 370, 371, 372, 373, 374,
|
|
375, 376, 377, 378, 379, 380, 381, 382, 383, 384,
|
|
385, 386, 387, 388, 389, 390, 391, 392, 393, 394,
|
|
395, 396, 397, 398, 399, 400, 401, 402, 403, 404,
|
|
405, 406, 407, 408, 409, 410, 411, 412, 413, 414,
|
|
415, 416, 417, 418, 419, 420, 421, 422, 423, 424,
|
|
425, 426, 427, 428, 429, 430, 431, 432, 433, 434,
|
|
435, 436, 437, 438, 439, 440, 441, 442, 443, 444,
|
|
445, 446, 447, 448, 449, 450, 451, 452, 453, 454,
|
|
455, 456, 457, 458, 459, 460, 461, 462, 463, 464,
|
|
465, 466, 467, 468, 469, 470, 471, 472, 473, 474,
|
|
475, 476, 477, 478, 479, 480, 481, 482, 483, 484,
|
|
485, 486, 487, 488, 489, 490, 491, 492, 493, 494,
|
|
495, 496, 497, 498, 499, 500, 501, 502, 503, 504,
|
|
505, 506, 507, 508, 509, 510, 511, 512, 513, 514,
|
|
515, 516, 517, 518, 519, 520, 521, 522, 523, 524,
|
|
525, 526, 527, 528, 529, 530, 531, 532, 533, 534,
|
|
535, 536, 537, 538, 539, 540, 541, 542, 543, 544,
|
|
545, 546, 547, 548, 549, 550, 551, 552, 553, 554,
|
|
555, 556, 557, 558, 559, 560, 561, 562, 563, 564,
|
|
565, 566, 567, 568, 569, 570, 571, 572, 573, 574,
|
|
575, 576, 577, 578, 579, 580, 581, 582, 583, 584,
|
|
585, 586, 587, 588, 589, 590, 591, 592, 593, 594,
|
|
595, 596, 597, 598, 599, 600, 601, 602, 603, 604,
|
|
605, 606, 607, 608, 609, 610, 611, 612, 613, 614,
|
|
615, 616, 617, 618, 619, 620, 621, 622, 623, 624,
|
|
625, 626, 627, 628, 629, 630, 631, 632, 633, 634,
|
|
635, 636, 637, 638, 639, 640, 641, 642, 643, 644,
|
|
645, 646, 647, 648, 649, 650, 651, 652, 653, 654,
|
|
655, 656, 657, 658, 659, 660, 661, 662, 663, 664,
|
|
665, 666, 667, 668, 669, 670, 671, 672, 673, 674,
|
|
675, 676, 677, 678, 679, 680, 681, 682, 683, 684,
|
|
685, 686, 687, 688, 689, 690, 691, 692, 693, 694,
|
|
695, 696, 697, 698, 699, 700, 701, 702, 703, 704,
|
|
705, 706, 707, 708, 709, 710
|
|
};
|
|
#endif
|
|
|
|
#define YYPACT_NINF (-865)
|
|
|
|
#define yypact_value_is_default(Yyn) \
|
|
((Yyn) == YYPACT_NINF)
|
|
|
|
#define YYTABLE_NINF (-571)
|
|
|
|
#define yytable_value_is_error(Yyn) \
|
|
0
|
|
|
|
/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
|
|
STATE-NUM. */
|
|
static const yytype_int16 yypact[] =
|
|
{
|
|
4557, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -306, -260, -237, -110, -102,
|
|
-100, -83, -77, -865, -865, -301, -865, -865, -865, -865,
|
|
-865, -106, -865, -865, -865, -865, -865, -309, -865, -865,
|
|
-865, -865, -865, -865, -66, -54, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -328,
|
|
-116, -50, -55, 7728, -245, -865, -82, -865, -865, -865,
|
|
-865, 5463, -865, -865, -865, -865, -63, -865, -865, 933,
|
|
-865, -865, 7728, -57, -865, -865, -865, 5916, -80, -334,
|
|
-251, -157, -149, -141, -80, -140, -78, 12077, -865, -47,
|
|
-351, -76, -865, -269, -865, -45, -41, 7728, -865, -865,
|
|
-865, 7728, -74, -73, -865, -263, -865, -224, -865, -865,
|
|
10778, -38, -865, -865, -865, -36, -69, 7728, -865, -42,
|
|
-40, -37, -865, -271, -865, -256, -33, -34, -30, -28,
|
|
-202, -27, -24, -23, -22, -21, -17, -199, -10, -15,
|
|
-29, -303, -865, -14, 7728, -865, -11, -865, -195, -865,
|
|
-865, -194, 9046, -865, -268, 1386, -865, -865, -865, -865,
|
|
-865, -38, -304, -865, 9479, -248, -865, -35, -865, -133,
|
|
10778, 10778, -865, 10778, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -274, -865, -865, -865, -6, -187, 11211,
|
|
3, -865, 10778, -865, -865, -297, -2, -41, 4, -865,
|
|
-310, -80, -865, -31, -865, -321, 6, -130, 10778, -129,
|
|
-865, -166, -128, 10778, -124, 7, -122, -80, -865, 11644,
|
|
-865, -120, 10778, 10, -78, -865, 7728, -26, 6369, -865,
|
|
7728, 10778, -865, -351, -865, -20, -865, -865, -79, -217,
|
|
-200, -299, -56, -13, -9, -3, 21, 26, -307, 15,
|
|
9912, -865, 14, -865, -865, 20, 12, 13, -865, 24,
|
|
25, 16, 10345, 27, 10778, 23, 18, 19, 22, 28,
|
|
-222, -865, -865, -132, -865, -116, 33, 35, -865, -865,
|
|
-865, -865, -865, 1839, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, 5010, -2, 9479, -225, 8180, -865, -865,
|
|
9479, 7728, -865, 8, -865, -865, -865, -184, -865, -865,
|
|
10778, 29, -865, -865, 10778, 38, -865, -865, -865, 10778,
|
|
-865, -865, -865, -312, -865, -865, -183, 31, -865, -865,
|
|
-865, -865, -865, -865, -182, -865, -180, -865, -865, -179,
|
|
34, -865, -865, -865, -865, -175, -865, -172, -865, -171,
|
|
39, -865, -167, 40, -163, 31, -865, -160, -865, 44,
|
|
48, -865, -865, -26, -38, -121, -865, -865, -865, 6822,
|
|
-865, -865, -865, 10778, 10778, 10778, 10778, 10778, 10778, 10778,
|
|
10778, 10778, 10778, 10778, 10778, 10778, 10778, 10778, 10778, 10778,
|
|
10778, 10778, -865, -865, -865, 53, -865, 2292, -865, -865,
|
|
-865, 2292, -865, 10778, -865, -865, -119, 10778, -198, -865,
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, 10778, 10778, -865, -865, -865,
|
|
-865, -865, -865, -865, 9479, -865, -865, -174, -865, 7275,
|
|
-865, -865, 61, 59, -865, -865, -865, -865, -865, -254,
|
|
-142, -865, -308, -865, -321, -865, -321, -865, 10778, 10778,
|
|
-865, -166, -865, -166, -865, 10778, 10778, -865, 37, 7,
|
|
-865, 11644, -865, 10778, -865, -865, -92, -2, -26, -865,
|
|
-865, -865, -865, -865, -79, -79, -217, -217, -200, -200,
|
|
-200, -200, -299, -299, -56, -13, -9, -3, 21, 26,
|
|
10778, -865, 2292, 4104, 30, 3651, -159, -865, -158, -865,
|
|
-865, -865, -865, -865, 8613, -865, -865, -865, 71, -865,
|
|
-12, -865, -156, -865, -155, -865, -148, -865, -147, -865,
|
|
-145, -144, -865, -865, -865, -65, 67, 59, 41, 72,
|
|
75, -865, -865, 4104, 76, -865, -865, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, -865, 10778, -865, 74, 2745,
|
|
10778, -865, 66, 80, 36, 81, 3198, -865, 82, -865,
|
|
9479, -865, -865, -865, -143, 10778, 2745, 76, -865, -865,
|
|
2292, -865, 78, 59, -865, -865, 2292, 84, -865, -865
|
|
};
|
|
|
|
/* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM.
|
|
Performed when YYTABLE does not specify something else to do. Zero
|
|
means the default is an error. */
|
|
static const yytype_int16 yydefact[] =
|
|
{
|
|
0, 167, 220, 218, 219, 217, 224, 225, 226, 227,
|
|
228, 229, 230, 231, 232, 221, 222, 223, 233, 234,
|
|
235, 236, 237, 238, 239, 240, 241, 242, 243, 244,
|
|
346, 347, 348, 349, 350, 351, 352, 372, 373, 374,
|
|
375, 376, 377, 378, 387, 400, 401, 388, 389, 391,
|
|
390, 392, 393, 394, 395, 396, 397, 398, 399, 175,
|
|
176, 246, 247, 245, 248, 255, 256, 253, 254, 251,
|
|
252, 249, 250, 278, 279, 280, 290, 291, 292, 275,
|
|
276, 277, 287, 288, 289, 272, 273, 274, 284, 285,
|
|
286, 269, 270, 271, 281, 282, 283, 257, 258, 259,
|
|
293, 294, 295, 260, 261, 262, 305, 306, 307, 263,
|
|
264, 265, 317, 318, 319, 266, 267, 268, 329, 330,
|
|
331, 296, 297, 298, 299, 300, 301, 302, 303, 304,
|
|
308, 309, 310, 311, 312, 313, 314, 315, 316, 320,
|
|
321, 322, 323, 324, 325, 326, 327, 328, 332, 333,
|
|
334, 335, 336, 337, 338, 339, 340, 344, 341, 342,
|
|
343, 525, 526, 527, 356, 357, 380, 383, 345, 354,
|
|
355, 371, 353, 402, 403, 406, 407, 408, 410, 411,
|
|
412, 414, 415, 416, 418, 419, 515, 516, 379, 381,
|
|
382, 358, 359, 360, 404, 361, 365, 366, 369, 409,
|
|
413, 417, 362, 363, 367, 368, 405, 364, 370, 449,
|
|
451, 452, 453, 455, 456, 457, 459, 460, 461, 463,
|
|
464, 465, 467, 468, 469, 471, 472, 473, 475, 476,
|
|
477, 479, 480, 481, 483, 484, 485, 487, 488, 489,
|
|
491, 492, 450, 454, 458, 462, 466, 474, 478, 482,
|
|
470, 486, 490, 493, 494, 495, 496, 497, 498, 499,
|
|
500, 501, 502, 503, 504, 505, 506, 507, 508, 509,
|
|
510, 511, 512, 513, 514, 384, 385, 386, 420, 429,
|
|
431, 425, 430, 432, 433, 435, 436, 437, 439, 440,
|
|
441, 443, 444, 445, 447, 448, 421, 422, 423, 434,
|
|
424, 426, 427, 428, 438, 442, 446, 517, 518, 521,
|
|
522, 523, 524, 519, 520, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 165, 166, 0, 621, 137, 531, 532,
|
|
533, 0, 530, 171, 169, 170, 168, 0, 216, 172,
|
|
173, 174, 139, 138, 0, 200, 181, 183, 179, 185,
|
|
187, 182, 184, 180, 186, 188, 177, 178, 202, 189,
|
|
196, 197, 198, 199, 190, 191, 192, 193, 194, 195,
|
|
140, 141, 143, 142, 144, 145, 146, 153, 620, 0,
|
|
622, 0, 114, 113, 0, 125, 130, 160, 159, 157,
|
|
161, 0, 154, 156, 162, 135, 212, 158, 529, 0,
|
|
617, 619, 0, 0, 163, 164, 528, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 536, 0,
|
|
0, 0, 99, 0, 94, 0, 109, 0, 121, 115,
|
|
123, 0, 124, 0, 97, 131, 102, 0, 155, 136,
|
|
0, 205, 211, 1, 618, 0, 0, 0, 96, 0,
|
|
0, 0, 629, 0, 681, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
627, 0, 625, 0, 0, 534, 150, 152, 0, 148,
|
|
203, 0, 0, 100, 0, 0, 623, 110, 116, 120,
|
|
122, 118, 126, 117, 0, 132, 105, 0, 103, 0,
|
|
0, 0, 9, 0, 43, 42, 44, 41, 5, 6,
|
|
7, 8, 2, 16, 14, 15, 17, 10, 11, 12,
|
|
13, 3, 18, 37, 20, 25, 26, 0, 0, 30,
|
|
0, 214, 0, 36, 34, 0, 206, 111, 0, 95,
|
|
0, 0, 679, 0, 637, 0, 0, 0, 0, 0,
|
|
654, 0, 0, 0, 0, 0, 0, 0, 674, 0,
|
|
652, 0, 0, 0, 0, 98, 0, 0, 0, 538,
|
|
0, 0, 147, 0, 201, 0, 207, 45, 49, 52,
|
|
55, 60, 63, 65, 67, 69, 71, 73, 75, 0,
|
|
0, 101, 565, 574, 578, 0, 0, 0, 599, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
45, 78, 91, 0, 552, 0, 162, 135, 555, 576,
|
|
554, 562, 553, 0, 556, 557, 580, 558, 587, 559,
|
|
560, 595, 561, 0, 119, 0, 127, 0, 546, 134,
|
|
0, 0, 107, 0, 104, 38, 39, 0, 22, 23,
|
|
0, 0, 28, 27, 0, 216, 31, 33, 40, 0,
|
|
213, 112, 683, 0, 684, 630, 0, 0, 682, 649,
|
|
645, 646, 647, 648, 0, 643, 0, 93, 650, 0,
|
|
0, 664, 665, 666, 667, 0, 662, 0, 668, 0,
|
|
0, 670, 0, 0, 0, 2, 678, 0, 676, 0,
|
|
0, 624, 626, 0, 544, 0, 542, 537, 539, 0,
|
|
151, 149, 204, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 76, 208, 209, 0, 564, 0, 597, 610,
|
|
609, 0, 601, 0, 613, 611, 0, 0, 0, 594,
|
|
614, 615, 616, 563, 81, 82, 84, 83, 86, 87,
|
|
88, 89, 90, 85, 80, 0, 0, 579, 575, 577,
|
|
581, 588, 596, 129, 0, 549, 550, 0, 133, 0,
|
|
108, 4, 0, 24, 21, 32, 215, 633, 635, 0,
|
|
0, 680, 0, 639, 0, 638, 0, 641, 0, 0,
|
|
656, 0, 655, 0, 658, 0, 0, 660, 0, 0,
|
|
675, 0, 672, 0, 653, 628, 0, 545, 0, 540,
|
|
535, 46, 47, 48, 51, 50, 53, 54, 58, 59,
|
|
56, 57, 61, 62, 64, 66, 68, 70, 72, 74,
|
|
0, 210, 566, 0, 0, 0, 0, 612, 0, 593,
|
|
79, 92, 128, 547, 0, 106, 19, 631, 0, 632,
|
|
0, 644, 0, 651, 0, 663, 0, 669, 0, 671,
|
|
0, 0, 677, 541, 543, 0, 0, 585, 0, 0,
|
|
0, 604, 603, 606, 572, 589, 548, 551, 634, 636,
|
|
640, 642, 657, 659, 661, 673, 0, 567, 0, 0,
|
|
0, 605, 0, 0, 584, 0, 0, 582, 0, 77,
|
|
0, 569, 598, 568, 0, 607, 0, 572, 571, 573,
|
|
591, 586, 0, 608, 602, 583, 592, 0, 600, 590
|
|
};
|
|
|
|
/* YYPGOTO[NTERM-NUM]. */
|
|
static const yytype_int16 yypgoto[] =
|
|
{
|
|
-865, -865, -865, -865, -865, -865, -865, -865, -865, -865,
|
|
-865, -865, -211, -865, -423, -422, -501, -426, -287, -286,
|
|
-285, -284, -288, -282, -865, -475, -865, -490, -865, -497,
|
|
-525, 11, -865, -865, -865, 5, -385, -865, -865, 32,
|
|
42, 45, -865, -865, -399, -865, -865, -865, -865, -127,
|
|
-865, -382, -367, -865, 9, -865, 0, -425, -865, -865,
|
|
-865, -865, 119, -865, -865, -865, -544, -549, -252, -366,
|
|
-622, -865, -391, -611, -864, -865, -452, -865, -865, -461,
|
|
-460, -865, -865, 43, -716, -387, -865, -173, -865, -424,
|
|
-865, -169, -865, -865, -865, -865, -168, -865, -865, -865,
|
|
-865, -865, -865, -865, -865, 63, -865, -865, 2, -865,
|
|
-98, -272, -448, -865, -865, -865, -329, -324, -327, -865,
|
|
-865, -332, -326, -333, -331, -865, -330, -336, -865, -392,
|
|
-529
|
|
};
|
|
|
|
/* YYDEFGOTO[NTERM-NUM]. */
|
|
static const yytype_int16 yydefgoto[] =
|
|
{
|
|
-1, 521, 522, 523, 782, 524, 525, 526, 527, 528,
|
|
529, 530, 610, 532, 578, 579, 580, 581, 582, 583,
|
|
584, 585, 586, 587, 588, 611, 840, 612, 765, 613,
|
|
696, 614, 379, 641, 499, 615, 381, 382, 383, 428,
|
|
429, 430, 384, 385, 386, 387, 388, 389, 478, 479,
|
|
390, 391, 392, 393, 533, 481, 534, 484, 441, 442,
|
|
535, 396, 397, 398, 570, 474, 568, 569, 705, 706,
|
|
639, 777, 618, 619, 620, 621, 622, 737, 876, 912,
|
|
904, 905, 906, 913, 623, 624, 625, 626, 907, 879,
|
|
627, 628, 908, 927, 629, 630, 631, 843, 741, 845,
|
|
883, 902, 903, 632, 399, 400, 401, 425, 633, 471,
|
|
472, 451, 452, 789, 790, 403, 674, 675, 679, 404,
|
|
405, 685, 686, 689, 692, 406, 697, 698, 407, 453,
|
|
454
|
|
};
|
|
|
|
/* YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM. If
|
|
positive, shift that token. If negative, reduce the rule whose
|
|
number is the opposite. If YYTABLE_NINF, syntax error. */
|
|
static const yytype_int16 yytable[] =
|
|
{
|
|
395, 431, 402, 446, 638, 380, 647, 589, 446, 394,
|
|
495, 378, 769, 773, 668, 776, 536, 445, 778, 708,
|
|
447, 842, 467, 678, 438, 447, 709, 669, 688, 731,
|
|
668, 422, 720, 721, 476, 911, 787, 700, 662, 656,
|
|
662, 663, 919, 408, 418, 431, 710, 482, 455, 563,
|
|
416, 456, 911, 564, 635, 648, 649, 423, 477, 659,
|
|
670, 671, 672, 673, 438, 732, 634, 636, 722, 723,
|
|
788, 660, 664, 677, 664, -35, 419, 650, 677, 542,
|
|
438, 651, 482, 590, 677, 543, 493, 677, 482, 409,
|
|
483, 591, 566, 665, 544, 494, 677, 779, 857, 665,
|
|
545, 665, 858, 590, 665, 746, 665, 748, 665, 665,
|
|
640, 433, 410, 665, 434, 735, 754, 755, 756, 757,
|
|
758, 759, 760, 761, 762, 763, 590, 718, 719, 496,
|
|
844, 458, 497, 774, 456, 498, 764, 457, 459, 461,
|
|
463, 465, 466, 469, 716, 638, 717, 638, 550, 666,
|
|
638, 558, 852, 783, 551, 572, 574, 559, 766, 849,
|
|
708, 573, 575, 653, 785, 694, 781, 791, 793, 654,
|
|
795, 797, 766, 543, 794, 800, 796, 798, 802, 804,
|
|
853, 801, 854, 807, 803, 805, 566, 810, 566, 808,
|
|
812, 884, 885, 811, 890, 891, 813, 766, 766, 438,
|
|
794, 798, 892, 893, 926, 894, 895, 922, 801, 805,
|
|
859, 808, 813, 766, 860, 681, 682, 683, 684, 828,
|
|
829, 830, 831, 643, 766, 460, 644, 767, 456, 531,
|
|
708, 769, 887, 462, 446, 818, 456, 766, 819, 411,
|
|
847, 464, 468, 424, 456, 456, 846, 412, 445, 413,
|
|
848, 447, 676, 680, 687, 456, 456, 456, 690, 566,
|
|
693, 456, 699, 456, 818, 456, 414, 873, 328, 329,
|
|
330, 577, 415, 863, 678, 850, 851, 724, 725, 817,
|
|
867, 688, 668, 420, 638, 713, 714, 715, 921, 645,
|
|
646, 766, 896, 824, 825, 421, 826, 827, 832, 833,
|
|
426, 427, 448, 435, 440, 450, 475, 470, 485, 480,
|
|
325, 491, 492, 482, 537, 769, 538, 539, 540, 541,
|
|
562, 658, 547, 677, 677, 546, 548, 566, 549, 552,
|
|
677, 677, 553, 554, 555, 556, 677, 577, 677, 557,
|
|
560, 561, 577, 875, 652, 565, 877, 571, 577, 590,
|
|
642, 577, 657, 493, 667, 691, 729, 663, 726, 704,
|
|
577, 727, 701, 730, 638, 712, 728, 733, 736, 738,
|
|
889, 739, 740, 742, 743, 744, 747, 750, 751, 577,
|
|
749, 752, -36, 432, -34, 869, 877, 753, -29, 792,
|
|
799, 439, 394, 780, 814, 806, 809, 566, 815, 395,
|
|
394, 402, 395, 914, 380, 841, 909, 395, 394, 402,
|
|
378, 394, 449, 856, 784, 766, 394, 473, 923, 888,
|
|
638, 897, 899, 880, 900, 915, 898, 432, 487, -570,
|
|
916, 432, 910, 917, 592, 920, 394, 928, 929, 834,
|
|
394, 835, 838, 836, 878, 837, 711, 439, 786, 839,
|
|
417, 816, 874, 918, 881, 924, 394, 925, 882, 901,
|
|
770, 447, 444, 489, 771, 772, 702, 862, 486, 488,
|
|
861, 866, 864, 868, 567, 865, 490, 872, 870, 0,
|
|
0, 871, 0, 394, 878, 617, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 616, 0, 0, 0, 0, 0,
|
|
0, 447, 821, 822, 823, 577, 577, 577, 577, 577,
|
|
577, 577, 577, 577, 577, 577, 577, 577, 577, 577,
|
|
577, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 661,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 703, 0, 567, 0,
|
|
567, 0, 0, 0, 0, 394, 0, 394, 0, 394,
|
|
0, 0, 0, 0, 0, 0, 0, 577, 577, 0,
|
|
0, 0, 0, 0, 577, 577, 0, 0, 0, 0,
|
|
577, 0, 577, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 617, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 616, 395, 0, 0, 0, 0, 0, 0,
|
|
0, 567, 394, 0, 0, 0, 0, 0, 0, 0,
|
|
394, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 567,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 394, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 617, 0, 0,
|
|
0, 617, 0, 0, 0, 0, 616, 0, 0, 0,
|
|
616, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 567,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 394, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 617, 617, 0, 617, 0, 402, 0, 0,
|
|
0, 616, 616, 0, 616, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 617, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 616, 0, 0, 0, 0, 0, 0, 617,
|
|
0, 0, 0, 0, 0, 0, 617, 0, 616, 0,
|
|
0, 0, 0, 0, 0, 616, 617, 0, 0, 0,
|
|
617, 0, 0, 0, 0, 616, 617, 0, 0, 616,
|
|
0, 0, 0, 443, 0, 616, 1, 2, 3, 4,
|
|
5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
|
|
15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
|
|
25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
|
|
35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
|
|
45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
|
|
55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
|
|
65, 66, 67, 68, 69, 70, 71, 72, 73, 74,
|
|
75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
|
|
85, 86, 87, 88, 89, 90, 91, 92, 93, 94,
|
|
95, 96, 97, 98, 99, 100, 101, 102, 103, 104,
|
|
105, 106, 107, 108, 109, 110, 111, 112, 113, 114,
|
|
115, 116, 117, 118, 119, 120, 121, 122, 123, 124,
|
|
125, 126, 127, 128, 129, 130, 131, 132, 133, 134,
|
|
135, 136, 137, 138, 139, 140, 141, 142, 143, 144,
|
|
145, 146, 147, 148, 149, 150, 151, 152, 153, 154,
|
|
155, 156, 157, 158, 159, 160, 161, 162, 163, 164,
|
|
165, 166, 167, 168, 169, 170, 171, 172, 173, 174,
|
|
175, 176, 177, 178, 179, 180, 181, 182, 183, 184,
|
|
185, 186, 187, 188, 189, 190, 191, 192, 193, 194,
|
|
195, 196, 197, 198, 199, 200, 201, 202, 203, 204,
|
|
205, 206, 207, 208, 209, 210, 211, 212, 213, 214,
|
|
215, 216, 217, 218, 219, 220, 221, 222, 223, 224,
|
|
225, 226, 227, 228, 229, 230, 231, 232, 233, 234,
|
|
235, 236, 237, 238, 239, 240, 241, 242, 243, 244,
|
|
245, 246, 247, 248, 249, 250, 251, 252, 253, 254,
|
|
255, 256, 257, 258, 259, 260, 261, 262, 263, 264,
|
|
265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
|
|
275, 276, 277, 278, 279, 280, 281, 282, 283, 284,
|
|
285, 286, 287, 288, 289, 290, 291, 292, 293, 294,
|
|
295, 296, 297, 298, 299, 300, 301, 302, 303, 304,
|
|
305, 306, 307, 308, 309, 310, 311, 312, 313, 314,
|
|
315, 316, 317, 318, 319, 320, 321, 322, 323, 324,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 325, 0, 0, 0, 0, 0,
|
|
0, 0, 326, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 327, 328, 329, 330,
|
|
331, 0, 0, 0, 0, 0, 0, 0, 0, 332,
|
|
333, 334, 335, 336, 337, 338, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 339, 340, 341, 342, 343, 344, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 345, 0, 346, 347, 348,
|
|
349, 350, 351, 352, 353, 354, 355, 356, 357, 358,
|
|
359, 360, 361, 362, 363, 364, 365, 366, 367, 368,
|
|
369, 370, 371, 372, 373, 374, 375, 376, 377, 1,
|
|
2, 3, 4, 5, 6, 7, 8, 9, 10, 11,
|
|
12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
|
|
22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
|
|
32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
|
|
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
|
|
52, 53, 54, 55, 56, 57, 58, 59, 60, 61,
|
|
62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
|
|
72, 73, 74, 75, 76, 77, 78, 79, 80, 81,
|
|
82, 83, 84, 85, 86, 87, 88, 89, 90, 91,
|
|
92, 93, 94, 95, 96, 97, 98, 99, 100, 101,
|
|
102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
|
|
112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
|
|
122, 123, 124, 125, 126, 127, 128, 129, 130, 131,
|
|
132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
|
|
142, 143, 144, 145, 146, 147, 148, 149, 150, 151,
|
|
152, 153, 154, 155, 156, 157, 158, 159, 160, 161,
|
|
162, 163, 164, 165, 166, 167, 168, 169, 170, 171,
|
|
172, 173, 174, 175, 176, 177, 178, 179, 180, 181,
|
|
182, 183, 184, 185, 186, 187, 188, 189, 190, 191,
|
|
192, 193, 194, 195, 196, 197, 198, 199, 200, 201,
|
|
202, 203, 204, 205, 206, 207, 208, 209, 210, 211,
|
|
212, 213, 214, 215, 216, 217, 218, 219, 220, 221,
|
|
222, 223, 224, 225, 226, 227, 228, 229, 230, 231,
|
|
232, 233, 234, 235, 236, 237, 238, 239, 240, 241,
|
|
242, 243, 244, 245, 246, 247, 248, 249, 250, 251,
|
|
252, 253, 254, 255, 256, 257, 258, 259, 260, 261,
|
|
262, 263, 264, 265, 266, 267, 268, 269, 270, 271,
|
|
272, 273, 274, 275, 276, 277, 278, 279, 280, 281,
|
|
282, 283, 284, 285, 286, 287, 288, 289, 290, 291,
|
|
292, 293, 294, 295, 296, 297, 298, 299, 300, 301,
|
|
302, 303, 304, 305, 306, 307, 308, 309, 310, 311,
|
|
312, 313, 314, 315, 316, 317, 318, 319, 320, 321,
|
|
322, 323, 324, 0, 0, 500, 501, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 502, 503, 0, 325, 0, 592,
|
|
593, 0, 0, 0, 0, 594, 504, 505, 506, 507,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 327,
|
|
328, 329, 330, 331, 0, 0, 0, 508, 509, 510,
|
|
511, 512, 332, 333, 334, 335, 336, 337, 338, 595,
|
|
596, 597, 598, 0, 599, 600, 601, 602, 603, 604,
|
|
605, 606, 607, 608, 339, 340, 341, 342, 343, 344,
|
|
513, 514, 515, 516, 517, 518, 519, 520, 345, 609,
|
|
346, 347, 348, 349, 350, 351, 352, 353, 354, 355,
|
|
356, 357, 358, 359, 360, 361, 362, 363, 364, 365,
|
|
366, 367, 368, 369, 370, 371, 372, 373, 374, 375,
|
|
376, 377, 1, 2, 3, 4, 5, 6, 7, 8,
|
|
9, 10, 11, 12, 13, 14, 15, 16, 17, 18,
|
|
19, 20, 21, 22, 23, 24, 25, 26, 27, 28,
|
|
29, 30, 31, 32, 33, 34, 35, 36, 37, 38,
|
|
39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
|
|
49, 50, 51, 52, 53, 54, 55, 56, 57, 58,
|
|
59, 60, 61, 62, 63, 64, 65, 66, 67, 68,
|
|
69, 70, 71, 72, 73, 74, 75, 76, 77, 78,
|
|
79, 80, 81, 82, 83, 84, 85, 86, 87, 88,
|
|
89, 90, 91, 92, 93, 94, 95, 96, 97, 98,
|
|
99, 100, 101, 102, 103, 104, 105, 106, 107, 108,
|
|
109, 110, 111, 112, 113, 114, 115, 116, 117, 118,
|
|
119, 120, 121, 122, 123, 124, 125, 126, 127, 128,
|
|
129, 130, 131, 132, 133, 134, 135, 136, 137, 138,
|
|
139, 140, 141, 142, 143, 144, 145, 146, 147, 148,
|
|
149, 150, 151, 152, 153, 154, 155, 156, 157, 158,
|
|
159, 160, 161, 162, 163, 164, 165, 166, 167, 168,
|
|
169, 170, 171, 172, 173, 174, 175, 176, 177, 178,
|
|
179, 180, 181, 182, 183, 184, 185, 186, 187, 188,
|
|
189, 190, 191, 192, 193, 194, 195, 196, 197, 198,
|
|
199, 200, 201, 202, 203, 204, 205, 206, 207, 208,
|
|
209, 210, 211, 212, 213, 214, 215, 216, 217, 218,
|
|
219, 220, 221, 222, 223, 224, 225, 226, 227, 228,
|
|
229, 230, 231, 232, 233, 234, 235, 236, 237, 238,
|
|
239, 240, 241, 242, 243, 244, 245, 246, 247, 248,
|
|
249, 250, 251, 252, 253, 254, 255, 256, 257, 258,
|
|
259, 260, 261, 262, 263, 264, 265, 266, 267, 268,
|
|
269, 270, 271, 272, 273, 274, 275, 276, 277, 278,
|
|
279, 280, 281, 282, 283, 284, 285, 286, 287, 288,
|
|
289, 290, 291, 292, 293, 294, 295, 296, 297, 298,
|
|
299, 300, 301, 302, 303, 304, 305, 306, 307, 308,
|
|
309, 310, 311, 312, 313, 314, 315, 316, 317, 318,
|
|
319, 320, 321, 322, 323, 324, 0, 0, 500, 501,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 502, 503, 0,
|
|
325, 0, 592, 768, 0, 0, 0, 0, 594, 504,
|
|
505, 506, 507, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 327, 328, 329, 330, 331, 0, 0, 0,
|
|
508, 509, 510, 511, 512, 332, 333, 334, 335, 336,
|
|
337, 338, 595, 596, 597, 598, 0, 599, 600, 601,
|
|
602, 603, 604, 605, 606, 607, 608, 339, 340, 341,
|
|
342, 343, 344, 513, 514, 515, 516, 517, 518, 519,
|
|
520, 345, 609, 346, 347, 348, 349, 350, 351, 352,
|
|
353, 354, 355, 356, 357, 358, 359, 360, 361, 362,
|
|
363, 364, 365, 366, 367, 368, 369, 370, 371, 372,
|
|
373, 374, 375, 376, 377, 1, 2, 3, 4, 5,
|
|
6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
|
|
16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
|
|
26, 27, 28, 29, 30, 31, 32, 33, 34, 35,
|
|
36, 37, 38, 39, 40, 41, 42, 43, 44, 45,
|
|
46, 47, 48, 49, 50, 51, 52, 53, 54, 55,
|
|
56, 57, 58, 59, 60, 61, 62, 63, 64, 65,
|
|
66, 67, 68, 69, 70, 71, 72, 73, 74, 75,
|
|
76, 77, 78, 79, 80, 81, 82, 83, 84, 85,
|
|
86, 87, 88, 89, 90, 91, 92, 93, 94, 95,
|
|
96, 97, 98, 99, 100, 101, 102, 103, 104, 105,
|
|
106, 107, 108, 109, 110, 111, 112, 113, 114, 115,
|
|
116, 117, 118, 119, 120, 121, 122, 123, 124, 125,
|
|
126, 127, 128, 129, 130, 131, 132, 133, 134, 135,
|
|
136, 137, 138, 139, 140, 141, 142, 143, 144, 145,
|
|
146, 147, 148, 149, 150, 151, 152, 153, 154, 155,
|
|
156, 157, 158, 159, 160, 161, 162, 163, 164, 165,
|
|
166, 167, 168, 169, 170, 171, 172, 173, 174, 175,
|
|
176, 177, 178, 179, 180, 181, 182, 183, 184, 185,
|
|
186, 187, 188, 189, 190, 191, 192, 193, 194, 195,
|
|
196, 197, 198, 199, 200, 201, 202, 203, 204, 205,
|
|
206, 207, 208, 209, 210, 211, 212, 213, 214, 215,
|
|
216, 217, 218, 219, 220, 221, 222, 223, 224, 225,
|
|
226, 227, 228, 229, 230, 231, 232, 233, 234, 235,
|
|
236, 237, 238, 239, 240, 241, 242, 243, 244, 245,
|
|
246, 247, 248, 249, 250, 251, 252, 253, 254, 255,
|
|
256, 257, 258, 259, 260, 261, 262, 263, 264, 265,
|
|
266, 267, 268, 269, 270, 271, 272, 273, 274, 275,
|
|
276, 277, 278, 279, 280, 281, 282, 283, 284, 285,
|
|
286, 287, 288, 289, 290, 291, 292, 293, 294, 295,
|
|
296, 297, 298, 299, 300, 301, 302, 303, 304, 305,
|
|
306, 307, 308, 309, 310, 311, 312, 313, 314, 315,
|
|
316, 317, 318, 319, 320, 321, 322, 323, 324, 0,
|
|
0, 500, 501, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
502, 503, 0, 325, 0, 592, 0, 0, 0, 0,
|
|
0, 594, 504, 505, 506, 507, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 327, 328, 329, 330, 331,
|
|
0, 0, 0, 508, 509, 510, 511, 512, 332, 333,
|
|
334, 335, 336, 337, 338, 595, 596, 597, 598, 0,
|
|
599, 600, 601, 602, 603, 604, 605, 606, 607, 608,
|
|
339, 340, 341, 342, 343, 344, 513, 514, 515, 516,
|
|
517, 518, 519, 520, 345, 609, 346, 347, 348, 349,
|
|
350, 351, 352, 353, 354, 355, 356, 357, 358, 359,
|
|
360, 361, 362, 363, 364, 365, 366, 367, 368, 369,
|
|
370, 371, 372, 373, 374, 375, 376, 377, 1, 2,
|
|
3, 4, 5, 6, 7, 8, 9, 10, 11, 12,
|
|
13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
|
|
23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
|
|
33, 34, 35, 36, 37, 38, 39, 40, 41, 42,
|
|
43, 44, 45, 46, 47, 48, 49, 50, 51, 52,
|
|
53, 54, 55, 56, 57, 58, 59, 60, 61, 62,
|
|
63, 64, 65, 66, 67, 68, 69, 70, 71, 72,
|
|
73, 74, 75, 76, 77, 78, 79, 80, 81, 82,
|
|
83, 84, 85, 86, 87, 88, 89, 90, 91, 92,
|
|
93, 94, 95, 96, 97, 98, 99, 100, 101, 102,
|
|
103, 104, 105, 106, 107, 108, 109, 110, 111, 112,
|
|
113, 114, 115, 116, 117, 118, 119, 120, 121, 122,
|
|
123, 124, 125, 126, 127, 128, 129, 130, 131, 132,
|
|
133, 134, 135, 136, 137, 138, 139, 140, 141, 142,
|
|
143, 144, 145, 146, 147, 148, 149, 150, 151, 152,
|
|
153, 154, 155, 156, 157, 158, 159, 160, 161, 162,
|
|
163, 164, 165, 166, 167, 168, 169, 170, 171, 172,
|
|
173, 174, 175, 176, 177, 178, 179, 180, 181, 182,
|
|
183, 184, 185, 186, 187, 188, 189, 190, 191, 192,
|
|
193, 194, 195, 196, 197, 198, 199, 200, 201, 202,
|
|
203, 204, 205, 206, 207, 208, 209, 210, 211, 212,
|
|
213, 214, 215, 216, 217, 218, 219, 220, 221, 222,
|
|
223, 224, 225, 226, 227, 228, 229, 230, 231, 232,
|
|
233, 234, 235, 236, 237, 238, 239, 240, 241, 242,
|
|
243, 244, 245, 246, 247, 248, 249, 250, 251, 252,
|
|
253, 254, 255, 256, 257, 258, 259, 260, 261, 262,
|
|
263, 264, 265, 266, 267, 268, 269, 270, 271, 272,
|
|
273, 274, 275, 276, 277, 278, 279, 280, 281, 282,
|
|
283, 284, 285, 286, 287, 288, 289, 290, 291, 292,
|
|
293, 294, 295, 296, 297, 298, 299, 300, 301, 302,
|
|
303, 304, 305, 306, 307, 308, 309, 310, 311, 312,
|
|
313, 314, 315, 316, 317, 318, 319, 320, 321, 322,
|
|
323, 324, 0, 0, 500, 501, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 502, 503, 0, 325, 0, 485, 0,
|
|
0, 0, 0, 0, 594, 504, 505, 506, 507, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 327, 328,
|
|
329, 330, 331, 0, 0, 0, 508, 509, 510, 511,
|
|
512, 332, 333, 334, 335, 336, 337, 338, 595, 596,
|
|
597, 598, 0, 599, 600, 601, 602, 603, 604, 605,
|
|
606, 607, 608, 339, 340, 341, 342, 343, 344, 513,
|
|
514, 515, 516, 517, 518, 519, 520, 345, 609, 346,
|
|
347, 348, 349, 350, 351, 352, 353, 354, 355, 356,
|
|
357, 358, 359, 360, 361, 362, 363, 364, 365, 366,
|
|
367, 368, 369, 370, 371, 372, 373, 374, 375, 376,
|
|
377, 1, 2, 3, 4, 5, 6, 7, 8, 9,
|
|
10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
|
|
20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
|
|
30, 31, 32, 33, 34, 35, 36, 37, 38, 39,
|
|
40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
|
|
50, 51, 52, 53, 54, 55, 56, 57, 58, 59,
|
|
60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
|
|
70, 71, 72, 73, 74, 75, 76, 77, 78, 79,
|
|
80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
|
|
90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
|
|
100, 101, 102, 103, 104, 105, 106, 107, 108, 109,
|
|
110, 111, 112, 113, 114, 115, 116, 117, 118, 119,
|
|
120, 121, 122, 123, 124, 125, 126, 127, 128, 129,
|
|
130, 131, 132, 133, 134, 135, 136, 137, 138, 139,
|
|
140, 141, 142, 143, 144, 145, 146, 147, 148, 149,
|
|
150, 151, 152, 153, 154, 155, 156, 157, 158, 159,
|
|
160, 161, 162, 163, 164, 165, 166, 167, 168, 169,
|
|
170, 171, 172, 173, 174, 175, 176, 177, 178, 179,
|
|
180, 181, 182, 183, 184, 185, 186, 187, 188, 189,
|
|
190, 191, 192, 193, 194, 195, 196, 197, 198, 199,
|
|
200, 201, 202, 203, 204, 205, 206, 207, 208, 209,
|
|
210, 211, 212, 213, 214, 215, 216, 217, 218, 219,
|
|
220, 221, 222, 223, 224, 225, 226, 227, 228, 229,
|
|
230, 231, 232, 233, 234, 235, 236, 237, 238, 239,
|
|
240, 241, 242, 243, 244, 245, 246, 247, 248, 249,
|
|
250, 251, 252, 253, 254, 255, 256, 257, 258, 259,
|
|
260, 261, 262, 263, 264, 265, 266, 267, 268, 269,
|
|
270, 271, 272, 273, 274, 275, 276, 277, 278, 279,
|
|
280, 281, 282, 283, 284, 285, 286, 287, 288, 289,
|
|
290, 291, 292, 293, 294, 295, 296, 297, 298, 299,
|
|
300, 301, 302, 303, 304, 305, 306, 307, 308, 309,
|
|
310, 311, 312, 313, 314, 315, 316, 317, 318, 319,
|
|
320, 321, 322, 323, 324, 0, 0, 500, 501, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 502, 503, 0, 325,
|
|
0, 0, 0, 0, 0, 0, 0, 594, 504, 505,
|
|
506, 507, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 327, 328, 329, 330, 331, 0, 0, 0, 508,
|
|
509, 510, 511, 512, 332, 333, 334, 335, 336, 337,
|
|
338, 595, 596, 597, 598, 0, 599, 600, 601, 602,
|
|
603, 604, 605, 606, 607, 608, 339, 340, 341, 342,
|
|
343, 344, 513, 514, 515, 516, 517, 518, 519, 520,
|
|
345, 609, 346, 347, 348, 349, 350, 351, 352, 353,
|
|
354, 355, 356, 357, 358, 359, 360, 361, 362, 363,
|
|
364, 365, 366, 367, 368, 369, 370, 371, 372, 373,
|
|
374, 375, 376, 377, 1, 2, 3, 4, 5, 6,
|
|
7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
|
|
17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
|
|
27, 28, 29, 30, 31, 32, 33, 34, 35, 36,
|
|
37, 38, 39, 40, 41, 42, 43, 44, 45, 46,
|
|
47, 48, 49, 50, 51, 52, 53, 54, 55, 56,
|
|
57, 58, 59, 60, 61, 62, 63, 64, 65, 66,
|
|
67, 68, 69, 70, 71, 72, 73, 74, 75, 76,
|
|
77, 78, 79, 80, 81, 82, 83, 84, 85, 86,
|
|
87, 88, 89, 90, 91, 92, 93, 94, 95, 96,
|
|
97, 98, 99, 100, 101, 102, 103, 104, 105, 106,
|
|
107, 108, 109, 110, 111, 112, 113, 114, 115, 116,
|
|
117, 118, 119, 120, 121, 122, 123, 124, 125, 126,
|
|
127, 128, 129, 130, 131, 132, 133, 134, 135, 136,
|
|
137, 138, 139, 140, 141, 142, 143, 144, 145, 146,
|
|
147, 148, 149, 150, 151, 152, 153, 154, 155, 156,
|
|
157, 158, 159, 160, 161, 162, 163, 164, 165, 166,
|
|
167, 168, 169, 170, 171, 172, 173, 174, 175, 176,
|
|
177, 178, 179, 180, 181, 182, 183, 184, 185, 186,
|
|
187, 188, 189, 190, 191, 192, 193, 194, 195, 196,
|
|
197, 198, 199, 200, 201, 202, 203, 204, 205, 206,
|
|
207, 208, 209, 210, 211, 212, 213, 214, 215, 216,
|
|
217, 218, 219, 220, 221, 222, 223, 224, 225, 226,
|
|
227, 228, 229, 230, 231, 232, 233, 234, 235, 236,
|
|
237, 238, 239, 240, 241, 242, 243, 244, 245, 246,
|
|
247, 248, 249, 250, 251, 252, 253, 254, 255, 256,
|
|
257, 258, 259, 260, 261, 262, 263, 264, 265, 266,
|
|
267, 268, 269, 270, 271, 272, 273, 274, 275, 276,
|
|
277, 278, 279, 280, 281, 282, 283, 284, 285, 286,
|
|
287, 288, 289, 290, 291, 292, 293, 294, 295, 296,
|
|
297, 298, 299, 300, 301, 302, 303, 304, 305, 306,
|
|
307, 308, 309, 310, 311, 312, 313, 314, 315, 316,
|
|
317, 318, 319, 320, 321, 322, 323, 324, 0, 0,
|
|
500, 501, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 502,
|
|
503, 0, 325, 0, 0, 0, 0, 0, 0, 0,
|
|
594, 504, 505, 506, 507, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 327, 328, 329, 330, 331, 0,
|
|
0, 0, 508, 509, 510, 511, 512, 332, 333, 334,
|
|
335, 336, 337, 338, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 339,
|
|
340, 341, 342, 343, 344, 513, 514, 515, 516, 517,
|
|
518, 519, 520, 345, 0, 346, 347, 348, 349, 350,
|
|
351, 352, 353, 354, 355, 356, 357, 358, 359, 360,
|
|
361, 362, 363, 364, 365, 366, 367, 368, 369, 370,
|
|
371, 372, 373, 374, 375, 376, 377, 1, 2, 3,
|
|
4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
|
|
14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
|
|
24, 25, 26, 27, 28, 29, 30, 31, 32, 33,
|
|
34, 35, 36, 37, 38, 39, 40, 41, 42, 43,
|
|
44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
|
|
54, 55, 56, 57, 58, 59, 60, 61, 62, 63,
|
|
64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
|
|
74, 75, 76, 77, 78, 79, 80, 81, 82, 83,
|
|
84, 85, 86, 87, 88, 89, 90, 91, 92, 93,
|
|
94, 95, 96, 97, 98, 99, 100, 101, 102, 103,
|
|
104, 105, 106, 107, 108, 109, 110, 111, 112, 113,
|
|
114, 115, 116, 117, 118, 119, 120, 121, 122, 123,
|
|
124, 125, 126, 127, 128, 129, 130, 131, 132, 133,
|
|
134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
|
|
144, 145, 146, 147, 148, 149, 150, 151, 152, 153,
|
|
154, 155, 156, 157, 158, 159, 160, 161, 162, 163,
|
|
164, 165, 166, 167, 168, 169, 170, 171, 172, 173,
|
|
174, 175, 176, 177, 178, 179, 180, 181, 182, 183,
|
|
184, 185, 186, 187, 188, 189, 190, 191, 192, 193,
|
|
194, 195, 196, 197, 198, 199, 200, 201, 202, 203,
|
|
204, 205, 206, 207, 208, 209, 210, 211, 212, 213,
|
|
214, 215, 216, 217, 218, 219, 220, 221, 222, 223,
|
|
224, 225, 226, 227, 228, 229, 230, 231, 232, 233,
|
|
234, 235, 236, 237, 238, 239, 240, 241, 242, 243,
|
|
244, 245, 246, 247, 248, 249, 250, 251, 252, 253,
|
|
254, 255, 256, 257, 258, 259, 260, 261, 262, 263,
|
|
264, 265, 266, 267, 268, 269, 270, 271, 272, 273,
|
|
274, 275, 276, 277, 278, 279, 280, 281, 282, 283,
|
|
284, 285, 286, 287, 288, 289, 290, 291, 292, 293,
|
|
294, 295, 296, 297, 298, 299, 300, 301, 302, 303,
|
|
304, 305, 306, 307, 308, 309, 310, 311, 312, 313,
|
|
314, 0, 0, 0, 318, 319, 320, 321, 322, 323,
|
|
324, 0, 0, 500, 501, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 502, 503, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 504, 505, 506, 507, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 327, 328, 329,
|
|
330, 0, 0, 0, 0, 508, 509, 510, 511, 512,
|
|
332, 333, 334, 335, 336, 337, 338, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 339, 340, 341, 342, 343, 344, 513, 514,
|
|
515, 516, 517, 518, 519, 520, 345, 0, 346, 347,
|
|
348, 349, 350, 351, 352, 353, 354, 355, 356, 357,
|
|
358, 359, 360, 361, 362, 363, 364, 365, 366, 367,
|
|
368, 369, 370, 371, 372, 373, 374, 375, 376, 377,
|
|
1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
|
|
11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
|
|
21, 22, 23, 24, 25, 26, 27, 28, 29, 30,
|
|
31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
|
|
41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
|
|
51, 52, 53, 54, 55, 56, 57, 58, 59, 60,
|
|
61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
|
|
71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
|
|
81, 82, 83, 84, 85, 86, 87, 88, 89, 90,
|
|
91, 92, 93, 94, 95, 96, 97, 98, 99, 100,
|
|
101, 102, 103, 104, 105, 106, 107, 108, 109, 110,
|
|
111, 112, 113, 114, 115, 116, 117, 118, 119, 120,
|
|
121, 122, 123, 124, 125, 126, 127, 128, 129, 130,
|
|
131, 132, 133, 134, 135, 136, 137, 138, 139, 140,
|
|
141, 142, 143, 144, 145, 146, 147, 148, 149, 150,
|
|
151, 152, 153, 154, 155, 156, 157, 158, 159, 160,
|
|
161, 162, 163, 164, 165, 166, 167, 168, 169, 170,
|
|
171, 172, 173, 174, 175, 176, 177, 178, 179, 180,
|
|
181, 182, 183, 184, 185, 186, 187, 188, 189, 190,
|
|
191, 192, 193, 194, 195, 196, 197, 198, 199, 200,
|
|
201, 202, 203, 204, 205, 206, 207, 208, 209, 210,
|
|
211, 212, 213, 214, 215, 216, 217, 218, 219, 220,
|
|
221, 222, 223, 224, 225, 226, 227, 228, 229, 230,
|
|
231, 232, 233, 234, 235, 236, 237, 238, 239, 240,
|
|
241, 242, 243, 244, 245, 246, 247, 248, 249, 250,
|
|
251, 252, 253, 254, 255, 256, 257, 258, 259, 260,
|
|
261, 262, 263, 264, 265, 266, 267, 268, 269, 270,
|
|
271, 272, 273, 274, 275, 276, 277, 278, 279, 280,
|
|
281, 282, 283, 284, 285, 286, 287, 288, 289, 290,
|
|
291, 292, 293, 294, 295, 296, 297, 298, 299, 300,
|
|
301, 302, 303, 304, 305, 306, 307, 308, 309, 310,
|
|
311, 312, 313, 314, 315, 316, 317, 318, 319, 320,
|
|
321, 322, 323, 324, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 325, 0,
|
|
0, 0, 0, 0, 0, 0, 326, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
327, 328, 329, 330, 331, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 332, 333, 334, 335, 336, 337, 338,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 339, 340, 341, 342, 343,
|
|
344, 0, 0, 0, 0, 0, 0, 0, 0, 345,
|
|
0, 346, 347, 348, 349, 350, 351, 352, 353, 354,
|
|
355, 356, 357, 358, 359, 360, 361, 362, 363, 364,
|
|
365, 366, 367, 368, 369, 370, 371, 372, 373, 374,
|
|
375, 376, 377, 1, 2, 3, 4, 5, 6, 7,
|
|
8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
|
|
18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
|
|
28, 29, 30, 31, 32, 33, 34, 35, 36, 37,
|
|
38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
|
|
48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
|
|
58, 59, 60, 61, 62, 63, 64, 65, 66, 67,
|
|
68, 69, 70, 71, 72, 73, 74, 75, 76, 77,
|
|
78, 79, 80, 81, 82, 83, 84, 85, 86, 87,
|
|
88, 89, 90, 91, 92, 93, 94, 95, 96, 97,
|
|
98, 99, 100, 101, 102, 103, 104, 105, 106, 107,
|
|
108, 109, 110, 111, 112, 113, 114, 115, 116, 117,
|
|
118, 119, 120, 121, 122, 123, 124, 125, 126, 127,
|
|
128, 129, 130, 131, 132, 133, 134, 135, 136, 137,
|
|
138, 139, 140, 141, 142, 143, 144, 145, 146, 147,
|
|
148, 149, 150, 151, 152, 153, 154, 155, 156, 157,
|
|
158, 159, 160, 161, 162, 163, 164, 165, 166, 167,
|
|
168, 169, 170, 171, 172, 173, 174, 175, 176, 177,
|
|
178, 179, 180, 181, 182, 183, 184, 185, 186, 187,
|
|
188, 189, 190, 191, 192, 193, 194, 195, 196, 197,
|
|
198, 199, 200, 201, 202, 203, 204, 205, 206, 207,
|
|
208, 209, 210, 211, 212, 213, 214, 215, 216, 217,
|
|
218, 219, 220, 221, 222, 223, 224, 225, 226, 227,
|
|
228, 229, 230, 231, 232, 233, 234, 235, 236, 237,
|
|
238, 239, 240, 241, 242, 243, 244, 245, 246, 247,
|
|
248, 249, 250, 251, 252, 253, 254, 255, 256, 257,
|
|
258, 259, 260, 261, 262, 263, 264, 265, 266, 267,
|
|
268, 269, 270, 271, 272, 273, 274, 275, 276, 277,
|
|
278, 279, 280, 281, 282, 283, 284, 285, 286, 287,
|
|
288, 289, 290, 291, 292, 293, 294, 295, 296, 297,
|
|
298, 299, 300, 301, 302, 303, 304, 305, 306, 307,
|
|
308, 309, 310, 311, 312, 313, 314, 0, 0, 0,
|
|
318, 319, 320, 321, 322, 323, 324, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 327, 328, 329, 330, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 332, 333, 334, 335,
|
|
336, 337, 338, 595, 0, 0, 598, 0, 599, 600,
|
|
0, 0, 603, 0, 0, 0, 0, 0, 339, 340,
|
|
341, 342, 343, 344, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 345, 0, 346, 347, 348, 349, 350, 351,
|
|
352, 353, 354, 355, 356, 357, 358, 359, 360, 361,
|
|
362, 363, 364, 365, 366, 367, 368, 369, 370, 371,
|
|
372, 373, 374, 375, 376, 377, 1, 2, 3, 4,
|
|
5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
|
|
15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
|
|
25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
|
|
35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
|
|
45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
|
|
55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
|
|
65, 66, 67, 68, 69, 70, 71, 72, 73, 74,
|
|
75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
|
|
85, 86, 87, 88, 89, 90, 91, 92, 93, 94,
|
|
95, 96, 97, 98, 99, 100, 101, 102, 103, 104,
|
|
105, 106, 107, 108, 109, 110, 111, 112, 113, 114,
|
|
115, 116, 117, 118, 119, 120, 121, 122, 123, 124,
|
|
125, 126, 127, 128, 129, 130, 131, 132, 133, 134,
|
|
135, 136, 137, 138, 139, 140, 141, 142, 143, 144,
|
|
145, 146, 147, 148, 149, 150, 151, 152, 153, 154,
|
|
155, 156, 157, 158, 159, 160, 161, 162, 163, 164,
|
|
165, 166, 167, 168, 169, 170, 171, 172, 173, 174,
|
|
175, 176, 177, 178, 179, 180, 181, 182, 183, 184,
|
|
185, 186, 187, 188, 189, 190, 191, 192, 193, 194,
|
|
195, 196, 197, 198, 199, 200, 201, 202, 203, 204,
|
|
205, 206, 207, 208, 209, 210, 211, 212, 213, 214,
|
|
215, 216, 217, 218, 219, 220, 221, 222, 223, 224,
|
|
225, 226, 227, 228, 229, 230, 231, 232, 233, 234,
|
|
235, 236, 237, 238, 239, 240, 241, 242, 243, 244,
|
|
245, 246, 247, 248, 249, 250, 251, 252, 253, 254,
|
|
255, 256, 257, 258, 259, 260, 261, 262, 263, 264,
|
|
265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
|
|
275, 276, 277, 278, 279, 280, 281, 282, 283, 284,
|
|
285, 286, 287, 288, 289, 290, 291, 292, 293, 294,
|
|
295, 296, 297, 298, 299, 300, 301, 302, 303, 304,
|
|
305, 306, 307, 308, 309, 310, 311, 312, 313, 314,
|
|
0, 0, 0, 318, 319, 320, 321, 322, 323, 324,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 436, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 327, 328, 329, 330,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 437, 332,
|
|
333, 334, 335, 336, 337, 338, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 339, 340, 341, 342, 343, 344, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 345, 0, 346, 347, 348,
|
|
349, 350, 351, 352, 353, 354, 355, 356, 357, 358,
|
|
359, 360, 361, 362, 363, 364, 365, 366, 367, 368,
|
|
369, 370, 371, 372, 373, 374, 375, 376, 377, 1,
|
|
2, 3, 4, 5, 6, 7, 8, 9, 10, 11,
|
|
12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
|
|
22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
|
|
32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
|
|
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
|
|
52, 53, 54, 55, 56, 57, 58, 59, 60, 61,
|
|
62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
|
|
72, 73, 74, 75, 76, 77, 78, 79, 80, 81,
|
|
82, 83, 84, 85, 86, 87, 88, 89, 90, 91,
|
|
92, 93, 94, 95, 96, 97, 98, 99, 100, 101,
|
|
102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
|
|
112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
|
|
122, 123, 124, 125, 126, 127, 128, 129, 130, 131,
|
|
132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
|
|
142, 143, 144, 145, 146, 147, 148, 149, 150, 151,
|
|
152, 153, 154, 155, 156, 157, 158, 159, 160, 161,
|
|
162, 163, 164, 165, 166, 167, 168, 169, 170, 171,
|
|
172, 173, 174, 175, 176, 177, 178, 179, 180, 181,
|
|
182, 183, 184, 185, 186, 187, 188, 189, 190, 191,
|
|
192, 193, 194, 195, 196, 197, 198, 199, 200, 201,
|
|
202, 203, 204, 205, 206, 207, 208, 209, 210, 211,
|
|
212, 213, 214, 215, 216, 217, 218, 219, 220, 221,
|
|
222, 223, 224, 225, 226, 227, 228, 229, 230, 231,
|
|
232, 233, 234, 235, 236, 237, 238, 239, 240, 241,
|
|
242, 243, 244, 245, 246, 247, 248, 249, 250, 251,
|
|
252, 253, 254, 255, 256, 257, 258, 259, 260, 261,
|
|
262, 263, 264, 265, 266, 267, 268, 269, 270, 271,
|
|
272, 273, 274, 275, 276, 277, 278, 279, 280, 281,
|
|
282, 283, 284, 285, 286, 287, 288, 289, 290, 291,
|
|
292, 293, 294, 295, 296, 297, 298, 299, 300, 301,
|
|
302, 303, 304, 305, 306, 307, 308, 309, 310, 311,
|
|
312, 313, 314, 0, 0, 0, 318, 319, 320, 321,
|
|
322, 323, 324, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 325, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 327,
|
|
328, 329, 330, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 332, 333, 334, 335, 336, 337, 338, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 339, 340, 341, 342, 343, 344,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 345, 0,
|
|
346, 347, 348, 349, 350, 351, 352, 353, 354, 355,
|
|
356, 357, 358, 359, 360, 361, 362, 363, 364, 365,
|
|
366, 367, 368, 369, 370, 371, 372, 373, 374, 375,
|
|
376, 377, 1, 2, 3, 4, 5, 6, 7, 8,
|
|
9, 10, 11, 12, 13, 14, 15, 16, 17, 18,
|
|
19, 20, 21, 22, 23, 24, 25, 26, 27, 28,
|
|
29, 30, 31, 32, 33, 34, 35, 36, 37, 38,
|
|
39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
|
|
49, 50, 51, 52, 53, 54, 55, 56, 57, 58,
|
|
59, 60, 61, 62, 63, 64, 65, 66, 67, 68,
|
|
69, 70, 71, 72, 73, 74, 75, 76, 77, 78,
|
|
79, 80, 81, 82, 83, 84, 85, 86, 87, 88,
|
|
89, 90, 91, 92, 93, 94, 95, 96, 97, 98,
|
|
99, 100, 101, 102, 103, 104, 105, 106, 107, 108,
|
|
109, 110, 111, 112, 113, 114, 115, 116, 117, 118,
|
|
119, 120, 121, 122, 123, 124, 125, 126, 127, 128,
|
|
129, 130, 131, 132, 133, 134, 135, 136, 137, 138,
|
|
139, 140, 141, 142, 143, 144, 145, 146, 147, 148,
|
|
149, 150, 151, 152, 153, 154, 155, 156, 157, 158,
|
|
159, 160, 161, 162, 163, 164, 165, 166, 167, 168,
|
|
169, 170, 171, 172, 173, 174, 175, 176, 177, 178,
|
|
179, 180, 181, 182, 183, 184, 185, 186, 187, 188,
|
|
189, 190, 191, 192, 193, 194, 195, 196, 197, 198,
|
|
199, 200, 201, 202, 203, 204, 205, 206, 207, 208,
|
|
209, 210, 211, 212, 213, 214, 215, 216, 217, 218,
|
|
219, 220, 221, 222, 223, 224, 225, 226, 227, 228,
|
|
229, 230, 231, 232, 233, 234, 235, 236, 237, 238,
|
|
239, 240, 241, 242, 243, 244, 245, 246, 247, 248,
|
|
249, 250, 251, 252, 253, 254, 255, 256, 257, 258,
|
|
259, 260, 261, 262, 263, 264, 265, 266, 267, 268,
|
|
269, 270, 271, 272, 273, 274, 275, 276, 277, 278,
|
|
279, 280, 281, 282, 283, 284, 285, 286, 287, 288,
|
|
289, 290, 291, 292, 293, 294, 295, 296, 297, 298,
|
|
299, 300, 301, 302, 303, 304, 305, 306, 307, 308,
|
|
309, 310, 311, 312, 313, 314, 0, 0, 0, 318,
|
|
319, 320, 321, 322, 323, 324, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 707, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 327, 328, 329, 330, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 332, 333, 334, 335, 336,
|
|
337, 338, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 339, 340, 341,
|
|
342, 343, 344, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 345, 0, 346, 347, 348, 349, 350, 351, 352,
|
|
353, 354, 355, 356, 357, 358, 359, 360, 361, 362,
|
|
363, 364, 365, 366, 367, 368, 369, 370, 371, 372,
|
|
373, 374, 375, 376, 377, 1, 2, 3, 4, 5,
|
|
6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
|
|
16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
|
|
26, 27, 28, 29, 30, 31, 32, 33, 34, 35,
|
|
36, 37, 38, 39, 40, 41, 42, 43, 44, 45,
|
|
46, 47, 48, 49, 50, 51, 52, 53, 54, 55,
|
|
56, 57, 58, 59, 60, 61, 62, 63, 64, 65,
|
|
66, 67, 68, 69, 70, 71, 72, 73, 74, 75,
|
|
76, 77, 78, 79, 80, 81, 82, 83, 84, 85,
|
|
86, 87, 88, 89, 90, 91, 92, 93, 94, 95,
|
|
96, 97, 98, 99, 100, 101, 102, 103, 104, 105,
|
|
106, 107, 108, 109, 110, 111, 112, 113, 114, 115,
|
|
116, 117, 118, 119, 120, 121, 122, 123, 124, 125,
|
|
126, 127, 128, 129, 130, 131, 132, 133, 134, 135,
|
|
136, 137, 138, 139, 140, 141, 142, 143, 144, 145,
|
|
146, 147, 148, 149, 150, 151, 152, 153, 154, 155,
|
|
156, 157, 158, 159, 160, 161, 162, 163, 164, 165,
|
|
166, 167, 168, 169, 170, 171, 172, 173, 174, 175,
|
|
176, 177, 178, 179, 180, 181, 182, 183, 184, 185,
|
|
186, 187, 188, 189, 190, 191, 192, 193, 194, 195,
|
|
196, 197, 198, 199, 200, 201, 202, 203, 204, 205,
|
|
206, 207, 208, 209, 210, 211, 212, 213, 214, 215,
|
|
216, 217, 218, 219, 220, 221, 222, 223, 224, 225,
|
|
226, 227, 228, 229, 230, 231, 232, 233, 234, 235,
|
|
236, 237, 238, 239, 240, 241, 242, 243, 244, 245,
|
|
246, 247, 248, 249, 250, 251, 252, 253, 254, 255,
|
|
256, 257, 258, 259, 260, 261, 262, 263, 264, 265,
|
|
266, 267, 268, 269, 270, 271, 272, 273, 274, 275,
|
|
276, 277, 278, 279, 280, 281, 282, 283, 284, 285,
|
|
286, 287, 288, 289, 290, 291, 292, 293, 294, 295,
|
|
296, 297, 298, 299, 300, 301, 302, 303, 304, 305,
|
|
306, 307, 308, 309, 310, 311, 312, 313, 314, 0,
|
|
0, 0, 318, 319, 320, 321, 322, 323, 324, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 820, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 327, 328, 329, 330, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 332, 333,
|
|
334, 335, 336, 337, 338, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
339, 340, 341, 342, 343, 344, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 345, 0, 346, 347, 348, 349,
|
|
350, 351, 352, 353, 354, 355, 356, 357, 358, 359,
|
|
360, 361, 362, 363, 364, 365, 366, 367, 368, 369,
|
|
370, 371, 372, 373, 374, 375, 376, 377, 1, 2,
|
|
3, 4, 5, 6, 7, 8, 9, 10, 11, 12,
|
|
13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
|
|
23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
|
|
33, 34, 35, 36, 37, 38, 39, 40, 41, 42,
|
|
43, 44, 45, 46, 47, 48, 49, 50, 51, 52,
|
|
53, 54, 55, 56, 57, 58, 59, 60, 61, 62,
|
|
63, 64, 65, 66, 67, 68, 69, 70, 71, 72,
|
|
73, 74, 75, 76, 77, 78, 79, 80, 81, 82,
|
|
83, 84, 85, 86, 87, 88, 89, 90, 91, 92,
|
|
93, 94, 95, 96, 97, 98, 99, 100, 101, 102,
|
|
103, 104, 105, 106, 107, 108, 109, 110, 111, 112,
|
|
113, 114, 115, 116, 117, 118, 119, 120, 121, 122,
|
|
123, 124, 125, 126, 127, 128, 129, 130, 131, 132,
|
|
133, 134, 135, 136, 137, 138, 139, 140, 141, 142,
|
|
143, 144, 145, 146, 147, 148, 149, 150, 151, 152,
|
|
153, 154, 155, 156, 157, 158, 159, 160, 161, 162,
|
|
163, 164, 165, 166, 167, 168, 169, 170, 171, 172,
|
|
173, 174, 175, 176, 177, 178, 179, 180, 181, 182,
|
|
183, 184, 185, 186, 187, 188, 189, 190, 191, 192,
|
|
193, 194, 195, 196, 197, 198, 199, 200, 201, 202,
|
|
203, 204, 205, 206, 207, 208, 209, 210, 211, 212,
|
|
213, 214, 215, 216, 217, 218, 219, 220, 221, 222,
|
|
223, 224, 225, 226, 227, 228, 229, 230, 231, 232,
|
|
233, 234, 235, 236, 237, 238, 239, 240, 241, 242,
|
|
243, 244, 245, 246, 247, 248, 249, 250, 251, 252,
|
|
253, 254, 255, 256, 257, 258, 259, 260, 261, 262,
|
|
263, 264, 265, 266, 267, 268, 269, 270, 271, 272,
|
|
273, 274, 275, 276, 277, 278, 279, 280, 281, 282,
|
|
283, 284, 285, 286, 287, 288, 289, 290, 291, 292,
|
|
293, 294, 295, 296, 297, 298, 299, 300, 301, 302,
|
|
303, 304, 305, 306, 307, 308, 309, 310, 311, 312,
|
|
313, 314, 0, 0, 0, 318, 319, 320, 321, 322,
|
|
323, 324, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 855,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 327, 328,
|
|
329, 330, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 332, 333, 334, 335, 336, 337, 338, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 339, 340, 341, 342, 343, 344, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 345, 0, 346,
|
|
347, 348, 349, 350, 351, 352, 353, 354, 355, 356,
|
|
357, 358, 359, 360, 361, 362, 363, 364, 365, 366,
|
|
367, 368, 369, 370, 371, 372, 373, 374, 375, 376,
|
|
377, 1, 2, 3, 4, 5, 6, 7, 8, 9,
|
|
10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
|
|
20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
|
|
30, 31, 32, 33, 34, 35, 36, 37, 38, 39,
|
|
40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
|
|
50, 51, 52, 53, 54, 55, 56, 57, 58, 59,
|
|
60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
|
|
70, 71, 72, 73, 74, 75, 76, 77, 78, 79,
|
|
80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
|
|
90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
|
|
100, 101, 102, 103, 104, 105, 106, 107, 108, 109,
|
|
110, 111, 112, 113, 114, 115, 116, 117, 118, 119,
|
|
120, 121, 122, 123, 124, 125, 126, 127, 128, 129,
|
|
130, 131, 132, 133, 134, 135, 136, 137, 138, 139,
|
|
140, 141, 142, 143, 144, 145, 146, 147, 148, 149,
|
|
150, 151, 152, 153, 154, 155, 156, 157, 158, 159,
|
|
160, 161, 162, 163, 164, 165, 166, 167, 168, 169,
|
|
170, 171, 172, 173, 174, 175, 176, 177, 178, 179,
|
|
180, 181, 182, 183, 184, 185, 186, 187, 188, 189,
|
|
190, 191, 192, 193, 194, 195, 196, 197, 198, 199,
|
|
200, 201, 202, 203, 204, 205, 206, 207, 208, 209,
|
|
210, 211, 212, 213, 214, 215, 216, 217, 218, 219,
|
|
220, 221, 222, 223, 224, 225, 226, 227, 228, 229,
|
|
230, 231, 232, 233, 234, 235, 236, 237, 238, 239,
|
|
240, 241, 242, 243, 244, 245, 246, 247, 248, 249,
|
|
250, 251, 252, 253, 254, 255, 256, 257, 258, 259,
|
|
260, 261, 262, 263, 264, 265, 266, 267, 268, 269,
|
|
270, 271, 272, 273, 274, 275, 276, 277, 278, 279,
|
|
280, 281, 282, 283, 284, 285, 286, 287, 288, 289,
|
|
290, 291, 292, 293, 294, 295, 296, 297, 298, 299,
|
|
300, 301, 302, 303, 304, 305, 306, 307, 308, 309,
|
|
310, 311, 312, 313, 314, 0, 0, 0, 318, 319,
|
|
320, 321, 322, 323, 324, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 327, 328, 329, 330, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 332, 333, 334, 335, 336, 337,
|
|
338, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 339, 340, 341, 342,
|
|
343, 344, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
345, 0, 346, 347, 348, 349, 350, 351, 352, 353,
|
|
354, 355, 356, 357, 358, 359, 360, 361, 362, 363,
|
|
364, 365, 366, 367, 368, 369, 370, 371, 372, 373,
|
|
374, 375, 376, 377, 2, 3, 4, 5, 6, 7,
|
|
8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
|
|
18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
|
|
28, 29, 30, 31, 32, 33, 34, 35, 36, 37,
|
|
38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
|
|
48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
|
|
58, 0, 0, 61, 62, 63, 64, 65, 66, 67,
|
|
68, 69, 70, 71, 72, 73, 74, 75, 76, 77,
|
|
78, 79, 80, 81, 82, 83, 84, 85, 86, 87,
|
|
88, 89, 90, 91, 92, 93, 94, 95, 96, 97,
|
|
98, 99, 100, 101, 102, 103, 104, 105, 106, 107,
|
|
108, 109, 110, 111, 112, 113, 114, 115, 116, 117,
|
|
118, 119, 120, 121, 122, 123, 124, 125, 126, 127,
|
|
128, 129, 130, 131, 132, 133, 134, 135, 136, 137,
|
|
138, 139, 140, 141, 142, 143, 144, 145, 146, 147,
|
|
148, 149, 150, 151, 152, 153, 154, 155, 156, 157,
|
|
158, 159, 160, 161, 162, 163, 164, 165, 166, 167,
|
|
168, 169, 170, 171, 172, 173, 174, 175, 176, 177,
|
|
178, 179, 180, 181, 182, 183, 184, 185, 186, 187,
|
|
188, 189, 190, 191, 192, 193, 194, 195, 196, 197,
|
|
198, 199, 200, 201, 202, 203, 204, 205, 206, 207,
|
|
208, 209, 210, 211, 212, 213, 214, 215, 216, 217,
|
|
218, 219, 220, 221, 222, 223, 224, 225, 226, 227,
|
|
228, 229, 230, 231, 232, 233, 234, 235, 236, 237,
|
|
238, 239, 240, 241, 242, 243, 244, 245, 246, 247,
|
|
248, 249, 250, 251, 252, 253, 254, 255, 256, 257,
|
|
258, 259, 260, 261, 262, 263, 264, 265, 266, 267,
|
|
268, 269, 270, 271, 272, 273, 274, 275, 276, 277,
|
|
278, 279, 280, 281, 282, 283, 284, 285, 286, 287,
|
|
288, 289, 290, 291, 292, 293, 294, 295, 296, 297,
|
|
298, 299, 300, 301, 302, 303, 304, 305, 306, 307,
|
|
308, 309, 310, 311, 312, 313, 314, 0, 0, 0,
|
|
0, 0, 0, 321, 0, 0, 0, 0, 0, 500,
|
|
501, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 502, 503,
|
|
0, 0, 0, 637, 775, 0, 0, 0, 0, 0,
|
|
504, 505, 506, 507, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 508, 509, 510, 511, 512, 332, 0, 0, 0,
|
|
0, 337, 338, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 513, 514, 515, 516, 517, 518,
|
|
519, 520, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 358, 2, 3, 4,
|
|
5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
|
|
15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
|
|
25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
|
|
35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
|
|
45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
|
|
55, 56, 57, 58, 0, 0, 61, 62, 63, 64,
|
|
65, 66, 67, 68, 69, 70, 71, 72, 73, 74,
|
|
75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
|
|
85, 86, 87, 88, 89, 90, 91, 92, 93, 94,
|
|
95, 96, 97, 98, 99, 100, 101, 102, 103, 104,
|
|
105, 106, 107, 108, 109, 110, 111, 112, 113, 114,
|
|
115, 116, 117, 118, 119, 120, 121, 122, 123, 124,
|
|
125, 126, 127, 128, 129, 130, 131, 132, 133, 134,
|
|
135, 136, 137, 138, 139, 140, 141, 142, 143, 144,
|
|
145, 146, 147, 148, 149, 150, 151, 152, 153, 154,
|
|
155, 156, 157, 158, 159, 160, 161, 162, 163, 164,
|
|
165, 166, 167, 168, 169, 170, 171, 172, 173, 174,
|
|
175, 176, 177, 178, 179, 180, 181, 182, 183, 184,
|
|
185, 186, 187, 188, 189, 190, 191, 192, 193, 194,
|
|
195, 196, 197, 198, 199, 200, 201, 202, 203, 204,
|
|
205, 206, 207, 208, 209, 210, 211, 212, 213, 214,
|
|
215, 216, 217, 218, 219, 220, 221, 222, 223, 224,
|
|
225, 226, 227, 228, 229, 230, 231, 232, 233, 234,
|
|
235, 236, 237, 238, 239, 240, 241, 242, 243, 244,
|
|
245, 246, 247, 248, 249, 250, 251, 252, 253, 254,
|
|
255, 256, 257, 258, 259, 260, 261, 262, 263, 264,
|
|
265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
|
|
275, 276, 277, 278, 279, 280, 281, 282, 283, 284,
|
|
285, 286, 287, 288, 289, 290, 291, 292, 293, 294,
|
|
295, 296, 297, 298, 299, 300, 301, 302, 303, 304,
|
|
305, 306, 307, 308, 309, 310, 311, 312, 313, 314,
|
|
0, 0, 0, 0, 0, 0, 321, 0, 0, 0,
|
|
0, 0, 500, 501, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 502, 503, 0, 0, 0, 637, 886, 0, 0,
|
|
0, 0, 0, 504, 505, 506, 507, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 508, 509, 510, 511, 512, 332,
|
|
0, 0, 0, 0, 337, 338, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 513, 514, 515,
|
|
516, 517, 518, 519, 520, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 358,
|
|
2, 3, 4, 5, 6, 7, 8, 9, 10, 11,
|
|
12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
|
|
22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
|
|
32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
|
|
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
|
|
52, 53, 54, 55, 56, 57, 58, 0, 0, 61,
|
|
62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
|
|
72, 73, 74, 75, 76, 77, 78, 79, 80, 81,
|
|
82, 83, 84, 85, 86, 87, 88, 89, 90, 91,
|
|
92, 93, 94, 95, 96, 97, 98, 99, 100, 101,
|
|
102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
|
|
112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
|
|
122, 123, 124, 125, 126, 127, 128, 129, 130, 131,
|
|
132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
|
|
142, 143, 144, 145, 146, 147, 148, 149, 150, 151,
|
|
152, 153, 154, 155, 156, 157, 158, 159, 160, 161,
|
|
162, 163, 164, 165, 166, 167, 168, 169, 170, 171,
|
|
172, 173, 174, 175, 176, 177, 178, 179, 180, 181,
|
|
182, 183, 184, 185, 186, 187, 188, 189, 190, 191,
|
|
192, 193, 194, 195, 196, 197, 198, 199, 200, 201,
|
|
202, 203, 204, 205, 206, 207, 208, 209, 210, 211,
|
|
212, 213, 214, 215, 216, 217, 218, 219, 220, 221,
|
|
222, 223, 224, 225, 226, 227, 228, 229, 230, 231,
|
|
232, 233, 234, 235, 236, 237, 238, 239, 240, 241,
|
|
242, 243, 244, 245, 246, 247, 248, 249, 250, 251,
|
|
252, 253, 254, 255, 256, 257, 258, 259, 260, 261,
|
|
262, 263, 264, 265, 266, 267, 268, 269, 270, 271,
|
|
272, 273, 274, 275, 276, 277, 278, 279, 280, 281,
|
|
282, 283, 284, 285, 286, 287, 288, 289, 290, 291,
|
|
292, 293, 294, 295, 296, 297, 298, 299, 300, 301,
|
|
302, 303, 304, 305, 306, 307, 308, 309, 310, 311,
|
|
312, 313, 314, 0, 0, 0, 0, 0, 0, 321,
|
|
0, 0, 0, 0, 0, 500, 501, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 502, 503, 0, 0, 576, 0,
|
|
0, 0, 0, 0, 0, 0, 504, 505, 506, 507,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 508, 509, 510,
|
|
511, 512, 332, 0, 0, 0, 0, 337, 338, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
513, 514, 515, 516, 517, 518, 519, 520, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 358, 2, 3, 4, 5, 6, 7, 8,
|
|
9, 10, 11, 12, 13, 14, 15, 16, 17, 18,
|
|
19, 20, 21, 22, 23, 24, 25, 26, 27, 28,
|
|
29, 30, 31, 32, 33, 34, 35, 36, 37, 38,
|
|
39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
|
|
49, 50, 51, 52, 53, 54, 55, 56, 57, 58,
|
|
0, 0, 61, 62, 63, 64, 65, 66, 67, 68,
|
|
69, 70, 71, 72, 73, 74, 75, 76, 77, 78,
|
|
79, 80, 81, 82, 83, 84, 85, 86, 87, 88,
|
|
89, 90, 91, 92, 93, 94, 95, 96, 97, 98,
|
|
99, 100, 101, 102, 103, 104, 105, 106, 107, 108,
|
|
109, 110, 111, 112, 113, 114, 115, 116, 117, 118,
|
|
119, 120, 121, 122, 123, 124, 125, 126, 127, 128,
|
|
129, 130, 131, 132, 133, 134, 135, 136, 137, 138,
|
|
139, 140, 141, 142, 143, 144, 145, 146, 147, 148,
|
|
149, 150, 151, 152, 153, 154, 155, 156, 157, 158,
|
|
159, 160, 161, 162, 163, 164, 165, 166, 167, 168,
|
|
169, 170, 171, 172, 173, 174, 175, 176, 177, 178,
|
|
179, 180, 181, 182, 183, 184, 185, 186, 187, 188,
|
|
189, 190, 191, 192, 193, 194, 195, 196, 197, 198,
|
|
199, 200, 201, 202, 203, 204, 205, 206, 207, 208,
|
|
209, 210, 211, 212, 213, 214, 215, 216, 217, 218,
|
|
219, 220, 221, 222, 223, 224, 225, 226, 227, 228,
|
|
229, 230, 231, 232, 233, 234, 235, 236, 237, 238,
|
|
239, 240, 241, 242, 243, 244, 245, 246, 247, 248,
|
|
249, 250, 251, 252, 253, 254, 255, 256, 257, 258,
|
|
259, 260, 261, 262, 263, 264, 265, 266, 267, 268,
|
|
269, 270, 271, 272, 273, 274, 275, 276, 277, 278,
|
|
279, 280, 281, 282, 283, 284, 285, 286, 287, 288,
|
|
289, 290, 291, 292, 293, 294, 295, 296, 297, 298,
|
|
299, 300, 301, 302, 303, 304, 305, 306, 307, 308,
|
|
309, 310, 311, 312, 313, 314, 0, 0, 0, 0,
|
|
0, 0, 321, 0, 0, 0, 0, 0, 500, 501,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 502, 503, 0,
|
|
0, 0, 637, 0, 0, 0, 0, 0, 0, 504,
|
|
505, 506, 507, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
508, 509, 510, 511, 512, 332, 0, 0, 0, 0,
|
|
337, 338, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 513, 514, 515, 516, 517, 518, 519,
|
|
520, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 358, 2, 3, 4, 5,
|
|
6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
|
|
16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
|
|
26, 27, 28, 29, 30, 31, 32, 33, 34, 35,
|
|
36, 37, 38, 39, 40, 41, 42, 43, 44, 45,
|
|
46, 47, 48, 49, 50, 51, 52, 53, 54, 55,
|
|
56, 57, 58, 0, 0, 61, 62, 63, 64, 65,
|
|
66, 67, 68, 69, 70, 71, 72, 73, 74, 75,
|
|
76, 77, 78, 79, 80, 81, 82, 83, 84, 85,
|
|
86, 87, 88, 89, 90, 91, 92, 93, 94, 95,
|
|
96, 97, 98, 99, 100, 101, 102, 103, 104, 105,
|
|
106, 107, 108, 109, 110, 111, 112, 113, 114, 115,
|
|
116, 117, 118, 119, 120, 121, 122, 123, 124, 125,
|
|
126, 127, 128, 129, 130, 131, 132, 133, 134, 135,
|
|
136, 137, 138, 139, 140, 141, 142, 143, 144, 145,
|
|
146, 147, 148, 149, 150, 151, 152, 153, 154, 155,
|
|
156, 157, 158, 159, 160, 161, 162, 163, 164, 165,
|
|
166, 167, 168, 169, 170, 171, 172, 173, 174, 175,
|
|
176, 177, 178, 179, 180, 181, 182, 183, 184, 185,
|
|
186, 187, 188, 189, 190, 191, 192, 193, 194, 195,
|
|
196, 197, 198, 199, 200, 201, 202, 203, 204, 205,
|
|
206, 207, 208, 209, 210, 211, 212, 213, 214, 215,
|
|
216, 217, 218, 219, 220, 221, 222, 223, 224, 225,
|
|
226, 227, 228, 229, 230, 231, 232, 233, 234, 235,
|
|
236, 237, 238, 239, 240, 241, 242, 243, 244, 245,
|
|
246, 247, 248, 249, 250, 251, 252, 253, 254, 255,
|
|
256, 257, 258, 259, 260, 261, 262, 263, 264, 265,
|
|
266, 267, 268, 269, 270, 271, 272, 273, 274, 275,
|
|
276, 277, 278, 279, 280, 281, 282, 283, 284, 285,
|
|
286, 287, 288, 289, 290, 291, 292, 293, 294, 295,
|
|
296, 297, 298, 299, 300, 301, 302, 303, 304, 305,
|
|
306, 307, 308, 309, 310, 311, 312, 313, 314, 0,
|
|
0, 0, 0, 0, 0, 321, 0, 0, 0, 0,
|
|
0, 500, 501, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
502, 503, 0, 0, 734, 0, 0, 0, 0, 0,
|
|
0, 0, 504, 505, 506, 507, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 508, 509, 510, 511, 512, 332, 0,
|
|
0, 0, 0, 337, 338, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 513, 514, 515, 516,
|
|
517, 518, 519, 520, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 358, 2,
|
|
3, 4, 5, 6, 7, 8, 9, 10, 11, 12,
|
|
13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
|
|
23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
|
|
33, 34, 35, 36, 37, 38, 39, 40, 41, 42,
|
|
43, 44, 45, 46, 47, 48, 49, 50, 51, 52,
|
|
53, 54, 55, 56, 57, 58, 0, 0, 61, 62,
|
|
63, 64, 65, 66, 67, 68, 69, 70, 71, 72,
|
|
73, 74, 75, 76, 77, 78, 79, 80, 81, 82,
|
|
83, 84, 85, 86, 87, 88, 89, 90, 91, 92,
|
|
93, 94, 95, 96, 97, 98, 99, 100, 101, 102,
|
|
103, 104, 105, 106, 107, 108, 109, 110, 111, 112,
|
|
113, 114, 115, 116, 117, 118, 119, 120, 121, 122,
|
|
123, 124, 125, 126, 127, 128, 129, 130, 131, 132,
|
|
133, 134, 135, 136, 137, 138, 139, 140, 141, 142,
|
|
143, 144, 145, 146, 147, 148, 149, 150, 151, 152,
|
|
153, 154, 155, 156, 157, 158, 159, 160, 161, 162,
|
|
163, 164, 165, 166, 167, 168, 169, 170, 171, 172,
|
|
173, 174, 175, 176, 177, 178, 179, 180, 181, 182,
|
|
183, 184, 185, 186, 187, 188, 189, 190, 191, 192,
|
|
193, 194, 195, 196, 197, 198, 199, 200, 201, 202,
|
|
203, 204, 205, 206, 207, 208, 209, 210, 211, 212,
|
|
213, 214, 215, 216, 217, 218, 219, 220, 221, 222,
|
|
223, 224, 225, 226, 227, 228, 229, 230, 231, 232,
|
|
233, 234, 235, 236, 237, 238, 239, 240, 241, 242,
|
|
243, 244, 245, 246, 247, 248, 249, 250, 251, 252,
|
|
253, 254, 255, 256, 257, 258, 259, 260, 261, 262,
|
|
263, 264, 265, 266, 267, 268, 269, 270, 271, 272,
|
|
273, 274, 275, 276, 277, 278, 279, 280, 281, 282,
|
|
283, 284, 285, 286, 287, 288, 289, 290, 291, 292,
|
|
293, 294, 295, 296, 297, 298, 299, 300, 301, 302,
|
|
303, 304, 305, 306, 307, 308, 309, 310, 311, 312,
|
|
313, 314, 0, 0, 0, 0, 0, 0, 321, 0,
|
|
0, 0, 0, 0, 500, 501, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 502, 503, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 745, 504, 505, 506, 507, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 508, 509, 510, 511,
|
|
512, 332, 0, 0, 0, 0, 337, 338, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 513,
|
|
514, 515, 516, 517, 518, 519, 520, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 358, 2, 3, 4, 5, 6, 7, 8, 9,
|
|
10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
|
|
20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
|
|
30, 31, 32, 33, 34, 35, 36, 37, 38, 39,
|
|
40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
|
|
50, 51, 52, 53, 54, 55, 56, 57, 58, 0,
|
|
0, 61, 62, 63, 64, 65, 66, 67, 68, 69,
|
|
70, 71, 72, 73, 74, 75, 76, 77, 78, 79,
|
|
80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
|
|
90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
|
|
100, 101, 102, 103, 104, 105, 106, 107, 108, 109,
|
|
110, 111, 112, 113, 114, 115, 116, 117, 118, 119,
|
|
120, 121, 122, 123, 124, 125, 126, 127, 128, 129,
|
|
130, 131, 132, 133, 134, 135, 136, 137, 138, 139,
|
|
140, 141, 142, 143, 144, 145, 146, 147, 148, 149,
|
|
150, 151, 152, 153, 154, 155, 156, 157, 158, 159,
|
|
160, 161, 162, 163, 164, 165, 166, 167, 168, 169,
|
|
170, 171, 172, 173, 174, 175, 176, 177, 178, 179,
|
|
180, 181, 182, 183, 184, 185, 186, 187, 188, 189,
|
|
190, 191, 192, 193, 194, 195, 196, 197, 198, 199,
|
|
200, 201, 202, 203, 204, 205, 206, 207, 208, 209,
|
|
210, 211, 212, 213, 214, 215, 216, 217, 218, 219,
|
|
220, 221, 222, 223, 224, 225, 226, 227, 228, 229,
|
|
230, 231, 232, 233, 234, 235, 236, 237, 238, 239,
|
|
240, 241, 242, 243, 244, 245, 246, 247, 248, 249,
|
|
250, 251, 252, 253, 254, 255, 256, 257, 258, 259,
|
|
260, 261, 262, 263, 264, 265, 266, 267, 268, 269,
|
|
270, 271, 272, 273, 274, 275, 276, 277, 278, 279,
|
|
280, 281, 282, 283, 284, 285, 286, 287, 288, 289,
|
|
290, 291, 292, 293, 294, 295, 296, 297, 298, 299,
|
|
300, 301, 302, 303, 304, 305, 306, 307, 308, 309,
|
|
310, 311, 312, 313, 314, 0, 0, 0, 0, 0,
|
|
0, 321, 0, 0, 0, 0, 0, 500, 501, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 502, 503, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 504, 505,
|
|
506, 507, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 508,
|
|
509, 510, 511, 512, 332, 0, 0, 0, 0, 337,
|
|
338, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 513, 514, 515, 516, 517, 518, 519, 520,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 358, 2, 3, 4, 5, 6,
|
|
7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
|
|
17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
|
|
27, 28, 29, 30, 31, 32, 33, 34, 35, 36,
|
|
37, 38, 39, 40, 41, 42, 43, 44, 45, 46,
|
|
47, 48, 49, 50, 51, 52, 53, 54, 55, 56,
|
|
57, 58, 0, 0, 61, 62, 63, 64, 65, 66,
|
|
67, 68, 69, 70, 71, 72, 73, 74, 75, 76,
|
|
77, 78, 79, 80, 81, 82, 83, 84, 85, 86,
|
|
87, 88, 89, 90, 91, 92, 93, 94, 95, 96,
|
|
97, 98, 99, 100, 101, 102, 103, 104, 105, 106,
|
|
107, 108, 109, 110, 111, 112, 113, 114, 115, 116,
|
|
117, 118, 119, 120, 121, 122, 123, 124, 125, 126,
|
|
127, 128, 129, 130, 131, 132, 133, 134, 135, 136,
|
|
137, 138, 139, 140, 141, 142, 143, 144, 145, 146,
|
|
147, 148, 149, 150, 151, 152, 153, 154, 155, 156,
|
|
157, 158, 159, 160, 161, 162, 163, 164, 165, 166,
|
|
167, 168, 169, 170, 171, 172, 173, 174, 175, 176,
|
|
177, 178, 179, 180, 181, 182, 183, 184, 185, 186,
|
|
187, 188, 189, 190, 191, 192, 193, 194, 195, 196,
|
|
197, 198, 199, 200, 201, 202, 203, 204, 205, 206,
|
|
207, 208, 209, 210, 211, 212, 213, 214, 215, 216,
|
|
217, 218, 219, 220, 221, 222, 223, 224, 225, 226,
|
|
227, 228, 229, 230, 231, 232, 233, 234, 235, 236,
|
|
237, 238, 239, 240, 241, 242, 243, 244, 245, 246,
|
|
247, 248, 249, 250, 251, 252, 253, 254, 255, 256,
|
|
257, 258, 259, 260, 261, 262, 263, 264, 265, 266,
|
|
267, 268, 269, 270, 271, 272, 273, 274, 275, 276,
|
|
277, 278, 279, 280, 281, 282, 283, 284, 285, 286,
|
|
287, 288, 289, 290, 291, 292, 293, 294, 295, 296,
|
|
297, 298, 299, 300, 301, 302, 303, 304, 305, 306,
|
|
307, 308, 309, 310, 311, 312, 313, 314, 0, 0,
|
|
0, 0, 0, 0, 321, 0, 0, 0, 0, 0,
|
|
500, 501, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 502,
|
|
503, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 504, 505, 506, 507, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 508, 509, 510, 511, 512, 332, 0, 0,
|
|
0, 0, 337, 655, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 513, 514, 515, 516, 517,
|
|
518, 519, 520, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 358, 2, 3,
|
|
4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
|
|
14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
|
|
24, 25, 26, 27, 28, 29, 30, 31, 32, 33,
|
|
34, 35, 36, 37, 38, 39, 40, 41, 42, 43,
|
|
44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
|
|
54, 55, 56, 57, 58, 0, 0, 61, 62, 63,
|
|
64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
|
|
74, 75, 76, 77, 78, 79, 80, 81, 82, 83,
|
|
84, 85, 86, 87, 88, 89, 90, 91, 92, 93,
|
|
94, 95, 96, 97, 98, 99, 100, 101, 102, 103,
|
|
104, 105, 106, 107, 108, 109, 110, 111, 112, 113,
|
|
114, 115, 116, 117, 118, 119, 120, 121, 122, 123,
|
|
124, 125, 126, 127, 128, 129, 130, 131, 132, 133,
|
|
134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
|
|
144, 145, 146, 147, 148, 149, 150, 151, 152, 153,
|
|
154, 155, 156, 157, 158, 159, 160, 161, 162, 163,
|
|
164, 165, 166, 167, 168, 169, 170, 171, 172, 173,
|
|
174, 175, 176, 177, 178, 179, 180, 181, 182, 183,
|
|
184, 185, 186, 187, 188, 189, 190, 191, 192, 193,
|
|
194, 195, 196, 197, 198, 199, 200, 201, 202, 203,
|
|
204, 205, 206, 207, 208, 209, 210, 211, 212, 213,
|
|
214, 215, 216, 217, 218, 219, 220, 221, 222, 223,
|
|
224, 225, 226, 227, 228, 229, 230, 231, 232, 233,
|
|
234, 235, 236, 237, 238, 239, 240, 241, 242, 243,
|
|
244, 245, 246, 247, 248, 249, 250, 251, 252, 253,
|
|
254, 255, 256, 257, 258, 259, 260, 261, 262, 263,
|
|
264, 265, 266, 267, 268, 269, 270, 271, 272, 273,
|
|
274, 275, 276, 277, 278, 279, 280, 281, 282, 283,
|
|
284, 285, 286, 287, 288, 289, 290, 291, 292, 293,
|
|
294, 295, 296, 297, 298, 299, 300, 301, 302, 303,
|
|
304, 305, 306, 307, 308, 309, 310, 311, 312, 313,
|
|
314, 0, 0, 0, 0, 0, 0, 321, 0, 0,
|
|
0, 0, 0, 500, 501, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 502, 503, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 504, 505, 506, 507, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 508, 509, 510, 511, 695,
|
|
332, 0, 0, 0, 0, 337, 338, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 513, 514,
|
|
515, 516, 517, 518, 519, 520, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
358, 2, 3, 4, 5, 6, 7, 8, 9, 10,
|
|
11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
|
|
21, 22, 23, 24, 25, 26, 27, 28, 29, 30,
|
|
31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
|
|
41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
|
|
51, 52, 53, 54, 55, 56, 57, 58, 0, 0,
|
|
61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
|
|
71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
|
|
81, 82, 83, 84, 85, 86, 87, 88, 89, 90,
|
|
91, 92, 93, 94, 95, 96, 97, 98, 99, 100,
|
|
101, 102, 103, 104, 105, 106, 107, 108, 109, 110,
|
|
111, 112, 113, 114, 115, 116, 117, 118, 119, 120,
|
|
121, 122, 123, 124, 125, 126, 127, 128, 129, 130,
|
|
131, 132, 133, 134, 135, 136, 137, 138, 139, 140,
|
|
141, 142, 143, 144, 145, 146, 147, 148, 149, 150,
|
|
151, 152, 153, 154, 155, 156, 157, 158, 159, 160,
|
|
161, 162, 163, 164, 165, 166, 167, 168, 169, 170,
|
|
171, 172, 173, 174, 175, 176, 177, 178, 179, 180,
|
|
181, 182, 183, 184, 185, 186, 187, 188, 189, 190,
|
|
191, 192, 193, 194, 195, 196, 197, 198, 199, 200,
|
|
201, 202, 203, 204, 205, 206, 207, 208, 209, 210,
|
|
211, 212, 213, 214, 215, 216, 217, 218, 219, 220,
|
|
221, 222, 223, 224, 225, 226, 227, 228, 229, 230,
|
|
231, 232, 233, 234, 235, 236, 237, 238, 239, 240,
|
|
241, 242, 243, 244, 245, 246, 247, 248, 249, 250,
|
|
251, 252, 253, 254, 255, 256, 257, 258, 259, 260,
|
|
261, 262, 263, 264, 265, 266, 267, 268, 269, 270,
|
|
271, 272, 273, 274, 275, 276, 277, 278, 279, 280,
|
|
281, 282, 283, 284, 285, 286, 287, 288, 289, 290,
|
|
291, 292, 293, 294, 295, 296, 297, 298, 299, 300,
|
|
301, 302, 303, 304, 305, 306, 307, 308, 309, 310,
|
|
311, 312, 313, 314, 0, 0, 0, 0, 0, 0,
|
|
321, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 332, 0, 0, 0, 0, 337, 338
|
|
};
|
|
|
|
static const yytype_int16 yycheck[] =
|
|
{
|
|
0, 383, 0, 402, 494, 0, 503, 482, 407, 0,
|
|
435, 0, 623, 635, 543, 637, 441, 402, 640, 568,
|
|
402, 737, 414, 548, 391, 407, 570, 348, 553, 336,
|
|
559, 359, 331, 332, 385, 899, 348, 562, 348, 529,
|
|
348, 351, 906, 349, 353, 427, 571, 351, 382, 352,
|
|
351, 385, 916, 356, 358, 329, 330, 385, 409, 356,
|
|
381, 382, 383, 384, 431, 372, 491, 492, 367, 368,
|
|
382, 368, 382, 548, 382, 349, 385, 351, 553, 350,
|
|
447, 355, 351, 351, 559, 356, 349, 562, 351, 349,
|
|
359, 359, 474, 541, 350, 358, 571, 641, 352, 547,
|
|
356, 549, 356, 351, 552, 602, 554, 604, 556, 557,
|
|
358, 356, 349, 561, 359, 590, 338, 339, 340, 341,
|
|
342, 343, 344, 345, 346, 347, 351, 327, 328, 353,
|
|
741, 382, 356, 358, 385, 359, 358, 409, 410, 411,
|
|
412, 413, 414, 415, 361, 635, 363, 637, 350, 541,
|
|
640, 350, 774, 650, 356, 350, 350, 356, 356, 357,
|
|
709, 356, 356, 350, 654, 557, 350, 350, 350, 356,
|
|
350, 350, 356, 356, 356, 350, 356, 356, 350, 350,
|
|
354, 356, 356, 350, 356, 356, 568, 350, 570, 356,
|
|
350, 350, 350, 356, 350, 350, 356, 356, 356, 566,
|
|
356, 356, 350, 350, 920, 350, 350, 350, 356, 356,
|
|
352, 356, 356, 356, 356, 381, 382, 383, 384, 720,
|
|
721, 722, 723, 356, 356, 382, 359, 359, 385, 440,
|
|
779, 842, 854, 382, 633, 356, 385, 356, 359, 349,
|
|
359, 382, 382, 359, 385, 385, 743, 349, 633, 349,
|
|
747, 633, 382, 382, 382, 385, 385, 385, 382, 641,
|
|
382, 385, 382, 385, 356, 385, 349, 359, 374, 375,
|
|
376, 482, 349, 798, 799, 765, 766, 333, 334, 704,
|
|
805, 806, 811, 349, 774, 364, 365, 366, 910, 500,
|
|
501, 356, 357, 716, 717, 349, 718, 719, 724, 725,
|
|
350, 356, 359, 385, 367, 385, 353, 385, 353, 385,
|
|
351, 385, 385, 351, 350, 926, 385, 359, 358, 356,
|
|
349, 532, 356, 798, 799, 358, 356, 709, 356, 356,
|
|
805, 806, 356, 356, 356, 356, 811, 548, 813, 356,
|
|
350, 356, 553, 840, 350, 359, 843, 358, 559, 351,
|
|
385, 562, 349, 349, 385, 348, 335, 351, 371, 385,
|
|
571, 370, 352, 337, 854, 385, 369, 352, 354, 349,
|
|
382, 359, 359, 349, 349, 359, 349, 359, 359, 590,
|
|
357, 359, 349, 383, 349, 348, 883, 359, 350, 358,
|
|
356, 391, 383, 385, 350, 356, 356, 779, 350, 399,
|
|
391, 399, 402, 900, 399, 352, 896, 407, 399, 407,
|
|
399, 402, 407, 352, 385, 356, 407, 417, 915, 348,
|
|
910, 354, 350, 393, 349, 359, 385, 427, 426, 353,
|
|
350, 431, 358, 397, 353, 353, 427, 359, 354, 726,
|
|
431, 727, 730, 728, 843, 729, 573, 447, 659, 731,
|
|
331, 703, 818, 905, 845, 916, 447, 917, 845, 883,
|
|
633, 843, 399, 431, 633, 633, 564, 796, 425, 427,
|
|
794, 803, 799, 806, 474, 801, 431, 813, 809, -1,
|
|
-1, 811, -1, 474, 883, 485, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, 485, -1, -1, -1, -1, -1,
|
|
-1, 883, 713, 714, 715, 716, 717, 718, 719, 720,
|
|
721, 722, 723, 724, 725, 726, 727, 728, 729, 730,
|
|
731, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, 537,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, 566, -1, 568, -1,
|
|
570, -1, -1, -1, -1, 566, -1, 568, -1, 570,
|
|
-1, -1, -1, -1, -1, -1, -1, 798, 799, -1,
|
|
-1, -1, -1, -1, 805, 806, -1, -1, -1, -1,
|
|
811, -1, 813, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, 623, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, 623, 633, -1, -1, -1, -1, -1, -1,
|
|
-1, 641, 633, -1, -1, -1, -1, -1, -1, -1,
|
|
641, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, 709,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, 709, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, 737, -1, -1,
|
|
-1, 741, -1, -1, -1, -1, 737, -1, -1, -1,
|
|
741, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, 779,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, 779, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, 842, 843, -1, 845, -1, 845, -1, -1,
|
|
-1, 842, 843, -1, 845, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, 883, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, 883, -1, -1, -1, -1, -1, -1, 899,
|
|
-1, -1, -1, -1, -1, -1, 906, -1, 899, -1,
|
|
-1, -1, -1, -1, -1, 906, 916, -1, -1, -1,
|
|
920, -1, -1, -1, -1, 916, 926, -1, -1, 920,
|
|
-1, -1, -1, 0, -1, 926, 3, 4, 5, 6,
|
|
7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
|
|
17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
|
|
27, 28, 29, 30, 31, 32, 33, 34, 35, 36,
|
|
37, 38, 39, 40, 41, 42, 43, 44, 45, 46,
|
|
47, 48, 49, 50, 51, 52, 53, 54, 55, 56,
|
|
57, 58, 59, 60, 61, 62, 63, 64, 65, 66,
|
|
67, 68, 69, 70, 71, 72, 73, 74, 75, 76,
|
|
77, 78, 79, 80, 81, 82, 83, 84, 85, 86,
|
|
87, 88, 89, 90, 91, 92, 93, 94, 95, 96,
|
|
97, 98, 99, 100, 101, 102, 103, 104, 105, 106,
|
|
107, 108, 109, 110, 111, 112, 113, 114, 115, 116,
|
|
117, 118, 119, 120, 121, 122, 123, 124, 125, 126,
|
|
127, 128, 129, 130, 131, 132, 133, 134, 135, 136,
|
|
137, 138, 139, 140, 141, 142, 143, 144, 145, 146,
|
|
147, 148, 149, 150, 151, 152, 153, 154, 155, 156,
|
|
157, 158, 159, 160, 161, 162, 163, 164, 165, 166,
|
|
167, 168, 169, 170, 171, 172, 173, 174, 175, 176,
|
|
177, 178, 179, 180, 181, 182, 183, 184, 185, 186,
|
|
187, 188, 189, 190, 191, 192, 193, 194, 195, 196,
|
|
197, 198, 199, 200, 201, 202, 203, 204, 205, 206,
|
|
207, 208, 209, 210, 211, 212, 213, 214, 215, 216,
|
|
217, 218, 219, 220, 221, 222, 223, 224, 225, 226,
|
|
227, 228, 229, 230, 231, 232, 233, 234, 235, 236,
|
|
237, 238, 239, 240, 241, 242, 243, 244, 245, 246,
|
|
247, 248, 249, 250, 251, 252, 253, 254, 255, 256,
|
|
257, 258, 259, 260, 261, 262, 263, 264, 265, 266,
|
|
267, 268, 269, 270, 271, 272, 273, 274, 275, 276,
|
|
277, 278, 279, 280, 281, 282, 283, 284, 285, 286,
|
|
287, 288, 289, 290, 291, 292, 293, 294, 295, 296,
|
|
297, 298, 299, 300, 301, 302, 303, 304, 305, 306,
|
|
307, 308, 309, 310, 311, 312, 313, 314, 315, 316,
|
|
317, 318, 319, 320, 321, 322, 323, 324, 325, 326,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, 351, -1, -1, -1, -1, -1,
|
|
-1, -1, 359, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, 373, 374, 375, 376,
|
|
377, -1, -1, -1, -1, -1, -1, -1, -1, 386,
|
|
387, 388, 389, 390, 391, 392, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, 408, 409, 410, 411, 412, 413, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, 422, -1, 424, 425, 426,
|
|
427, 428, 429, 430, 431, 432, 433, 434, 435, 436,
|
|
437, 438, 439, 440, 441, 442, 443, 444, 445, 446,
|
|
447, 448, 449, 450, 451, 452, 453, 454, 455, 3,
|
|
4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
|
|
14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
|
|
24, 25, 26, 27, 28, 29, 30, 31, 32, 33,
|
|
34, 35, 36, 37, 38, 39, 40, 41, 42, 43,
|
|
44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
|
|
54, 55, 56, 57, 58, 59, 60, 61, 62, 63,
|
|
64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
|
|
74, 75, 76, 77, 78, 79, 80, 81, 82, 83,
|
|
84, 85, 86, 87, 88, 89, 90, 91, 92, 93,
|
|
94, 95, 96, 97, 98, 99, 100, 101, 102, 103,
|
|
104, 105, 106, 107, 108, 109, 110, 111, 112, 113,
|
|
114, 115, 116, 117, 118, 119, 120, 121, 122, 123,
|
|
124, 125, 126, 127, 128, 129, 130, 131, 132, 133,
|
|
134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
|
|
144, 145, 146, 147, 148, 149, 150, 151, 152, 153,
|
|
154, 155, 156, 157, 158, 159, 160, 161, 162, 163,
|
|
164, 165, 166, 167, 168, 169, 170, 171, 172, 173,
|
|
174, 175, 176, 177, 178, 179, 180, 181, 182, 183,
|
|
184, 185, 186, 187, 188, 189, 190, 191, 192, 193,
|
|
194, 195, 196, 197, 198, 199, 200, 201, 202, 203,
|
|
204, 205, 206, 207, 208, 209, 210, 211, 212, 213,
|
|
214, 215, 216, 217, 218, 219, 220, 221, 222, 223,
|
|
224, 225, 226, 227, 228, 229, 230, 231, 232, 233,
|
|
234, 235, 236, 237, 238, 239, 240, 241, 242, 243,
|
|
244, 245, 246, 247, 248, 249, 250, 251, 252, 253,
|
|
254, 255, 256, 257, 258, 259, 260, 261, 262, 263,
|
|
264, 265, 266, 267, 268, 269, 270, 271, 272, 273,
|
|
274, 275, 276, 277, 278, 279, 280, 281, 282, 283,
|
|
284, 285, 286, 287, 288, 289, 290, 291, 292, 293,
|
|
294, 295, 296, 297, 298, 299, 300, 301, 302, 303,
|
|
304, 305, 306, 307, 308, 309, 310, 311, 312, 313,
|
|
314, 315, 316, 317, 318, 319, 320, 321, 322, 323,
|
|
324, 325, 326, -1, -1, 329, 330, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, 348, 349, -1, 351, -1, 353,
|
|
354, -1, -1, -1, -1, 359, 360, 361, 362, 363,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, 373,
|
|
374, 375, 376, 377, -1, -1, -1, 381, 382, 383,
|
|
384, 385, 386, 387, 388, 389, 390, 391, 392, 393,
|
|
394, 395, 396, -1, 398, 399, 400, 401, 402, 403,
|
|
404, 405, 406, 407, 408, 409, 410, 411, 412, 413,
|
|
414, 415, 416, 417, 418, 419, 420, 421, 422, 423,
|
|
424, 425, 426, 427, 428, 429, 430, 431, 432, 433,
|
|
434, 435, 436, 437, 438, 439, 440, 441, 442, 443,
|
|
444, 445, 446, 447, 448, 449, 450, 451, 452, 453,
|
|
454, 455, 3, 4, 5, 6, 7, 8, 9, 10,
|
|
11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
|
|
21, 22, 23, 24, 25, 26, 27, 28, 29, 30,
|
|
31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
|
|
41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
|
|
51, 52, 53, 54, 55, 56, 57, 58, 59, 60,
|
|
61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
|
|
71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
|
|
81, 82, 83, 84, 85, 86, 87, 88, 89, 90,
|
|
91, 92, 93, 94, 95, 96, 97, 98, 99, 100,
|
|
101, 102, 103, 104, 105, 106, 107, 108, 109, 110,
|
|
111, 112, 113, 114, 115, 116, 117, 118, 119, 120,
|
|
121, 122, 123, 124, 125, 126, 127, 128, 129, 130,
|
|
131, 132, 133, 134, 135, 136, 137, 138, 139, 140,
|
|
141, 142, 143, 144, 145, 146, 147, 148, 149, 150,
|
|
151, 152, 153, 154, 155, 156, 157, 158, 159, 160,
|
|
161, 162, 163, 164, 165, 166, 167, 168, 169, 170,
|
|
171, 172, 173, 174, 175, 176, 177, 178, 179, 180,
|
|
181, 182, 183, 184, 185, 186, 187, 188, 189, 190,
|
|
191, 192, 193, 194, 195, 196, 197, 198, 199, 200,
|
|
201, 202, 203, 204, 205, 206, 207, 208, 209, 210,
|
|
211, 212, 213, 214, 215, 216, 217, 218, 219, 220,
|
|
221, 222, 223, 224, 225, 226, 227, 228, 229, 230,
|
|
231, 232, 233, 234, 235, 236, 237, 238, 239, 240,
|
|
241, 242, 243, 244, 245, 246, 247, 248, 249, 250,
|
|
251, 252, 253, 254, 255, 256, 257, 258, 259, 260,
|
|
261, 262, 263, 264, 265, 266, 267, 268, 269, 270,
|
|
271, 272, 273, 274, 275, 276, 277, 278, 279, 280,
|
|
281, 282, 283, 284, 285, 286, 287, 288, 289, 290,
|
|
291, 292, 293, 294, 295, 296, 297, 298, 299, 300,
|
|
301, 302, 303, 304, 305, 306, 307, 308, 309, 310,
|
|
311, 312, 313, 314, 315, 316, 317, 318, 319, 320,
|
|
321, 322, 323, 324, 325, 326, -1, -1, 329, 330,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, 348, 349, -1,
|
|
351, -1, 353, 354, -1, -1, -1, -1, 359, 360,
|
|
361, 362, 363, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, 373, 374, 375, 376, 377, -1, -1, -1,
|
|
381, 382, 383, 384, 385, 386, 387, 388, 389, 390,
|
|
391, 392, 393, 394, 395, 396, -1, 398, 399, 400,
|
|
401, 402, 403, 404, 405, 406, 407, 408, 409, 410,
|
|
411, 412, 413, 414, 415, 416, 417, 418, 419, 420,
|
|
421, 422, 423, 424, 425, 426, 427, 428, 429, 430,
|
|
431, 432, 433, 434, 435, 436, 437, 438, 439, 440,
|
|
441, 442, 443, 444, 445, 446, 447, 448, 449, 450,
|
|
451, 452, 453, 454, 455, 3, 4, 5, 6, 7,
|
|
8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
|
|
18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
|
|
28, 29, 30, 31, 32, 33, 34, 35, 36, 37,
|
|
38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
|
|
48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
|
|
58, 59, 60, 61, 62, 63, 64, 65, 66, 67,
|
|
68, 69, 70, 71, 72, 73, 74, 75, 76, 77,
|
|
78, 79, 80, 81, 82, 83, 84, 85, 86, 87,
|
|
88, 89, 90, 91, 92, 93, 94, 95, 96, 97,
|
|
98, 99, 100, 101, 102, 103, 104, 105, 106, 107,
|
|
108, 109, 110, 111, 112, 113, 114, 115, 116, 117,
|
|
118, 119, 120, 121, 122, 123, 124, 125, 126, 127,
|
|
128, 129, 130, 131, 132, 133, 134, 135, 136, 137,
|
|
138, 139, 140, 141, 142, 143, 144, 145, 146, 147,
|
|
148, 149, 150, 151, 152, 153, 154, 155, 156, 157,
|
|
158, 159, 160, 161, 162, 163, 164, 165, 166, 167,
|
|
168, 169, 170, 171, 172, 173, 174, 175, 176, 177,
|
|
178, 179, 180, 181, 182, 183, 184, 185, 186, 187,
|
|
188, 189, 190, 191, 192, 193, 194, 195, 196, 197,
|
|
198, 199, 200, 201, 202, 203, 204, 205, 206, 207,
|
|
208, 209, 210, 211, 212, 213, 214, 215, 216, 217,
|
|
218, 219, 220, 221, 222, 223, 224, 225, 226, 227,
|
|
228, 229, 230, 231, 232, 233, 234, 235, 236, 237,
|
|
238, 239, 240, 241, 242, 243, 244, 245, 246, 247,
|
|
248, 249, 250, 251, 252, 253, 254, 255, 256, 257,
|
|
258, 259, 260, 261, 262, 263, 264, 265, 266, 267,
|
|
268, 269, 270, 271, 272, 273, 274, 275, 276, 277,
|
|
278, 279, 280, 281, 282, 283, 284, 285, 286, 287,
|
|
288, 289, 290, 291, 292, 293, 294, 295, 296, 297,
|
|
298, 299, 300, 301, 302, 303, 304, 305, 306, 307,
|
|
308, 309, 310, 311, 312, 313, 314, 315, 316, 317,
|
|
318, 319, 320, 321, 322, 323, 324, 325, 326, -1,
|
|
-1, 329, 330, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
348, 349, -1, 351, -1, 353, -1, -1, -1, -1,
|
|
-1, 359, 360, 361, 362, 363, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, 373, 374, 375, 376, 377,
|
|
-1, -1, -1, 381, 382, 383, 384, 385, 386, 387,
|
|
388, 389, 390, 391, 392, 393, 394, 395, 396, -1,
|
|
398, 399, 400, 401, 402, 403, 404, 405, 406, 407,
|
|
408, 409, 410, 411, 412, 413, 414, 415, 416, 417,
|
|
418, 419, 420, 421, 422, 423, 424, 425, 426, 427,
|
|
428, 429, 430, 431, 432, 433, 434, 435, 436, 437,
|
|
438, 439, 440, 441, 442, 443, 444, 445, 446, 447,
|
|
448, 449, 450, 451, 452, 453, 454, 455, 3, 4,
|
|
5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
|
|
15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
|
|
25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
|
|
35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
|
|
45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
|
|
55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
|
|
65, 66, 67, 68, 69, 70, 71, 72, 73, 74,
|
|
75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
|
|
85, 86, 87, 88, 89, 90, 91, 92, 93, 94,
|
|
95, 96, 97, 98, 99, 100, 101, 102, 103, 104,
|
|
105, 106, 107, 108, 109, 110, 111, 112, 113, 114,
|
|
115, 116, 117, 118, 119, 120, 121, 122, 123, 124,
|
|
125, 126, 127, 128, 129, 130, 131, 132, 133, 134,
|
|
135, 136, 137, 138, 139, 140, 141, 142, 143, 144,
|
|
145, 146, 147, 148, 149, 150, 151, 152, 153, 154,
|
|
155, 156, 157, 158, 159, 160, 161, 162, 163, 164,
|
|
165, 166, 167, 168, 169, 170, 171, 172, 173, 174,
|
|
175, 176, 177, 178, 179, 180, 181, 182, 183, 184,
|
|
185, 186, 187, 188, 189, 190, 191, 192, 193, 194,
|
|
195, 196, 197, 198, 199, 200, 201, 202, 203, 204,
|
|
205, 206, 207, 208, 209, 210, 211, 212, 213, 214,
|
|
215, 216, 217, 218, 219, 220, 221, 222, 223, 224,
|
|
225, 226, 227, 228, 229, 230, 231, 232, 233, 234,
|
|
235, 236, 237, 238, 239, 240, 241, 242, 243, 244,
|
|
245, 246, 247, 248, 249, 250, 251, 252, 253, 254,
|
|
255, 256, 257, 258, 259, 260, 261, 262, 263, 264,
|
|
265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
|
|
275, 276, 277, 278, 279, 280, 281, 282, 283, 284,
|
|
285, 286, 287, 288, 289, 290, 291, 292, 293, 294,
|
|
295, 296, 297, 298, 299, 300, 301, 302, 303, 304,
|
|
305, 306, 307, 308, 309, 310, 311, 312, 313, 314,
|
|
315, 316, 317, 318, 319, 320, 321, 322, 323, 324,
|
|
325, 326, -1, -1, 329, 330, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, 348, 349, -1, 351, -1, 353, -1,
|
|
-1, -1, -1, -1, 359, 360, 361, 362, 363, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, 373, 374,
|
|
375, 376, 377, -1, -1, -1, 381, 382, 383, 384,
|
|
385, 386, 387, 388, 389, 390, 391, 392, 393, 394,
|
|
395, 396, -1, 398, 399, 400, 401, 402, 403, 404,
|
|
405, 406, 407, 408, 409, 410, 411, 412, 413, 414,
|
|
415, 416, 417, 418, 419, 420, 421, 422, 423, 424,
|
|
425, 426, 427, 428, 429, 430, 431, 432, 433, 434,
|
|
435, 436, 437, 438, 439, 440, 441, 442, 443, 444,
|
|
445, 446, 447, 448, 449, 450, 451, 452, 453, 454,
|
|
455, 3, 4, 5, 6, 7, 8, 9, 10, 11,
|
|
12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
|
|
22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
|
|
32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
|
|
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
|
|
52, 53, 54, 55, 56, 57, 58, 59, 60, 61,
|
|
62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
|
|
72, 73, 74, 75, 76, 77, 78, 79, 80, 81,
|
|
82, 83, 84, 85, 86, 87, 88, 89, 90, 91,
|
|
92, 93, 94, 95, 96, 97, 98, 99, 100, 101,
|
|
102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
|
|
112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
|
|
122, 123, 124, 125, 126, 127, 128, 129, 130, 131,
|
|
132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
|
|
142, 143, 144, 145, 146, 147, 148, 149, 150, 151,
|
|
152, 153, 154, 155, 156, 157, 158, 159, 160, 161,
|
|
162, 163, 164, 165, 166, 167, 168, 169, 170, 171,
|
|
172, 173, 174, 175, 176, 177, 178, 179, 180, 181,
|
|
182, 183, 184, 185, 186, 187, 188, 189, 190, 191,
|
|
192, 193, 194, 195, 196, 197, 198, 199, 200, 201,
|
|
202, 203, 204, 205, 206, 207, 208, 209, 210, 211,
|
|
212, 213, 214, 215, 216, 217, 218, 219, 220, 221,
|
|
222, 223, 224, 225, 226, 227, 228, 229, 230, 231,
|
|
232, 233, 234, 235, 236, 237, 238, 239, 240, 241,
|
|
242, 243, 244, 245, 246, 247, 248, 249, 250, 251,
|
|
252, 253, 254, 255, 256, 257, 258, 259, 260, 261,
|
|
262, 263, 264, 265, 266, 267, 268, 269, 270, 271,
|
|
272, 273, 274, 275, 276, 277, 278, 279, 280, 281,
|
|
282, 283, 284, 285, 286, 287, 288, 289, 290, 291,
|
|
292, 293, 294, 295, 296, 297, 298, 299, 300, 301,
|
|
302, 303, 304, 305, 306, 307, 308, 309, 310, 311,
|
|
312, 313, 314, 315, 316, 317, 318, 319, 320, 321,
|
|
322, 323, 324, 325, 326, -1, -1, 329, 330, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, 348, 349, -1, 351,
|
|
-1, -1, -1, -1, -1, -1, -1, 359, 360, 361,
|
|
362, 363, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, 373, 374, 375, 376, 377, -1, -1, -1, 381,
|
|
382, 383, 384, 385, 386, 387, 388, 389, 390, 391,
|
|
392, 393, 394, 395, 396, -1, 398, 399, 400, 401,
|
|
402, 403, 404, 405, 406, 407, 408, 409, 410, 411,
|
|
412, 413, 414, 415, 416, 417, 418, 419, 420, 421,
|
|
422, 423, 424, 425, 426, 427, 428, 429, 430, 431,
|
|
432, 433, 434, 435, 436, 437, 438, 439, 440, 441,
|
|
442, 443, 444, 445, 446, 447, 448, 449, 450, 451,
|
|
452, 453, 454, 455, 3, 4, 5, 6, 7, 8,
|
|
9, 10, 11, 12, 13, 14, 15, 16, 17, 18,
|
|
19, 20, 21, 22, 23, 24, 25, 26, 27, 28,
|
|
29, 30, 31, 32, 33, 34, 35, 36, 37, 38,
|
|
39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
|
|
49, 50, 51, 52, 53, 54, 55, 56, 57, 58,
|
|
59, 60, 61, 62, 63, 64, 65, 66, 67, 68,
|
|
69, 70, 71, 72, 73, 74, 75, 76, 77, 78,
|
|
79, 80, 81, 82, 83, 84, 85, 86, 87, 88,
|
|
89, 90, 91, 92, 93, 94, 95, 96, 97, 98,
|
|
99, 100, 101, 102, 103, 104, 105, 106, 107, 108,
|
|
109, 110, 111, 112, 113, 114, 115, 116, 117, 118,
|
|
119, 120, 121, 122, 123, 124, 125, 126, 127, 128,
|
|
129, 130, 131, 132, 133, 134, 135, 136, 137, 138,
|
|
139, 140, 141, 142, 143, 144, 145, 146, 147, 148,
|
|
149, 150, 151, 152, 153, 154, 155, 156, 157, 158,
|
|
159, 160, 161, 162, 163, 164, 165, 166, 167, 168,
|
|
169, 170, 171, 172, 173, 174, 175, 176, 177, 178,
|
|
179, 180, 181, 182, 183, 184, 185, 186, 187, 188,
|
|
189, 190, 191, 192, 193, 194, 195, 196, 197, 198,
|
|
199, 200, 201, 202, 203, 204, 205, 206, 207, 208,
|
|
209, 210, 211, 212, 213, 214, 215, 216, 217, 218,
|
|
219, 220, 221, 222, 223, 224, 225, 226, 227, 228,
|
|
229, 230, 231, 232, 233, 234, 235, 236, 237, 238,
|
|
239, 240, 241, 242, 243, 244, 245, 246, 247, 248,
|
|
249, 250, 251, 252, 253, 254, 255, 256, 257, 258,
|
|
259, 260, 261, 262, 263, 264, 265, 266, 267, 268,
|
|
269, 270, 271, 272, 273, 274, 275, 276, 277, 278,
|
|
279, 280, 281, 282, 283, 284, 285, 286, 287, 288,
|
|
289, 290, 291, 292, 293, 294, 295, 296, 297, 298,
|
|
299, 300, 301, 302, 303, 304, 305, 306, 307, 308,
|
|
309, 310, 311, 312, 313, 314, 315, 316, 317, 318,
|
|
319, 320, 321, 322, 323, 324, 325, 326, -1, -1,
|
|
329, 330, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, 348,
|
|
349, -1, 351, -1, -1, -1, -1, -1, -1, -1,
|
|
359, 360, 361, 362, 363, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, 373, 374, 375, 376, 377, -1,
|
|
-1, -1, 381, 382, 383, 384, 385, 386, 387, 388,
|
|
389, 390, 391, 392, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, 408,
|
|
409, 410, 411, 412, 413, 414, 415, 416, 417, 418,
|
|
419, 420, 421, 422, -1, 424, 425, 426, 427, 428,
|
|
429, 430, 431, 432, 433, 434, 435, 436, 437, 438,
|
|
439, 440, 441, 442, 443, 444, 445, 446, 447, 448,
|
|
449, 450, 451, 452, 453, 454, 455, 3, 4, 5,
|
|
6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
|
|
16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
|
|
26, 27, 28, 29, 30, 31, 32, 33, 34, 35,
|
|
36, 37, 38, 39, 40, 41, 42, 43, 44, 45,
|
|
46, 47, 48, 49, 50, 51, 52, 53, 54, 55,
|
|
56, 57, 58, 59, 60, 61, 62, 63, 64, 65,
|
|
66, 67, 68, 69, 70, 71, 72, 73, 74, 75,
|
|
76, 77, 78, 79, 80, 81, 82, 83, 84, 85,
|
|
86, 87, 88, 89, 90, 91, 92, 93, 94, 95,
|
|
96, 97, 98, 99, 100, 101, 102, 103, 104, 105,
|
|
106, 107, 108, 109, 110, 111, 112, 113, 114, 115,
|
|
116, 117, 118, 119, 120, 121, 122, 123, 124, 125,
|
|
126, 127, 128, 129, 130, 131, 132, 133, 134, 135,
|
|
136, 137, 138, 139, 140, 141, 142, 143, 144, 145,
|
|
146, 147, 148, 149, 150, 151, 152, 153, 154, 155,
|
|
156, 157, 158, 159, 160, 161, 162, 163, 164, 165,
|
|
166, 167, 168, 169, 170, 171, 172, 173, 174, 175,
|
|
176, 177, 178, 179, 180, 181, 182, 183, 184, 185,
|
|
186, 187, 188, 189, 190, 191, 192, 193, 194, 195,
|
|
196, 197, 198, 199, 200, 201, 202, 203, 204, 205,
|
|
206, 207, 208, 209, 210, 211, 212, 213, 214, 215,
|
|
216, 217, 218, 219, 220, 221, 222, 223, 224, 225,
|
|
226, 227, 228, 229, 230, 231, 232, 233, 234, 235,
|
|
236, 237, 238, 239, 240, 241, 242, 243, 244, 245,
|
|
246, 247, 248, 249, 250, 251, 252, 253, 254, 255,
|
|
256, 257, 258, 259, 260, 261, 262, 263, 264, 265,
|
|
266, 267, 268, 269, 270, 271, 272, 273, 274, 275,
|
|
276, 277, 278, 279, 280, 281, 282, 283, 284, 285,
|
|
286, 287, 288, 289, 290, 291, 292, 293, 294, 295,
|
|
296, 297, 298, 299, 300, 301, 302, 303, 304, 305,
|
|
306, 307, 308, 309, 310, 311, 312, 313, 314, 315,
|
|
316, -1, -1, -1, 320, 321, 322, 323, 324, 325,
|
|
326, -1, -1, 329, 330, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, 348, 349, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, 360, 361, 362, 363, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, 373, 374, 375,
|
|
376, -1, -1, -1, -1, 381, 382, 383, 384, 385,
|
|
386, 387, 388, 389, 390, 391, 392, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, 408, 409, 410, 411, 412, 413, 414, 415,
|
|
416, 417, 418, 419, 420, 421, 422, -1, 424, 425,
|
|
426, 427, 428, 429, 430, 431, 432, 433, 434, 435,
|
|
436, 437, 438, 439, 440, 441, 442, 443, 444, 445,
|
|
446, 447, 448, 449, 450, 451, 452, 453, 454, 455,
|
|
3, 4, 5, 6, 7, 8, 9, 10, 11, 12,
|
|
13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
|
|
23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
|
|
33, 34, 35, 36, 37, 38, 39, 40, 41, 42,
|
|
43, 44, 45, 46, 47, 48, 49, 50, 51, 52,
|
|
53, 54, 55, 56, 57, 58, 59, 60, 61, 62,
|
|
63, 64, 65, 66, 67, 68, 69, 70, 71, 72,
|
|
73, 74, 75, 76, 77, 78, 79, 80, 81, 82,
|
|
83, 84, 85, 86, 87, 88, 89, 90, 91, 92,
|
|
93, 94, 95, 96, 97, 98, 99, 100, 101, 102,
|
|
103, 104, 105, 106, 107, 108, 109, 110, 111, 112,
|
|
113, 114, 115, 116, 117, 118, 119, 120, 121, 122,
|
|
123, 124, 125, 126, 127, 128, 129, 130, 131, 132,
|
|
133, 134, 135, 136, 137, 138, 139, 140, 141, 142,
|
|
143, 144, 145, 146, 147, 148, 149, 150, 151, 152,
|
|
153, 154, 155, 156, 157, 158, 159, 160, 161, 162,
|
|
163, 164, 165, 166, 167, 168, 169, 170, 171, 172,
|
|
173, 174, 175, 176, 177, 178, 179, 180, 181, 182,
|
|
183, 184, 185, 186, 187, 188, 189, 190, 191, 192,
|
|
193, 194, 195, 196, 197, 198, 199, 200, 201, 202,
|
|
203, 204, 205, 206, 207, 208, 209, 210, 211, 212,
|
|
213, 214, 215, 216, 217, 218, 219, 220, 221, 222,
|
|
223, 224, 225, 226, 227, 228, 229, 230, 231, 232,
|
|
233, 234, 235, 236, 237, 238, 239, 240, 241, 242,
|
|
243, 244, 245, 246, 247, 248, 249, 250, 251, 252,
|
|
253, 254, 255, 256, 257, 258, 259, 260, 261, 262,
|
|
263, 264, 265, 266, 267, 268, 269, 270, 271, 272,
|
|
273, 274, 275, 276, 277, 278, 279, 280, 281, 282,
|
|
283, 284, 285, 286, 287, 288, 289, 290, 291, 292,
|
|
293, 294, 295, 296, 297, 298, 299, 300, 301, 302,
|
|
303, 304, 305, 306, 307, 308, 309, 310, 311, 312,
|
|
313, 314, 315, 316, 317, 318, 319, 320, 321, 322,
|
|
323, 324, 325, 326, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, 351, -1,
|
|
-1, -1, -1, -1, -1, -1, 359, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
373, 374, 375, 376, 377, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, 386, 387, 388, 389, 390, 391, 392,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, 408, 409, 410, 411, 412,
|
|
413, -1, -1, -1, -1, -1, -1, -1, -1, 422,
|
|
-1, 424, 425, 426, 427, 428, 429, 430, 431, 432,
|
|
433, 434, 435, 436, 437, 438, 439, 440, 441, 442,
|
|
443, 444, 445, 446, 447, 448, 449, 450, 451, 452,
|
|
453, 454, 455, 3, 4, 5, 6, 7, 8, 9,
|
|
10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
|
|
20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
|
|
30, 31, 32, 33, 34, 35, 36, 37, 38, 39,
|
|
40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
|
|
50, 51, 52, 53, 54, 55, 56, 57, 58, 59,
|
|
60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
|
|
70, 71, 72, 73, 74, 75, 76, 77, 78, 79,
|
|
80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
|
|
90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
|
|
100, 101, 102, 103, 104, 105, 106, 107, 108, 109,
|
|
110, 111, 112, 113, 114, 115, 116, 117, 118, 119,
|
|
120, 121, 122, 123, 124, 125, 126, 127, 128, 129,
|
|
130, 131, 132, 133, 134, 135, 136, 137, 138, 139,
|
|
140, 141, 142, 143, 144, 145, 146, 147, 148, 149,
|
|
150, 151, 152, 153, 154, 155, 156, 157, 158, 159,
|
|
160, 161, 162, 163, 164, 165, 166, 167, 168, 169,
|
|
170, 171, 172, 173, 174, 175, 176, 177, 178, 179,
|
|
180, 181, 182, 183, 184, 185, 186, 187, 188, 189,
|
|
190, 191, 192, 193, 194, 195, 196, 197, 198, 199,
|
|
200, 201, 202, 203, 204, 205, 206, 207, 208, 209,
|
|
210, 211, 212, 213, 214, 215, 216, 217, 218, 219,
|
|
220, 221, 222, 223, 224, 225, 226, 227, 228, 229,
|
|
230, 231, 232, 233, 234, 235, 236, 237, 238, 239,
|
|
240, 241, 242, 243, 244, 245, 246, 247, 248, 249,
|
|
250, 251, 252, 253, 254, 255, 256, 257, 258, 259,
|
|
260, 261, 262, 263, 264, 265, 266, 267, 268, 269,
|
|
270, 271, 272, 273, 274, 275, 276, 277, 278, 279,
|
|
280, 281, 282, 283, 284, 285, 286, 287, 288, 289,
|
|
290, 291, 292, 293, 294, 295, 296, 297, 298, 299,
|
|
300, 301, 302, 303, 304, 305, 306, 307, 308, 309,
|
|
310, 311, 312, 313, 314, 315, 316, -1, -1, -1,
|
|
320, 321, 322, 323, 324, 325, 326, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, 373, 374, 375, 376, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, 386, 387, 388, 389,
|
|
390, 391, 392, 393, -1, -1, 396, -1, 398, 399,
|
|
-1, -1, 402, -1, -1, -1, -1, -1, 408, 409,
|
|
410, 411, 412, 413, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, 422, -1, 424, 425, 426, 427, 428, 429,
|
|
430, 431, 432, 433, 434, 435, 436, 437, 438, 439,
|
|
440, 441, 442, 443, 444, 445, 446, 447, 448, 449,
|
|
450, 451, 452, 453, 454, 455, 3, 4, 5, 6,
|
|
7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
|
|
17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
|
|
27, 28, 29, 30, 31, 32, 33, 34, 35, 36,
|
|
37, 38, 39, 40, 41, 42, 43, 44, 45, 46,
|
|
47, 48, 49, 50, 51, 52, 53, 54, 55, 56,
|
|
57, 58, 59, 60, 61, 62, 63, 64, 65, 66,
|
|
67, 68, 69, 70, 71, 72, 73, 74, 75, 76,
|
|
77, 78, 79, 80, 81, 82, 83, 84, 85, 86,
|
|
87, 88, 89, 90, 91, 92, 93, 94, 95, 96,
|
|
97, 98, 99, 100, 101, 102, 103, 104, 105, 106,
|
|
107, 108, 109, 110, 111, 112, 113, 114, 115, 116,
|
|
117, 118, 119, 120, 121, 122, 123, 124, 125, 126,
|
|
127, 128, 129, 130, 131, 132, 133, 134, 135, 136,
|
|
137, 138, 139, 140, 141, 142, 143, 144, 145, 146,
|
|
147, 148, 149, 150, 151, 152, 153, 154, 155, 156,
|
|
157, 158, 159, 160, 161, 162, 163, 164, 165, 166,
|
|
167, 168, 169, 170, 171, 172, 173, 174, 175, 176,
|
|
177, 178, 179, 180, 181, 182, 183, 184, 185, 186,
|
|
187, 188, 189, 190, 191, 192, 193, 194, 195, 196,
|
|
197, 198, 199, 200, 201, 202, 203, 204, 205, 206,
|
|
207, 208, 209, 210, 211, 212, 213, 214, 215, 216,
|
|
217, 218, 219, 220, 221, 222, 223, 224, 225, 226,
|
|
227, 228, 229, 230, 231, 232, 233, 234, 235, 236,
|
|
237, 238, 239, 240, 241, 242, 243, 244, 245, 246,
|
|
247, 248, 249, 250, 251, 252, 253, 254, 255, 256,
|
|
257, 258, 259, 260, 261, 262, 263, 264, 265, 266,
|
|
267, 268, 269, 270, 271, 272, 273, 274, 275, 276,
|
|
277, 278, 279, 280, 281, 282, 283, 284, 285, 286,
|
|
287, 288, 289, 290, 291, 292, 293, 294, 295, 296,
|
|
297, 298, 299, 300, 301, 302, 303, 304, 305, 306,
|
|
307, 308, 309, 310, 311, 312, 313, 314, 315, 316,
|
|
-1, -1, -1, 320, 321, 322, 323, 324, 325, 326,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, 359, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, 373, 374, 375, 376,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, 385, 386,
|
|
387, 388, 389, 390, 391, 392, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, 408, 409, 410, 411, 412, 413, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, 422, -1, 424, 425, 426,
|
|
427, 428, 429, 430, 431, 432, 433, 434, 435, 436,
|
|
437, 438, 439, 440, 441, 442, 443, 444, 445, 446,
|
|
447, 448, 449, 450, 451, 452, 453, 454, 455, 3,
|
|
4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
|
|
14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
|
|
24, 25, 26, 27, 28, 29, 30, 31, 32, 33,
|
|
34, 35, 36, 37, 38, 39, 40, 41, 42, 43,
|
|
44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
|
|
54, 55, 56, 57, 58, 59, 60, 61, 62, 63,
|
|
64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
|
|
74, 75, 76, 77, 78, 79, 80, 81, 82, 83,
|
|
84, 85, 86, 87, 88, 89, 90, 91, 92, 93,
|
|
94, 95, 96, 97, 98, 99, 100, 101, 102, 103,
|
|
104, 105, 106, 107, 108, 109, 110, 111, 112, 113,
|
|
114, 115, 116, 117, 118, 119, 120, 121, 122, 123,
|
|
124, 125, 126, 127, 128, 129, 130, 131, 132, 133,
|
|
134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
|
|
144, 145, 146, 147, 148, 149, 150, 151, 152, 153,
|
|
154, 155, 156, 157, 158, 159, 160, 161, 162, 163,
|
|
164, 165, 166, 167, 168, 169, 170, 171, 172, 173,
|
|
174, 175, 176, 177, 178, 179, 180, 181, 182, 183,
|
|
184, 185, 186, 187, 188, 189, 190, 191, 192, 193,
|
|
194, 195, 196, 197, 198, 199, 200, 201, 202, 203,
|
|
204, 205, 206, 207, 208, 209, 210, 211, 212, 213,
|
|
214, 215, 216, 217, 218, 219, 220, 221, 222, 223,
|
|
224, 225, 226, 227, 228, 229, 230, 231, 232, 233,
|
|
234, 235, 236, 237, 238, 239, 240, 241, 242, 243,
|
|
244, 245, 246, 247, 248, 249, 250, 251, 252, 253,
|
|
254, 255, 256, 257, 258, 259, 260, 261, 262, 263,
|
|
264, 265, 266, 267, 268, 269, 270, 271, 272, 273,
|
|
274, 275, 276, 277, 278, 279, 280, 281, 282, 283,
|
|
284, 285, 286, 287, 288, 289, 290, 291, 292, 293,
|
|
294, 295, 296, 297, 298, 299, 300, 301, 302, 303,
|
|
304, 305, 306, 307, 308, 309, 310, 311, 312, 313,
|
|
314, 315, 316, -1, -1, -1, 320, 321, 322, 323,
|
|
324, 325, 326, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, 351, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, 373,
|
|
374, 375, 376, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, 386, 387, 388, 389, 390, 391, 392, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, 408, 409, 410, 411, 412, 413,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, 422, -1,
|
|
424, 425, 426, 427, 428, 429, 430, 431, 432, 433,
|
|
434, 435, 436, 437, 438, 439, 440, 441, 442, 443,
|
|
444, 445, 446, 447, 448, 449, 450, 451, 452, 453,
|
|
454, 455, 3, 4, 5, 6, 7, 8, 9, 10,
|
|
11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
|
|
21, 22, 23, 24, 25, 26, 27, 28, 29, 30,
|
|
31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
|
|
41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
|
|
51, 52, 53, 54, 55, 56, 57, 58, 59, 60,
|
|
61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
|
|
71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
|
|
81, 82, 83, 84, 85, 86, 87, 88, 89, 90,
|
|
91, 92, 93, 94, 95, 96, 97, 98, 99, 100,
|
|
101, 102, 103, 104, 105, 106, 107, 108, 109, 110,
|
|
111, 112, 113, 114, 115, 116, 117, 118, 119, 120,
|
|
121, 122, 123, 124, 125, 126, 127, 128, 129, 130,
|
|
131, 132, 133, 134, 135, 136, 137, 138, 139, 140,
|
|
141, 142, 143, 144, 145, 146, 147, 148, 149, 150,
|
|
151, 152, 153, 154, 155, 156, 157, 158, 159, 160,
|
|
161, 162, 163, 164, 165, 166, 167, 168, 169, 170,
|
|
171, 172, 173, 174, 175, 176, 177, 178, 179, 180,
|
|
181, 182, 183, 184, 185, 186, 187, 188, 189, 190,
|
|
191, 192, 193, 194, 195, 196, 197, 198, 199, 200,
|
|
201, 202, 203, 204, 205, 206, 207, 208, 209, 210,
|
|
211, 212, 213, 214, 215, 216, 217, 218, 219, 220,
|
|
221, 222, 223, 224, 225, 226, 227, 228, 229, 230,
|
|
231, 232, 233, 234, 235, 236, 237, 238, 239, 240,
|
|
241, 242, 243, 244, 245, 246, 247, 248, 249, 250,
|
|
251, 252, 253, 254, 255, 256, 257, 258, 259, 260,
|
|
261, 262, 263, 264, 265, 266, 267, 268, 269, 270,
|
|
271, 272, 273, 274, 275, 276, 277, 278, 279, 280,
|
|
281, 282, 283, 284, 285, 286, 287, 288, 289, 290,
|
|
291, 292, 293, 294, 295, 296, 297, 298, 299, 300,
|
|
301, 302, 303, 304, 305, 306, 307, 308, 309, 310,
|
|
311, 312, 313, 314, 315, 316, -1, -1, -1, 320,
|
|
321, 322, 323, 324, 325, 326, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, 354, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, 373, 374, 375, 376, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, 386, 387, 388, 389, 390,
|
|
391, 392, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, 408, 409, 410,
|
|
411, 412, 413, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, 422, -1, 424, 425, 426, 427, 428, 429, 430,
|
|
431, 432, 433, 434, 435, 436, 437, 438, 439, 440,
|
|
441, 442, 443, 444, 445, 446, 447, 448, 449, 450,
|
|
451, 452, 453, 454, 455, 3, 4, 5, 6, 7,
|
|
8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
|
|
18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
|
|
28, 29, 30, 31, 32, 33, 34, 35, 36, 37,
|
|
38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
|
|
48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
|
|
58, 59, 60, 61, 62, 63, 64, 65, 66, 67,
|
|
68, 69, 70, 71, 72, 73, 74, 75, 76, 77,
|
|
78, 79, 80, 81, 82, 83, 84, 85, 86, 87,
|
|
88, 89, 90, 91, 92, 93, 94, 95, 96, 97,
|
|
98, 99, 100, 101, 102, 103, 104, 105, 106, 107,
|
|
108, 109, 110, 111, 112, 113, 114, 115, 116, 117,
|
|
118, 119, 120, 121, 122, 123, 124, 125, 126, 127,
|
|
128, 129, 130, 131, 132, 133, 134, 135, 136, 137,
|
|
138, 139, 140, 141, 142, 143, 144, 145, 146, 147,
|
|
148, 149, 150, 151, 152, 153, 154, 155, 156, 157,
|
|
158, 159, 160, 161, 162, 163, 164, 165, 166, 167,
|
|
168, 169, 170, 171, 172, 173, 174, 175, 176, 177,
|
|
178, 179, 180, 181, 182, 183, 184, 185, 186, 187,
|
|
188, 189, 190, 191, 192, 193, 194, 195, 196, 197,
|
|
198, 199, 200, 201, 202, 203, 204, 205, 206, 207,
|
|
208, 209, 210, 211, 212, 213, 214, 215, 216, 217,
|
|
218, 219, 220, 221, 222, 223, 224, 225, 226, 227,
|
|
228, 229, 230, 231, 232, 233, 234, 235, 236, 237,
|
|
238, 239, 240, 241, 242, 243, 244, 245, 246, 247,
|
|
248, 249, 250, 251, 252, 253, 254, 255, 256, 257,
|
|
258, 259, 260, 261, 262, 263, 264, 265, 266, 267,
|
|
268, 269, 270, 271, 272, 273, 274, 275, 276, 277,
|
|
278, 279, 280, 281, 282, 283, 284, 285, 286, 287,
|
|
288, 289, 290, 291, 292, 293, 294, 295, 296, 297,
|
|
298, 299, 300, 301, 302, 303, 304, 305, 306, 307,
|
|
308, 309, 310, 311, 312, 313, 314, 315, 316, -1,
|
|
-1, -1, 320, 321, 322, 323, 324, 325, 326, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, 354, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, 373, 374, 375, 376, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, 386, 387,
|
|
388, 389, 390, 391, 392, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
408, 409, 410, 411, 412, 413, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, 422, -1, 424, 425, 426, 427,
|
|
428, 429, 430, 431, 432, 433, 434, 435, 436, 437,
|
|
438, 439, 440, 441, 442, 443, 444, 445, 446, 447,
|
|
448, 449, 450, 451, 452, 453, 454, 455, 3, 4,
|
|
5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
|
|
15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
|
|
25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
|
|
35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
|
|
45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
|
|
55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
|
|
65, 66, 67, 68, 69, 70, 71, 72, 73, 74,
|
|
75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
|
|
85, 86, 87, 88, 89, 90, 91, 92, 93, 94,
|
|
95, 96, 97, 98, 99, 100, 101, 102, 103, 104,
|
|
105, 106, 107, 108, 109, 110, 111, 112, 113, 114,
|
|
115, 116, 117, 118, 119, 120, 121, 122, 123, 124,
|
|
125, 126, 127, 128, 129, 130, 131, 132, 133, 134,
|
|
135, 136, 137, 138, 139, 140, 141, 142, 143, 144,
|
|
145, 146, 147, 148, 149, 150, 151, 152, 153, 154,
|
|
155, 156, 157, 158, 159, 160, 161, 162, 163, 164,
|
|
165, 166, 167, 168, 169, 170, 171, 172, 173, 174,
|
|
175, 176, 177, 178, 179, 180, 181, 182, 183, 184,
|
|
185, 186, 187, 188, 189, 190, 191, 192, 193, 194,
|
|
195, 196, 197, 198, 199, 200, 201, 202, 203, 204,
|
|
205, 206, 207, 208, 209, 210, 211, 212, 213, 214,
|
|
215, 216, 217, 218, 219, 220, 221, 222, 223, 224,
|
|
225, 226, 227, 228, 229, 230, 231, 232, 233, 234,
|
|
235, 236, 237, 238, 239, 240, 241, 242, 243, 244,
|
|
245, 246, 247, 248, 249, 250, 251, 252, 253, 254,
|
|
255, 256, 257, 258, 259, 260, 261, 262, 263, 264,
|
|
265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
|
|
275, 276, 277, 278, 279, 280, 281, 282, 283, 284,
|
|
285, 286, 287, 288, 289, 290, 291, 292, 293, 294,
|
|
295, 296, 297, 298, 299, 300, 301, 302, 303, 304,
|
|
305, 306, 307, 308, 309, 310, 311, 312, 313, 314,
|
|
315, 316, -1, -1, -1, 320, 321, 322, 323, 324,
|
|
325, 326, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, 354,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, 373, 374,
|
|
375, 376, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, 386, 387, 388, 389, 390, 391, 392, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, 408, 409, 410, 411, 412, 413, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, 422, -1, 424,
|
|
425, 426, 427, 428, 429, 430, 431, 432, 433, 434,
|
|
435, 436, 437, 438, 439, 440, 441, 442, 443, 444,
|
|
445, 446, 447, 448, 449, 450, 451, 452, 453, 454,
|
|
455, 3, 4, 5, 6, 7, 8, 9, 10, 11,
|
|
12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
|
|
22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
|
|
32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
|
|
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
|
|
52, 53, 54, 55, 56, 57, 58, 59, 60, 61,
|
|
62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
|
|
72, 73, 74, 75, 76, 77, 78, 79, 80, 81,
|
|
82, 83, 84, 85, 86, 87, 88, 89, 90, 91,
|
|
92, 93, 94, 95, 96, 97, 98, 99, 100, 101,
|
|
102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
|
|
112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
|
|
122, 123, 124, 125, 126, 127, 128, 129, 130, 131,
|
|
132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
|
|
142, 143, 144, 145, 146, 147, 148, 149, 150, 151,
|
|
152, 153, 154, 155, 156, 157, 158, 159, 160, 161,
|
|
162, 163, 164, 165, 166, 167, 168, 169, 170, 171,
|
|
172, 173, 174, 175, 176, 177, 178, 179, 180, 181,
|
|
182, 183, 184, 185, 186, 187, 188, 189, 190, 191,
|
|
192, 193, 194, 195, 196, 197, 198, 199, 200, 201,
|
|
202, 203, 204, 205, 206, 207, 208, 209, 210, 211,
|
|
212, 213, 214, 215, 216, 217, 218, 219, 220, 221,
|
|
222, 223, 224, 225, 226, 227, 228, 229, 230, 231,
|
|
232, 233, 234, 235, 236, 237, 238, 239, 240, 241,
|
|
242, 243, 244, 245, 246, 247, 248, 249, 250, 251,
|
|
252, 253, 254, 255, 256, 257, 258, 259, 260, 261,
|
|
262, 263, 264, 265, 266, 267, 268, 269, 270, 271,
|
|
272, 273, 274, 275, 276, 277, 278, 279, 280, 281,
|
|
282, 283, 284, 285, 286, 287, 288, 289, 290, 291,
|
|
292, 293, 294, 295, 296, 297, 298, 299, 300, 301,
|
|
302, 303, 304, 305, 306, 307, 308, 309, 310, 311,
|
|
312, 313, 314, 315, 316, -1, -1, -1, 320, 321,
|
|
322, 323, 324, 325, 326, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, 373, 374, 375, 376, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, 386, 387, 388, 389, 390, 391,
|
|
392, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, 408, 409, 410, 411,
|
|
412, 413, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
422, -1, 424, 425, 426, 427, 428, 429, 430, 431,
|
|
432, 433, 434, 435, 436, 437, 438, 439, 440, 441,
|
|
442, 443, 444, 445, 446, 447, 448, 449, 450, 451,
|
|
452, 453, 454, 455, 4, 5, 6, 7, 8, 9,
|
|
10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
|
|
20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
|
|
30, 31, 32, 33, 34, 35, 36, 37, 38, 39,
|
|
40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
|
|
50, 51, 52, 53, 54, 55, 56, 57, 58, 59,
|
|
60, -1, -1, 63, 64, 65, 66, 67, 68, 69,
|
|
70, 71, 72, 73, 74, 75, 76, 77, 78, 79,
|
|
80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
|
|
90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
|
|
100, 101, 102, 103, 104, 105, 106, 107, 108, 109,
|
|
110, 111, 112, 113, 114, 115, 116, 117, 118, 119,
|
|
120, 121, 122, 123, 124, 125, 126, 127, 128, 129,
|
|
130, 131, 132, 133, 134, 135, 136, 137, 138, 139,
|
|
140, 141, 142, 143, 144, 145, 146, 147, 148, 149,
|
|
150, 151, 152, 153, 154, 155, 156, 157, 158, 159,
|
|
160, 161, 162, 163, 164, 165, 166, 167, 168, 169,
|
|
170, 171, 172, 173, 174, 175, 176, 177, 178, 179,
|
|
180, 181, 182, 183, 184, 185, 186, 187, 188, 189,
|
|
190, 191, 192, 193, 194, 195, 196, 197, 198, 199,
|
|
200, 201, 202, 203, 204, 205, 206, 207, 208, 209,
|
|
210, 211, 212, 213, 214, 215, 216, 217, 218, 219,
|
|
220, 221, 222, 223, 224, 225, 226, 227, 228, 229,
|
|
230, 231, 232, 233, 234, 235, 236, 237, 238, 239,
|
|
240, 241, 242, 243, 244, 245, 246, 247, 248, 249,
|
|
250, 251, 252, 253, 254, 255, 256, 257, 258, 259,
|
|
260, 261, 262, 263, 264, 265, 266, 267, 268, 269,
|
|
270, 271, 272, 273, 274, 275, 276, 277, 278, 279,
|
|
280, 281, 282, 283, 284, 285, 286, 287, 288, 289,
|
|
290, 291, 292, 293, 294, 295, 296, 297, 298, 299,
|
|
300, 301, 302, 303, 304, 305, 306, 307, 308, 309,
|
|
310, 311, 312, 313, 314, 315, 316, -1, -1, -1,
|
|
-1, -1, -1, 323, -1, -1, -1, -1, -1, 329,
|
|
330, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, 348, 349,
|
|
-1, -1, -1, 353, 354, -1, -1, -1, -1, -1,
|
|
360, 361, 362, 363, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, 381, 382, 383, 384, 385, 386, -1, -1, -1,
|
|
-1, 391, 392, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, 414, 415, 416, 417, 418, 419,
|
|
420, 421, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, 436, 4, 5, 6,
|
|
7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
|
|
17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
|
|
27, 28, 29, 30, 31, 32, 33, 34, 35, 36,
|
|
37, 38, 39, 40, 41, 42, 43, 44, 45, 46,
|
|
47, 48, 49, 50, 51, 52, 53, 54, 55, 56,
|
|
57, 58, 59, 60, -1, -1, 63, 64, 65, 66,
|
|
67, 68, 69, 70, 71, 72, 73, 74, 75, 76,
|
|
77, 78, 79, 80, 81, 82, 83, 84, 85, 86,
|
|
87, 88, 89, 90, 91, 92, 93, 94, 95, 96,
|
|
97, 98, 99, 100, 101, 102, 103, 104, 105, 106,
|
|
107, 108, 109, 110, 111, 112, 113, 114, 115, 116,
|
|
117, 118, 119, 120, 121, 122, 123, 124, 125, 126,
|
|
127, 128, 129, 130, 131, 132, 133, 134, 135, 136,
|
|
137, 138, 139, 140, 141, 142, 143, 144, 145, 146,
|
|
147, 148, 149, 150, 151, 152, 153, 154, 155, 156,
|
|
157, 158, 159, 160, 161, 162, 163, 164, 165, 166,
|
|
167, 168, 169, 170, 171, 172, 173, 174, 175, 176,
|
|
177, 178, 179, 180, 181, 182, 183, 184, 185, 186,
|
|
187, 188, 189, 190, 191, 192, 193, 194, 195, 196,
|
|
197, 198, 199, 200, 201, 202, 203, 204, 205, 206,
|
|
207, 208, 209, 210, 211, 212, 213, 214, 215, 216,
|
|
217, 218, 219, 220, 221, 222, 223, 224, 225, 226,
|
|
227, 228, 229, 230, 231, 232, 233, 234, 235, 236,
|
|
237, 238, 239, 240, 241, 242, 243, 244, 245, 246,
|
|
247, 248, 249, 250, 251, 252, 253, 254, 255, 256,
|
|
257, 258, 259, 260, 261, 262, 263, 264, 265, 266,
|
|
267, 268, 269, 270, 271, 272, 273, 274, 275, 276,
|
|
277, 278, 279, 280, 281, 282, 283, 284, 285, 286,
|
|
287, 288, 289, 290, 291, 292, 293, 294, 295, 296,
|
|
297, 298, 299, 300, 301, 302, 303, 304, 305, 306,
|
|
307, 308, 309, 310, 311, 312, 313, 314, 315, 316,
|
|
-1, -1, -1, -1, -1, -1, 323, -1, -1, -1,
|
|
-1, -1, 329, 330, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, 348, 349, -1, -1, -1, 353, 354, -1, -1,
|
|
-1, -1, -1, 360, 361, 362, 363, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, 381, 382, 383, 384, 385, 386,
|
|
-1, -1, -1, -1, 391, 392, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, 414, 415, 416,
|
|
417, 418, 419, 420, 421, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, 436,
|
|
4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
|
|
14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
|
|
24, 25, 26, 27, 28, 29, 30, 31, 32, 33,
|
|
34, 35, 36, 37, 38, 39, 40, 41, 42, 43,
|
|
44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
|
|
54, 55, 56, 57, 58, 59, 60, -1, -1, 63,
|
|
64, 65, 66, 67, 68, 69, 70, 71, 72, 73,
|
|
74, 75, 76, 77, 78, 79, 80, 81, 82, 83,
|
|
84, 85, 86, 87, 88, 89, 90, 91, 92, 93,
|
|
94, 95, 96, 97, 98, 99, 100, 101, 102, 103,
|
|
104, 105, 106, 107, 108, 109, 110, 111, 112, 113,
|
|
114, 115, 116, 117, 118, 119, 120, 121, 122, 123,
|
|
124, 125, 126, 127, 128, 129, 130, 131, 132, 133,
|
|
134, 135, 136, 137, 138, 139, 140, 141, 142, 143,
|
|
144, 145, 146, 147, 148, 149, 150, 151, 152, 153,
|
|
154, 155, 156, 157, 158, 159, 160, 161, 162, 163,
|
|
164, 165, 166, 167, 168, 169, 170, 171, 172, 173,
|
|
174, 175, 176, 177, 178, 179, 180, 181, 182, 183,
|
|
184, 185, 186, 187, 188, 189, 190, 191, 192, 193,
|
|
194, 195, 196, 197, 198, 199, 200, 201, 202, 203,
|
|
204, 205, 206, 207, 208, 209, 210, 211, 212, 213,
|
|
214, 215, 216, 217, 218, 219, 220, 221, 222, 223,
|
|
224, 225, 226, 227, 228, 229, 230, 231, 232, 233,
|
|
234, 235, 236, 237, 238, 239, 240, 241, 242, 243,
|
|
244, 245, 246, 247, 248, 249, 250, 251, 252, 253,
|
|
254, 255, 256, 257, 258, 259, 260, 261, 262, 263,
|
|
264, 265, 266, 267, 268, 269, 270, 271, 272, 273,
|
|
274, 275, 276, 277, 278, 279, 280, 281, 282, 283,
|
|
284, 285, 286, 287, 288, 289, 290, 291, 292, 293,
|
|
294, 295, 296, 297, 298, 299, 300, 301, 302, 303,
|
|
304, 305, 306, 307, 308, 309, 310, 311, 312, 313,
|
|
314, 315, 316, -1, -1, -1, -1, -1, -1, 323,
|
|
-1, -1, -1, -1, -1, 329, 330, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, 348, 349, -1, -1, 352, -1,
|
|
-1, -1, -1, -1, -1, -1, 360, 361, 362, 363,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, 381, 382, 383,
|
|
384, 385, 386, -1, -1, -1, -1, 391, 392, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
414, 415, 416, 417, 418, 419, 420, 421, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, 436, 4, 5, 6, 7, 8, 9, 10,
|
|
11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
|
|
21, 22, 23, 24, 25, 26, 27, 28, 29, 30,
|
|
31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
|
|
41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
|
|
51, 52, 53, 54, 55, 56, 57, 58, 59, 60,
|
|
-1, -1, 63, 64, 65, 66, 67, 68, 69, 70,
|
|
71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
|
|
81, 82, 83, 84, 85, 86, 87, 88, 89, 90,
|
|
91, 92, 93, 94, 95, 96, 97, 98, 99, 100,
|
|
101, 102, 103, 104, 105, 106, 107, 108, 109, 110,
|
|
111, 112, 113, 114, 115, 116, 117, 118, 119, 120,
|
|
121, 122, 123, 124, 125, 126, 127, 128, 129, 130,
|
|
131, 132, 133, 134, 135, 136, 137, 138, 139, 140,
|
|
141, 142, 143, 144, 145, 146, 147, 148, 149, 150,
|
|
151, 152, 153, 154, 155, 156, 157, 158, 159, 160,
|
|
161, 162, 163, 164, 165, 166, 167, 168, 169, 170,
|
|
171, 172, 173, 174, 175, 176, 177, 178, 179, 180,
|
|
181, 182, 183, 184, 185, 186, 187, 188, 189, 190,
|
|
191, 192, 193, 194, 195, 196, 197, 198, 199, 200,
|
|
201, 202, 203, 204, 205, 206, 207, 208, 209, 210,
|
|
211, 212, 213, 214, 215, 216, 217, 218, 219, 220,
|
|
221, 222, 223, 224, 225, 226, 227, 228, 229, 230,
|
|
231, 232, 233, 234, 235, 236, 237, 238, 239, 240,
|
|
241, 242, 243, 244, 245, 246, 247, 248, 249, 250,
|
|
251, 252, 253, 254, 255, 256, 257, 258, 259, 260,
|
|
261, 262, 263, 264, 265, 266, 267, 268, 269, 270,
|
|
271, 272, 273, 274, 275, 276, 277, 278, 279, 280,
|
|
281, 282, 283, 284, 285, 286, 287, 288, 289, 290,
|
|
291, 292, 293, 294, 295, 296, 297, 298, 299, 300,
|
|
301, 302, 303, 304, 305, 306, 307, 308, 309, 310,
|
|
311, 312, 313, 314, 315, 316, -1, -1, -1, -1,
|
|
-1, -1, 323, -1, -1, -1, -1, -1, 329, 330,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, 348, 349, -1,
|
|
-1, -1, 353, -1, -1, -1, -1, -1, -1, 360,
|
|
361, 362, 363, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
381, 382, 383, 384, 385, 386, -1, -1, -1, -1,
|
|
391, 392, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, 414, 415, 416, 417, 418, 419, 420,
|
|
421, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, 436, 4, 5, 6, 7,
|
|
8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
|
|
18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
|
|
28, 29, 30, 31, 32, 33, 34, 35, 36, 37,
|
|
38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
|
|
48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
|
|
58, 59, 60, -1, -1, 63, 64, 65, 66, 67,
|
|
68, 69, 70, 71, 72, 73, 74, 75, 76, 77,
|
|
78, 79, 80, 81, 82, 83, 84, 85, 86, 87,
|
|
88, 89, 90, 91, 92, 93, 94, 95, 96, 97,
|
|
98, 99, 100, 101, 102, 103, 104, 105, 106, 107,
|
|
108, 109, 110, 111, 112, 113, 114, 115, 116, 117,
|
|
118, 119, 120, 121, 122, 123, 124, 125, 126, 127,
|
|
128, 129, 130, 131, 132, 133, 134, 135, 136, 137,
|
|
138, 139, 140, 141, 142, 143, 144, 145, 146, 147,
|
|
148, 149, 150, 151, 152, 153, 154, 155, 156, 157,
|
|
158, 159, 160, 161, 162, 163, 164, 165, 166, 167,
|
|
168, 169, 170, 171, 172, 173, 174, 175, 176, 177,
|
|
178, 179, 180, 181, 182, 183, 184, 185, 186, 187,
|
|
188, 189, 190, 191, 192, 193, 194, 195, 196, 197,
|
|
198, 199, 200, 201, 202, 203, 204, 205, 206, 207,
|
|
208, 209, 210, 211, 212, 213, 214, 215, 216, 217,
|
|
218, 219, 220, 221, 222, 223, 224, 225, 226, 227,
|
|
228, 229, 230, 231, 232, 233, 234, 235, 236, 237,
|
|
238, 239, 240, 241, 242, 243, 244, 245, 246, 247,
|
|
248, 249, 250, 251, 252, 253, 254, 255, 256, 257,
|
|
258, 259, 260, 261, 262, 263, 264, 265, 266, 267,
|
|
268, 269, 270, 271, 272, 273, 274, 275, 276, 277,
|
|
278, 279, 280, 281, 282, 283, 284, 285, 286, 287,
|
|
288, 289, 290, 291, 292, 293, 294, 295, 296, 297,
|
|
298, 299, 300, 301, 302, 303, 304, 305, 306, 307,
|
|
308, 309, 310, 311, 312, 313, 314, 315, 316, -1,
|
|
-1, -1, -1, -1, -1, 323, -1, -1, -1, -1,
|
|
-1, 329, 330, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
348, 349, -1, -1, 352, -1, -1, -1, -1, -1,
|
|
-1, -1, 360, 361, 362, 363, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, 381, 382, 383, 384, 385, 386, -1,
|
|
-1, -1, -1, 391, 392, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, 414, 415, 416, 417,
|
|
418, 419, 420, 421, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, 436, 4,
|
|
5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
|
|
15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
|
|
25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
|
|
35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
|
|
45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
|
|
55, 56, 57, 58, 59, 60, -1, -1, 63, 64,
|
|
65, 66, 67, 68, 69, 70, 71, 72, 73, 74,
|
|
75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
|
|
85, 86, 87, 88, 89, 90, 91, 92, 93, 94,
|
|
95, 96, 97, 98, 99, 100, 101, 102, 103, 104,
|
|
105, 106, 107, 108, 109, 110, 111, 112, 113, 114,
|
|
115, 116, 117, 118, 119, 120, 121, 122, 123, 124,
|
|
125, 126, 127, 128, 129, 130, 131, 132, 133, 134,
|
|
135, 136, 137, 138, 139, 140, 141, 142, 143, 144,
|
|
145, 146, 147, 148, 149, 150, 151, 152, 153, 154,
|
|
155, 156, 157, 158, 159, 160, 161, 162, 163, 164,
|
|
165, 166, 167, 168, 169, 170, 171, 172, 173, 174,
|
|
175, 176, 177, 178, 179, 180, 181, 182, 183, 184,
|
|
185, 186, 187, 188, 189, 190, 191, 192, 193, 194,
|
|
195, 196, 197, 198, 199, 200, 201, 202, 203, 204,
|
|
205, 206, 207, 208, 209, 210, 211, 212, 213, 214,
|
|
215, 216, 217, 218, 219, 220, 221, 222, 223, 224,
|
|
225, 226, 227, 228, 229, 230, 231, 232, 233, 234,
|
|
235, 236, 237, 238, 239, 240, 241, 242, 243, 244,
|
|
245, 246, 247, 248, 249, 250, 251, 252, 253, 254,
|
|
255, 256, 257, 258, 259, 260, 261, 262, 263, 264,
|
|
265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
|
|
275, 276, 277, 278, 279, 280, 281, 282, 283, 284,
|
|
285, 286, 287, 288, 289, 290, 291, 292, 293, 294,
|
|
295, 296, 297, 298, 299, 300, 301, 302, 303, 304,
|
|
305, 306, 307, 308, 309, 310, 311, 312, 313, 314,
|
|
315, 316, -1, -1, -1, -1, -1, -1, 323, -1,
|
|
-1, -1, -1, -1, 329, 330, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, 348, 349, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, 359, 360, 361, 362, 363, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, 381, 382, 383, 384,
|
|
385, 386, -1, -1, -1, -1, 391, 392, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, 414,
|
|
415, 416, 417, 418, 419, 420, 421, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, 436, 4, 5, 6, 7, 8, 9, 10, 11,
|
|
12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
|
|
22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
|
|
32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
|
|
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
|
|
52, 53, 54, 55, 56, 57, 58, 59, 60, -1,
|
|
-1, 63, 64, 65, 66, 67, 68, 69, 70, 71,
|
|
72, 73, 74, 75, 76, 77, 78, 79, 80, 81,
|
|
82, 83, 84, 85, 86, 87, 88, 89, 90, 91,
|
|
92, 93, 94, 95, 96, 97, 98, 99, 100, 101,
|
|
102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
|
|
112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
|
|
122, 123, 124, 125, 126, 127, 128, 129, 130, 131,
|
|
132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
|
|
142, 143, 144, 145, 146, 147, 148, 149, 150, 151,
|
|
152, 153, 154, 155, 156, 157, 158, 159, 160, 161,
|
|
162, 163, 164, 165, 166, 167, 168, 169, 170, 171,
|
|
172, 173, 174, 175, 176, 177, 178, 179, 180, 181,
|
|
182, 183, 184, 185, 186, 187, 188, 189, 190, 191,
|
|
192, 193, 194, 195, 196, 197, 198, 199, 200, 201,
|
|
202, 203, 204, 205, 206, 207, 208, 209, 210, 211,
|
|
212, 213, 214, 215, 216, 217, 218, 219, 220, 221,
|
|
222, 223, 224, 225, 226, 227, 228, 229, 230, 231,
|
|
232, 233, 234, 235, 236, 237, 238, 239, 240, 241,
|
|
242, 243, 244, 245, 246, 247, 248, 249, 250, 251,
|
|
252, 253, 254, 255, 256, 257, 258, 259, 260, 261,
|
|
262, 263, 264, 265, 266, 267, 268, 269, 270, 271,
|
|
272, 273, 274, 275, 276, 277, 278, 279, 280, 281,
|
|
282, 283, 284, 285, 286, 287, 288, 289, 290, 291,
|
|
292, 293, 294, 295, 296, 297, 298, 299, 300, 301,
|
|
302, 303, 304, 305, 306, 307, 308, 309, 310, 311,
|
|
312, 313, 314, 315, 316, -1, -1, -1, -1, -1,
|
|
-1, 323, -1, -1, -1, -1, -1, 329, 330, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, 348, 349, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, 360, 361,
|
|
362, 363, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, 381,
|
|
382, 383, 384, 385, 386, -1, -1, -1, -1, 391,
|
|
392, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, 414, 415, 416, 417, 418, 419, 420, 421,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, 436, 4, 5, 6, 7, 8,
|
|
9, 10, 11, 12, 13, 14, 15, 16, 17, 18,
|
|
19, 20, 21, 22, 23, 24, 25, 26, 27, 28,
|
|
29, 30, 31, 32, 33, 34, 35, 36, 37, 38,
|
|
39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
|
|
49, 50, 51, 52, 53, 54, 55, 56, 57, 58,
|
|
59, 60, -1, -1, 63, 64, 65, 66, 67, 68,
|
|
69, 70, 71, 72, 73, 74, 75, 76, 77, 78,
|
|
79, 80, 81, 82, 83, 84, 85, 86, 87, 88,
|
|
89, 90, 91, 92, 93, 94, 95, 96, 97, 98,
|
|
99, 100, 101, 102, 103, 104, 105, 106, 107, 108,
|
|
109, 110, 111, 112, 113, 114, 115, 116, 117, 118,
|
|
119, 120, 121, 122, 123, 124, 125, 126, 127, 128,
|
|
129, 130, 131, 132, 133, 134, 135, 136, 137, 138,
|
|
139, 140, 141, 142, 143, 144, 145, 146, 147, 148,
|
|
149, 150, 151, 152, 153, 154, 155, 156, 157, 158,
|
|
159, 160, 161, 162, 163, 164, 165, 166, 167, 168,
|
|
169, 170, 171, 172, 173, 174, 175, 176, 177, 178,
|
|
179, 180, 181, 182, 183, 184, 185, 186, 187, 188,
|
|
189, 190, 191, 192, 193, 194, 195, 196, 197, 198,
|
|
199, 200, 201, 202, 203, 204, 205, 206, 207, 208,
|
|
209, 210, 211, 212, 213, 214, 215, 216, 217, 218,
|
|
219, 220, 221, 222, 223, 224, 225, 226, 227, 228,
|
|
229, 230, 231, 232, 233, 234, 235, 236, 237, 238,
|
|
239, 240, 241, 242, 243, 244, 245, 246, 247, 248,
|
|
249, 250, 251, 252, 253, 254, 255, 256, 257, 258,
|
|
259, 260, 261, 262, 263, 264, 265, 266, 267, 268,
|
|
269, 270, 271, 272, 273, 274, 275, 276, 277, 278,
|
|
279, 280, 281, 282, 283, 284, 285, 286, 287, 288,
|
|
289, 290, 291, 292, 293, 294, 295, 296, 297, 298,
|
|
299, 300, 301, 302, 303, 304, 305, 306, 307, 308,
|
|
309, 310, 311, 312, 313, 314, 315, 316, -1, -1,
|
|
-1, -1, -1, -1, 323, -1, -1, -1, -1, -1,
|
|
329, 330, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, 348,
|
|
349, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, 360, 361, 362, 363, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, 381, 382, 383, 384, 385, 386, -1, -1,
|
|
-1, -1, 391, 392, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, 414, 415, 416, 417, 418,
|
|
419, 420, 421, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, 436, 4, 5,
|
|
6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
|
|
16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
|
|
26, 27, 28, 29, 30, 31, 32, 33, 34, 35,
|
|
36, 37, 38, 39, 40, 41, 42, 43, 44, 45,
|
|
46, 47, 48, 49, 50, 51, 52, 53, 54, 55,
|
|
56, 57, 58, 59, 60, -1, -1, 63, 64, 65,
|
|
66, 67, 68, 69, 70, 71, 72, 73, 74, 75,
|
|
76, 77, 78, 79, 80, 81, 82, 83, 84, 85,
|
|
86, 87, 88, 89, 90, 91, 92, 93, 94, 95,
|
|
96, 97, 98, 99, 100, 101, 102, 103, 104, 105,
|
|
106, 107, 108, 109, 110, 111, 112, 113, 114, 115,
|
|
116, 117, 118, 119, 120, 121, 122, 123, 124, 125,
|
|
126, 127, 128, 129, 130, 131, 132, 133, 134, 135,
|
|
136, 137, 138, 139, 140, 141, 142, 143, 144, 145,
|
|
146, 147, 148, 149, 150, 151, 152, 153, 154, 155,
|
|
156, 157, 158, 159, 160, 161, 162, 163, 164, 165,
|
|
166, 167, 168, 169, 170, 171, 172, 173, 174, 175,
|
|
176, 177, 178, 179, 180, 181, 182, 183, 184, 185,
|
|
186, 187, 188, 189, 190, 191, 192, 193, 194, 195,
|
|
196, 197, 198, 199, 200, 201, 202, 203, 204, 205,
|
|
206, 207, 208, 209, 210, 211, 212, 213, 214, 215,
|
|
216, 217, 218, 219, 220, 221, 222, 223, 224, 225,
|
|
226, 227, 228, 229, 230, 231, 232, 233, 234, 235,
|
|
236, 237, 238, 239, 240, 241, 242, 243, 244, 245,
|
|
246, 247, 248, 249, 250, 251, 252, 253, 254, 255,
|
|
256, 257, 258, 259, 260, 261, 262, 263, 264, 265,
|
|
266, 267, 268, 269, 270, 271, 272, 273, 274, 275,
|
|
276, 277, 278, 279, 280, 281, 282, 283, 284, 285,
|
|
286, 287, 288, 289, 290, 291, 292, 293, 294, 295,
|
|
296, 297, 298, 299, 300, 301, 302, 303, 304, 305,
|
|
306, 307, 308, 309, 310, 311, 312, 313, 314, 315,
|
|
316, -1, -1, -1, -1, -1, -1, 323, -1, -1,
|
|
-1, -1, -1, 329, 330, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, 348, 349, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, 360, 361, 362, 363, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, 381, 382, 383, 384, 385,
|
|
386, -1, -1, -1, -1, 391, 392, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, 414, 415,
|
|
416, 417, 418, 419, 420, 421, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
436, 4, 5, 6, 7, 8, 9, 10, 11, 12,
|
|
13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
|
|
23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
|
|
33, 34, 35, 36, 37, 38, 39, 40, 41, 42,
|
|
43, 44, 45, 46, 47, 48, 49, 50, 51, 52,
|
|
53, 54, 55, 56, 57, 58, 59, 60, -1, -1,
|
|
63, 64, 65, 66, 67, 68, 69, 70, 71, 72,
|
|
73, 74, 75, 76, 77, 78, 79, 80, 81, 82,
|
|
83, 84, 85, 86, 87, 88, 89, 90, 91, 92,
|
|
93, 94, 95, 96, 97, 98, 99, 100, 101, 102,
|
|
103, 104, 105, 106, 107, 108, 109, 110, 111, 112,
|
|
113, 114, 115, 116, 117, 118, 119, 120, 121, 122,
|
|
123, 124, 125, 126, 127, 128, 129, 130, 131, 132,
|
|
133, 134, 135, 136, 137, 138, 139, 140, 141, 142,
|
|
143, 144, 145, 146, 147, 148, 149, 150, 151, 152,
|
|
153, 154, 155, 156, 157, 158, 159, 160, 161, 162,
|
|
163, 164, 165, 166, 167, 168, 169, 170, 171, 172,
|
|
173, 174, 175, 176, 177, 178, 179, 180, 181, 182,
|
|
183, 184, 185, 186, 187, 188, 189, 190, 191, 192,
|
|
193, 194, 195, 196, 197, 198, 199, 200, 201, 202,
|
|
203, 204, 205, 206, 207, 208, 209, 210, 211, 212,
|
|
213, 214, 215, 216, 217, 218, 219, 220, 221, 222,
|
|
223, 224, 225, 226, 227, 228, 229, 230, 231, 232,
|
|
233, 234, 235, 236, 237, 238, 239, 240, 241, 242,
|
|
243, 244, 245, 246, 247, 248, 249, 250, 251, 252,
|
|
253, 254, 255, 256, 257, 258, 259, 260, 261, 262,
|
|
263, 264, 265, 266, 267, 268, 269, 270, 271, 272,
|
|
273, 274, 275, 276, 277, 278, 279, 280, 281, 282,
|
|
283, 284, 285, 286, 287, 288, 289, 290, 291, 292,
|
|
293, 294, 295, 296, 297, 298, 299, 300, 301, 302,
|
|
303, 304, 305, 306, 307, 308, 309, 310, 311, 312,
|
|
313, 314, 315, 316, -1, -1, -1, -1, -1, -1,
|
|
323, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
|
-1, -1, -1, 386, -1, -1, -1, -1, 391, 392
|
|
};
|
|
|
|
/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
|
|
symbol of state STATE-NUM. */
|
|
static const yytype_int16 yystos[] =
|
|
{
|
|
0, 3, 4, 5, 6, 7, 8, 9, 10, 11,
|
|
12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
|
|
22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
|
|
32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
|
|
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
|
|
52, 53, 54, 55, 56, 57, 58, 59, 60, 61,
|
|
62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
|
|
72, 73, 74, 75, 76, 77, 78, 79, 80, 81,
|
|
82, 83, 84, 85, 86, 87, 88, 89, 90, 91,
|
|
92, 93, 94, 95, 96, 97, 98, 99, 100, 101,
|
|
102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
|
|
112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
|
|
122, 123, 124, 125, 126, 127, 128, 129, 130, 131,
|
|
132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
|
|
142, 143, 144, 145, 146, 147, 148, 149, 150, 151,
|
|
152, 153, 154, 155, 156, 157, 158, 159, 160, 161,
|
|
162, 163, 164, 165, 166, 167, 168, 169, 170, 171,
|
|
172, 173, 174, 175, 176, 177, 178, 179, 180, 181,
|
|
182, 183, 184, 185, 186, 187, 188, 189, 190, 191,
|
|
192, 193, 194, 195, 196, 197, 198, 199, 200, 201,
|
|
202, 203, 204, 205, 206, 207, 208, 209, 210, 211,
|
|
212, 213, 214, 215, 216, 217, 218, 219, 220, 221,
|
|
222, 223, 224, 225, 226, 227, 228, 229, 230, 231,
|
|
232, 233, 234, 235, 236, 237, 238, 239, 240, 241,
|
|
242, 243, 244, 245, 246, 247, 248, 249, 250, 251,
|
|
252, 253, 254, 255, 256, 257, 258, 259, 260, 261,
|
|
262, 263, 264, 265, 266, 267, 268, 269, 270, 271,
|
|
272, 273, 274, 275, 276, 277, 278, 279, 280, 281,
|
|
282, 283, 284, 285, 286, 287, 288, 289, 290, 291,
|
|
292, 293, 294, 295, 296, 297, 298, 299, 300, 301,
|
|
302, 303, 304, 305, 306, 307, 308, 309, 310, 311,
|
|
312, 313, 314, 315, 316, 317, 318, 319, 320, 321,
|
|
322, 323, 324, 325, 326, 351, 359, 373, 374, 375,
|
|
376, 377, 386, 387, 388, 389, 390, 391, 392, 408,
|
|
409, 410, 411, 412, 413, 422, 424, 425, 426, 427,
|
|
428, 429, 430, 431, 432, 433, 434, 435, 436, 437,
|
|
438, 439, 440, 441, 442, 443, 444, 445, 446, 447,
|
|
448, 449, 450, 451, 452, 453, 454, 455, 487, 488,
|
|
491, 492, 493, 494, 498, 499, 500, 501, 502, 503,
|
|
506, 507, 508, 509, 510, 512, 517, 518, 519, 560,
|
|
561, 562, 564, 571, 575, 576, 581, 584, 349, 349,
|
|
349, 349, 349, 349, 349, 349, 351, 518, 353, 385,
|
|
349, 349, 359, 385, 359, 563, 350, 356, 495, 496,
|
|
497, 507, 512, 356, 359, 385, 359, 385, 508, 512,
|
|
367, 514, 515, 0, 561, 492, 500, 507, 359, 491,
|
|
385, 567, 568, 585, 586, 382, 385, 567, 382, 567,
|
|
382, 567, 382, 567, 382, 567, 567, 585, 382, 567,
|
|
385, 565, 566, 512, 521, 353, 385, 409, 504, 505,
|
|
385, 511, 351, 359, 513, 353, 539, 564, 496, 495,
|
|
497, 385, 385, 349, 358, 513, 353, 356, 359, 490,
|
|
329, 330, 348, 349, 360, 361, 362, 363, 381, 382,
|
|
383, 384, 385, 414, 415, 416, 417, 418, 419, 420,
|
|
421, 457, 458, 459, 461, 462, 463, 464, 465, 466,
|
|
467, 468, 469, 510, 512, 516, 513, 350, 385, 359,
|
|
358, 356, 350, 356, 350, 356, 358, 356, 356, 356,
|
|
350, 356, 356, 356, 356, 356, 356, 356, 350, 356,
|
|
350, 356, 349, 352, 356, 359, 507, 512, 522, 523,
|
|
520, 358, 350, 356, 350, 356, 352, 468, 470, 471,
|
|
472, 473, 474, 475, 476, 477, 478, 479, 480, 481,
|
|
351, 359, 353, 354, 359, 393, 394, 395, 396, 398,
|
|
399, 400, 401, 402, 403, 404, 405, 406, 407, 423,
|
|
468, 481, 483, 485, 487, 491, 510, 512, 528, 529,
|
|
530, 531, 532, 540, 541, 542, 543, 546, 547, 550,
|
|
551, 552, 559, 564, 513, 358, 513, 353, 483, 526,
|
|
358, 489, 385, 356, 359, 468, 468, 485, 329, 330,
|
|
351, 355, 350, 350, 356, 392, 483, 349, 468, 356,
|
|
368, 564, 348, 351, 382, 568, 585, 385, 586, 348,
|
|
381, 382, 383, 384, 572, 573, 382, 481, 486, 574,
|
|
382, 381, 382, 383, 384, 577, 578, 382, 486, 579,
|
|
382, 348, 580, 382, 585, 385, 486, 582, 583, 382,
|
|
486, 352, 566, 512, 385, 524, 525, 354, 523, 522,
|
|
486, 505, 385, 364, 365, 366, 361, 363, 327, 328,
|
|
331, 332, 367, 368, 333, 334, 371, 370, 369, 335,
|
|
337, 336, 372, 352, 352, 481, 354, 533, 349, 359,
|
|
359, 554, 349, 349, 359, 359, 485, 349, 485, 357,
|
|
359, 359, 359, 359, 338, 339, 340, 341, 342, 343,
|
|
344, 345, 346, 347, 358, 484, 356, 359, 354, 529,
|
|
543, 547, 552, 526, 358, 354, 526, 527, 526, 522,
|
|
385, 350, 460, 485, 385, 483, 468, 348, 382, 569,
|
|
570, 350, 358, 350, 356, 350, 356, 350, 356, 356,
|
|
350, 356, 350, 356, 350, 356, 356, 350, 356, 356,
|
|
350, 356, 350, 356, 350, 350, 524, 513, 356, 359,
|
|
354, 468, 468, 468, 470, 470, 471, 471, 472, 472,
|
|
472, 472, 473, 473, 474, 475, 476, 477, 478, 479,
|
|
482, 352, 540, 553, 529, 555, 485, 359, 485, 357,
|
|
483, 483, 526, 354, 356, 354, 352, 352, 356, 352,
|
|
356, 573, 572, 486, 574, 578, 577, 486, 579, 348,
|
|
580, 582, 583, 359, 525, 485, 534, 485, 500, 545,
|
|
393, 528, 541, 556, 350, 350, 354, 526, 348, 382,
|
|
350, 350, 350, 350, 350, 350, 357, 354, 385, 350,
|
|
349, 545, 557, 558, 536, 537, 538, 544, 548, 483,
|
|
358, 530, 535, 539, 485, 359, 350, 397, 532, 530,
|
|
353, 526, 350, 485, 535, 536, 540, 549, 359, 354
|
|
};
|
|
|
|
/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
|
|
static const yytype_int16 yyr1[] =
|
|
{
|
|
0, 456, 457, 458, 458, 458, 458, 458, 458, 458,
|
|
458, 458, 458, 458, 458, 458, 458, 458, 459, 459,
|
|
459, 459, 459, 459, 460, 461, 462, 463, 463, 464,
|
|
464, 465, 465, 466, 467, 467, 467, 468, 468, 468,
|
|
468, 469, 469, 469, 469, 470, 470, 470, 470, 471,
|
|
471, 471, 472, 472, 472, 473, 473, 473, 473, 473,
|
|
474, 474, 474, 475, 475, 476, 476, 477, 477, 478,
|
|
478, 479, 479, 480, 480, 481, 482, 481, 483, 483,
|
|
484, 484, 484, 484, 484, 484, 484, 484, 484, 484,
|
|
484, 485, 485, 486, 487, 487, 487, 487, 487, 487,
|
|
487, 487, 487, 487, 487, 489, 488, 490, 490, 491,
|
|
491, 491, 491, 492, 492, 493, 493, 494, 495, 495,
|
|
496, 496, 496, 496, 497, 498, 498, 498, 498, 498,
|
|
499, 499, 499, 499, 499, 500, 500, 501, 502, 502,
|
|
502, 502, 502, 502, 502, 502, 502, 503, 504, 504,
|
|
505, 505, 505, 506, 507, 507, 508, 508, 508, 508,
|
|
508, 508, 508, 508, 508, 508, 508, 509, 509, 509,
|
|
509, 509, 509, 509, 509, 509, 509, 509, 509, 509,
|
|
509, 509, 509, 509, 509, 509, 509, 509, 509, 509,
|
|
509, 509, 509, 509, 509, 509, 509, 509, 509, 509,
|
|
509, 509, 510, 511, 511, 512, 512, 513, 513, 513,
|
|
513, 514, 514, 515, 516, 516, 517, 517, 517, 517,
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
|
|
517, 518, 518, 518, 520, 519, 521, 519, 522, 522,
|
|
523, 523, 524, 524, 525, 525, 526, 526, 526, 526,
|
|
527, 527, 528, 529, 529, 530, 530, 530, 530, 530,
|
|
530, 530, 530, 531, 532, 533, 534, 532, 535, 535,
|
|
537, 536, 538, 536, 539, 539, 540, 540, 541, 541,
|
|
542, 542, 543, 544, 544, 545, 545, 546, 546, 548,
|
|
547, 549, 549, 550, 550, 551, 551, 553, 552, 554,
|
|
552, 555, 552, 556, 556, 557, 557, 558, 558, 559,
|
|
559, 559, 559, 559, 559, 559, 559, 560, 560, 561,
|
|
561, 561, 563, 562, 564, 565, 565, 566, 566, 567,
|
|
567, 568, 568, 569, 569, 570, 570, 571, 571, 571,
|
|
571, 571, 571, 572, 572, 573, 573, 573, 573, 573,
|
|
574, 574, 575, 575, 576, 576, 576, 576, 576, 576,
|
|
576, 576, 577, 577, 578, 578, 578, 578, 579, 579,
|
|
580, 580, 581, 581, 581, 581, 582, 582, 583, 584,
|
|
584, 585, 585, 586, 586
|
|
};
|
|
|
|
/* YYR2[YYN] -- Number of symbols on the right hand side of rule YYN. */
|
|
static const yytype_int8 yyr2[] =
|
|
{
|
|
0, 2, 1, 1, 3, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 4,
|
|
1, 3, 2, 2, 1, 1, 1, 2, 2, 2,
|
|
1, 2, 3, 2, 1, 1, 1, 1, 2, 2,
|
|
2, 1, 1, 1, 1, 1, 3, 3, 3, 1,
|
|
3, 3, 1, 3, 3, 1, 3, 3, 3, 3,
|
|
1, 3, 3, 1, 3, 1, 3, 1, 3, 1,
|
|
3, 1, 3, 1, 3, 1, 0, 6, 1, 3,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 3, 1, 2, 3, 2, 2, 4, 2,
|
|
3, 4, 2, 3, 4, 0, 6, 2, 3, 2,
|
|
3, 3, 4, 1, 1, 2, 3, 3, 2, 3,
|
|
2, 1, 2, 1, 1, 1, 3, 4, 6, 5,
|
|
1, 2, 3, 5, 4, 1, 2, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 4, 1, 3,
|
|
1, 3, 1, 1, 1, 2, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 4, 1, 1, 3, 2, 3, 2, 3, 3,
|
|
4, 1, 0, 3, 1, 3, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 1, 0, 6, 0, 5, 1, 2,
|
|
3, 4, 1, 3, 1, 2, 1, 3, 4, 2,
|
|
1, 3, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1, 1, 1, 2, 2, 0, 0, 5, 1, 1,
|
|
0, 2, 0, 2, 2, 3, 1, 2, 1, 2,
|
|
1, 2, 5, 3, 1, 1, 4, 1, 2, 0,
|
|
8, 0, 1, 3, 2, 1, 2, 0, 6, 0,
|
|
8, 0, 7, 1, 1, 1, 0, 2, 3, 2,
|
|
2, 2, 3, 2, 2, 2, 2, 1, 2, 1,
|
|
1, 1, 0, 3, 5, 1, 3, 1, 4, 1,
|
|
3, 5, 5, 1, 3, 1, 3, 4, 6, 6,
|
|
8, 6, 8, 1, 3, 1, 1, 1, 1, 1,
|
|
1, 3, 4, 6, 4, 6, 6, 8, 6, 8,
|
|
6, 8, 1, 3, 1, 1, 1, 1, 1, 3,
|
|
1, 3, 6, 8, 4, 6, 1, 3, 1, 4,
|
|
6, 1, 3, 3, 3
|
|
};
|
|
|
|
|
|
enum { YYENOMEM = -2 };
|
|
|
|
#define yyerrok (yyerrstatus = 0)
|
|
#define yyclearin (yychar = YYEMPTY)
|
|
|
|
#define YYACCEPT goto yyacceptlab
|
|
#define YYABORT goto yyabortlab
|
|
#define YYERROR goto yyerrorlab
|
|
|
|
|
|
#define YYRECOVERING() (!!yyerrstatus)
|
|
|
|
#define YYBACKUP(Token, Value) \
|
|
do \
|
|
if (yychar == YYEMPTY) \
|
|
{ \
|
|
yychar = (Token); \
|
|
yylval = (Value); \
|
|
YYPOPSTACK (yylen); \
|
|
yystate = *yyssp; \
|
|
goto yybackup; \
|
|
} \
|
|
else \
|
|
{ \
|
|
yyerror (pParseContext, YY_("syntax error: cannot back up")); \
|
|
YYERROR; \
|
|
} \
|
|
while (0)
|
|
|
|
/* Backward compatibility with an undocumented macro.
|
|
Use YYerror or YYUNDEF. */
|
|
#define YYERRCODE YYUNDEF
|
|
|
|
|
|
/* Enable debugging if requested. */
|
|
#if YYDEBUG
|
|
|
|
# ifndef YYFPRINTF
|
|
# include <stdio.h> /* INFRINGES ON USER NAME SPACE */
|
|
# define YYFPRINTF fprintf
|
|
# endif
|
|
|
|
# define YYDPRINTF(Args) \
|
|
do { \
|
|
if (yydebug) \
|
|
YYFPRINTF Args; \
|
|
} while (0)
|
|
|
|
/* This macro is provided for backward compatibility. */
|
|
# ifndef YY_LOCATION_PRINT
|
|
# define YY_LOCATION_PRINT(File, Loc) ((void) 0)
|
|
# endif
|
|
|
|
|
|
# define YY_SYMBOL_PRINT(Title, Kind, Value, Location) \
|
|
do { \
|
|
if (yydebug) \
|
|
{ \
|
|
YYFPRINTF (stderr, "%s ", Title); \
|
|
yy_symbol_print (stderr, \
|
|
Kind, Value, pParseContext); \
|
|
YYFPRINTF (stderr, "\n"); \
|
|
} \
|
|
} while (0)
|
|
|
|
|
|
/*-----------------------------------.
|
|
| Print this symbol's value on YYO. |
|
|
`-----------------------------------*/
|
|
|
|
static void
|
|
yy_symbol_value_print (FILE *yyo,
|
|
yysymbol_kind_t yykind, YYSTYPE const * const yyvaluep, glslang::TParseContext* pParseContext)
|
|
{
|
|
FILE *yyoutput = yyo;
|
|
YYUSE (yyoutput);
|
|
YYUSE (pParseContext);
|
|
if (!yyvaluep)
|
|
return;
|
|
# ifdef YYPRINT
|
|
if (yykind < YYNTOKENS)
|
|
YYPRINT (yyo, yytoknum[yykind], *yyvaluep);
|
|
# endif
|
|
YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
|
|
YYUSE (yykind);
|
|
YY_IGNORE_MAYBE_UNINITIALIZED_END
|
|
}
|
|
|
|
|
|
/*---------------------------.
|
|
| Print this symbol on YYO. |
|
|
`---------------------------*/
|
|
|
|
static void
|
|
yy_symbol_print (FILE *yyo,
|
|
yysymbol_kind_t yykind, YYSTYPE const * const yyvaluep, glslang::TParseContext* pParseContext)
|
|
{
|
|
YYFPRINTF (yyo, "%s %s (",
|
|
yykind < YYNTOKENS ? "token" : "nterm", yysymbol_name (yykind));
|
|
|
|
yy_symbol_value_print (yyo, yykind, yyvaluep, pParseContext);
|
|
YYFPRINTF (yyo, ")");
|
|
}
|
|
|
|
/*------------------------------------------------------------------.
|
|
| yy_stack_print -- Print the state stack from its BOTTOM up to its |
|
|
| TOP (included). |
|
|
`------------------------------------------------------------------*/
|
|
|
|
static void
|
|
yy_stack_print (yy_state_t *yybottom, yy_state_t *yytop)
|
|
{
|
|
YYFPRINTF (stderr, "Stack now");
|
|
for (; yybottom <= yytop; yybottom++)
|
|
{
|
|
int yybot = *yybottom;
|
|
YYFPRINTF (stderr, " %d", yybot);
|
|
}
|
|
YYFPRINTF (stderr, "\n");
|
|
}
|
|
|
|
# define YY_STACK_PRINT(Bottom, Top) \
|
|
do { \
|
|
if (yydebug) \
|
|
yy_stack_print ((Bottom), (Top)); \
|
|
} while (0)
|
|
|
|
|
|
/*------------------------------------------------.
|
|
| Report that the YYRULE is going to be reduced. |
|
|
`------------------------------------------------*/
|
|
|
|
static void
|
|
yy_reduce_print (yy_state_t *yyssp, YYSTYPE *yyvsp,
|
|
int yyrule, glslang::TParseContext* pParseContext)
|
|
{
|
|
int yylno = yyrline[yyrule];
|
|
int yynrhs = yyr2[yyrule];
|
|
int yyi;
|
|
YYFPRINTF (stderr, "Reducing stack by rule %d (line %d):\n",
|
|
yyrule - 1, yylno);
|
|
/* The symbols being reduced. */
|
|
for (yyi = 0; yyi < yynrhs; yyi++)
|
|
{
|
|
YYFPRINTF (stderr, " $%d = ", yyi + 1);
|
|
yy_symbol_print (stderr,
|
|
YY_ACCESSING_SYMBOL (+yyssp[yyi + 1 - yynrhs]),
|
|
&yyvsp[(yyi + 1) - (yynrhs)], pParseContext);
|
|
YYFPRINTF (stderr, "\n");
|
|
}
|
|
}
|
|
|
|
# define YY_REDUCE_PRINT(Rule) \
|
|
do { \
|
|
if (yydebug) \
|
|
yy_reduce_print (yyssp, yyvsp, Rule, pParseContext); \
|
|
} while (0)
|
|
|
|
/* Nonzero means print parse trace. It is left uninitialized so that
|
|
multiple parsers can coexist. */
|
|
int yydebug;
|
|
#else /* !YYDEBUG */
|
|
# define YYDPRINTF(Args) ((void) 0)
|
|
# define YY_SYMBOL_PRINT(Title, Kind, Value, Location)
|
|
# define YY_STACK_PRINT(Bottom, Top)
|
|
# define YY_REDUCE_PRINT(Rule)
|
|
#endif /* !YYDEBUG */
|
|
|
|
|
|
/* YYINITDEPTH -- initial size of the parser's stacks. */
|
|
#ifndef YYINITDEPTH
|
|
# define YYINITDEPTH 200
|
|
#endif
|
|
|
|
/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
|
|
if the built-in stack extension method is used).
|
|
|
|
Do not make this value too large; the results are undefined if
|
|
YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH)
|
|
evaluated with infinite-precision integer arithmetic. */
|
|
|
|
#ifndef YYMAXDEPTH
|
|
# define YYMAXDEPTH 10000
|
|
#endif
|
|
|
|
|
|
/* Context of a parse error. */
|
|
typedef struct
|
|
{
|
|
yy_state_t *yyssp;
|
|
yysymbol_kind_t yytoken;
|
|
} yypcontext_t;
|
|
|
|
/* Put in YYARG at most YYARGN of the expected tokens given the
|
|
current YYCTX, and return the number of tokens stored in YYARG. If
|
|
YYARG is null, return the number of expected tokens (guaranteed to
|
|
be less than YYNTOKENS). Return YYENOMEM on memory exhaustion.
|
|
Return 0 if there are more than YYARGN expected tokens, yet fill
|
|
YYARG up to YYARGN. */
|
|
static int
|
|
yypcontext_expected_tokens (const yypcontext_t *yyctx,
|
|
yysymbol_kind_t yyarg[], int yyargn)
|
|
{
|
|
/* Actual size of YYARG. */
|
|
int yycount = 0;
|
|
int yyn = yypact[+*yyctx->yyssp];
|
|
if (!yypact_value_is_default (yyn))
|
|
{
|
|
/* Start YYX at -YYN if negative to avoid negative indexes in
|
|
YYCHECK. In other words, skip the first -YYN actions for
|
|
this state because they are default actions. */
|
|
int yyxbegin = yyn < 0 ? -yyn : 0;
|
|
/* Stay within bounds of both yycheck and yytname. */
|
|
int yychecklim = YYLAST - yyn + 1;
|
|
int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
|
|
int yyx;
|
|
for (yyx = yyxbegin; yyx < yyxend; ++yyx)
|
|
if (yycheck[yyx + yyn] == yyx && yyx != YYSYMBOL_YYerror
|
|
&& !yytable_value_is_error (yytable[yyx + yyn]))
|
|
{
|
|
if (!yyarg)
|
|
++yycount;
|
|
else if (yycount == yyargn)
|
|
return 0;
|
|
else
|
|
yyarg[yycount++] = YY_CAST (yysymbol_kind_t, yyx);
|
|
}
|
|
}
|
|
if (yyarg && yycount == 0 && 0 < yyargn)
|
|
yyarg[0] = YYSYMBOL_YYEMPTY;
|
|
return yycount;
|
|
}
|
|
|
|
|
|
|
|
|
|
#ifndef yystrlen
|
|
# if defined __GLIBC__ && defined _STRING_H
|
|
# define yystrlen(S) (YY_CAST (YYPTRDIFF_T, strlen (S)))
|
|
# else
|
|
/* Return the length of YYSTR. */
|
|
static YYPTRDIFF_T
|
|
yystrlen (const char *yystr)
|
|
{
|
|
YYPTRDIFF_T yylen;
|
|
for (yylen = 0; yystr[yylen]; yylen++)
|
|
continue;
|
|
return yylen;
|
|
}
|
|
# endif
|
|
#endif
|
|
|
|
#ifndef yystpcpy
|
|
# if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE
|
|
# define yystpcpy stpcpy
|
|
# else
|
|
/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
|
|
YYDEST. */
|
|
static char *
|
|
yystpcpy (char *yydest, const char *yysrc)
|
|
{
|
|
char *yyd = yydest;
|
|
const char *yys = yysrc;
|
|
|
|
while ((*yyd++ = *yys++) != '\0')
|
|
continue;
|
|
|
|
return yyd - 1;
|
|
}
|
|
# endif
|
|
#endif
|
|
|
|
#ifndef yytnamerr
|
|
/* Copy to YYRES the contents of YYSTR after stripping away unnecessary
|
|
quotes and backslashes, so that it's suitable for yyerror. The
|
|
heuristic is that double-quoting is unnecessary unless the string
|
|
contains an apostrophe, a comma, or backslash (other than
|
|
backslash-backslash). YYSTR is taken from yytname. If YYRES is
|
|
null, do not copy; instead, return the length of what the result
|
|
would have been. */
|
|
static YYPTRDIFF_T
|
|
yytnamerr (char *yyres, const char *yystr)
|
|
{
|
|
if (*yystr == '"')
|
|
{
|
|
YYPTRDIFF_T yyn = 0;
|
|
char const *yyp = yystr;
|
|
for (;;)
|
|
switch (*++yyp)
|
|
{
|
|
case '\'':
|
|
case ',':
|
|
goto do_not_strip_quotes;
|
|
|
|
case '\\':
|
|
if (*++yyp != '\\')
|
|
goto do_not_strip_quotes;
|
|
else
|
|
goto append;
|
|
|
|
append:
|
|
default:
|
|
if (yyres)
|
|
yyres[yyn] = *yyp;
|
|
yyn++;
|
|
break;
|
|
|
|
case '"':
|
|
if (yyres)
|
|
yyres[yyn] = '\0';
|
|
return yyn;
|
|
}
|
|
do_not_strip_quotes: ;
|
|
}
|
|
|
|
if (yyres)
|
|
return yystpcpy (yyres, yystr) - yyres;
|
|
else
|
|
return yystrlen (yystr);
|
|
}
|
|
#endif
|
|
|
|
|
|
static int
|
|
yy_syntax_error_arguments (const yypcontext_t *yyctx,
|
|
yysymbol_kind_t yyarg[], int yyargn)
|
|
{
|
|
/* Actual size of YYARG. */
|
|
int yycount = 0;
|
|
/* There are many possibilities here to consider:
|
|
- If this state is a consistent state with a default action, then
|
|
the only way this function was invoked is if the default action
|
|
is an error action. In that case, don't check for expected
|
|
tokens because there are none.
|
|
- The only way there can be no lookahead present (in yychar) is if
|
|
this state is a consistent state with a default action. Thus,
|
|
detecting the absence of a lookahead is sufficient to determine
|
|
that there is no unexpected or expected token to report. In that
|
|
case, just report a simple "syntax error".
|
|
- Don't assume there isn't a lookahead just because this state is a
|
|
consistent state with a default action. There might have been a
|
|
previous inconsistent state, consistent state with a non-default
|
|
action, or user semantic action that manipulated yychar.
|
|
- Of course, the expected token list depends on states to have
|
|
correct lookahead information, and it depends on the parser not
|
|
to perform extra reductions after fetching a lookahead from the
|
|
scanner and before detecting a syntax error. Thus, state merging
|
|
(from LALR or IELR) and default reductions corrupt the expected
|
|
token list. However, the list is correct for canonical LR with
|
|
one exception: it will still contain any token that will not be
|
|
accepted due to an error action in a later state.
|
|
*/
|
|
if (yyctx->yytoken != YYSYMBOL_YYEMPTY)
|
|
{
|
|
int yyn;
|
|
if (yyarg)
|
|
yyarg[yycount] = yyctx->yytoken;
|
|
++yycount;
|
|
yyn = yypcontext_expected_tokens (yyctx,
|
|
yyarg ? yyarg + 1 : yyarg, yyargn - 1);
|
|
if (yyn == YYENOMEM)
|
|
return YYENOMEM;
|
|
else
|
|
yycount += yyn;
|
|
}
|
|
return yycount;
|
|
}
|
|
|
|
/* Copy into *YYMSG, which is of size *YYMSG_ALLOC, an error message
|
|
about the unexpected token YYTOKEN for the state stack whose top is
|
|
YYSSP.
|
|
|
|
Return 0 if *YYMSG was successfully written. Return -1 if *YYMSG is
|
|
not large enough to hold the message. In that case, also set
|
|
*YYMSG_ALLOC to the required number of bytes. Return YYENOMEM if the
|
|
required number of bytes is too large to store. */
|
|
static int
|
|
yysyntax_error (YYPTRDIFF_T *yymsg_alloc, char **yymsg,
|
|
const yypcontext_t *yyctx)
|
|
{
|
|
enum { YYARGS_MAX = 5 };
|
|
/* Internationalized format string. */
|
|
const char *yyformat = YY_NULLPTR;
|
|
/* Arguments of yyformat: reported tokens (one for the "unexpected",
|
|
one per "expected"). */
|
|
yysymbol_kind_t yyarg[YYARGS_MAX];
|
|
/* Cumulated lengths of YYARG. */
|
|
YYPTRDIFF_T yysize = 0;
|
|
|
|
/* Actual size of YYARG. */
|
|
int yycount = yy_syntax_error_arguments (yyctx, yyarg, YYARGS_MAX);
|
|
if (yycount == YYENOMEM)
|
|
return YYENOMEM;
|
|
|
|
switch (yycount)
|
|
{
|
|
#define YYCASE_(N, S) \
|
|
case N: \
|
|
yyformat = S; \
|
|
break
|
|
default: /* Avoid compiler warnings. */
|
|
YYCASE_(0, YY_("syntax error"));
|
|
YYCASE_(1, YY_("syntax error, unexpected %s"));
|
|
YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s"));
|
|
YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s"));
|
|
YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s"));
|
|
YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"));
|
|
#undef YYCASE_
|
|
}
|
|
|
|
/* Compute error message size. Don't count the "%s"s, but reserve
|
|
room for the terminator. */
|
|
yysize = yystrlen (yyformat) - 2 * yycount + 1;
|
|
{
|
|
int yyi;
|
|
for (yyi = 0; yyi < yycount; ++yyi)
|
|
{
|
|
YYPTRDIFF_T yysize1
|
|
= yysize + yytnamerr (YY_NULLPTR, yytname[yyarg[yyi]]);
|
|
if (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM)
|
|
yysize = yysize1;
|
|
else
|
|
return YYENOMEM;
|
|
}
|
|
}
|
|
|
|
if (*yymsg_alloc < yysize)
|
|
{
|
|
*yymsg_alloc = 2 * yysize;
|
|
if (! (yysize <= *yymsg_alloc
|
|
&& *yymsg_alloc <= YYSTACK_ALLOC_MAXIMUM))
|
|
*yymsg_alloc = YYSTACK_ALLOC_MAXIMUM;
|
|
return -1;
|
|
}
|
|
|
|
/* Avoid sprintf, as that infringes on the user's name space.
|
|
Don't have undefined behavior even if the translation
|
|
produced a string with the wrong number of "%s"s. */
|
|
{
|
|
char *yyp = *yymsg;
|
|
int yyi = 0;
|
|
while ((*yyp = *yyformat) != '\0')
|
|
if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount)
|
|
{
|
|
yyp += yytnamerr (yyp, yytname[yyarg[yyi++]]);
|
|
yyformat += 2;
|
|
}
|
|
else
|
|
{
|
|
++yyp;
|
|
++yyformat;
|
|
}
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
|
|
/*-----------------------------------------------.
|
|
| Release the memory associated to this symbol. |
|
|
`-----------------------------------------------*/
|
|
|
|
static void
|
|
yydestruct (const char *yymsg,
|
|
yysymbol_kind_t yykind, YYSTYPE *yyvaluep, glslang::TParseContext* pParseContext)
|
|
{
|
|
YYUSE (yyvaluep);
|
|
YYUSE (pParseContext);
|
|
if (!yymsg)
|
|
yymsg = "Deleting";
|
|
YY_SYMBOL_PRINT (yymsg, yykind, yyvaluep, yylocationp);
|
|
|
|
YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
|
|
YYUSE (yykind);
|
|
YY_IGNORE_MAYBE_UNINITIALIZED_END
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*----------.
|
|
| yyparse. |
|
|
`----------*/
|
|
|
|
int
|
|
yyparse (glslang::TParseContext* pParseContext)
|
|
{
|
|
/* Lookahead token kind. */
|
|
int yychar;
|
|
|
|
|
|
/* The semantic value of the lookahead symbol. */
|
|
/* Default value used for initialization, for pacifying older GCCs
|
|
or non-GCC compilers. */
|
|
YY_INITIAL_VALUE (static YYSTYPE yyval_default;)
|
|
YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default);
|
|
|
|
/* Number of syntax errors so far. */
|
|
int yynerrs = 0;
|
|
|
|
yy_state_fast_t yystate = 0;
|
|
/* Number of tokens to shift before error messages enabled. */
|
|
int yyerrstatus = 0;
|
|
|
|
/* Refer to the stacks through separate pointers, to allow yyoverflow
|
|
to reallocate them elsewhere. */
|
|
|
|
/* Their size. */
|
|
YYPTRDIFF_T yystacksize = YYINITDEPTH;
|
|
|
|
/* The state stack: array, bottom, top. */
|
|
yy_state_t yyssa[YYINITDEPTH];
|
|
yy_state_t *yyss = yyssa;
|
|
yy_state_t *yyssp = yyss;
|
|
|
|
/* The semantic value stack: array, bottom, top. */
|
|
YYSTYPE yyvsa[YYINITDEPTH];
|
|
YYSTYPE *yyvs = yyvsa;
|
|
YYSTYPE *yyvsp = yyvs;
|
|
|
|
int yyn;
|
|
/* The return value of yyparse. */
|
|
int yyresult;
|
|
/* Lookahead symbol kind. */
|
|
yysymbol_kind_t yytoken = YYSYMBOL_YYEMPTY;
|
|
/* The variables used to return semantic value and location from the
|
|
action routines. */
|
|
YYSTYPE yyval;
|
|
|
|
/* Buffer for error messages, and its allocated size. */
|
|
char yymsgbuf[128];
|
|
char *yymsg = yymsgbuf;
|
|
YYPTRDIFF_T yymsg_alloc = sizeof yymsgbuf;
|
|
|
|
#define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N))
|
|
|
|
/* The number of symbols on the RHS of the reduced rule.
|
|
Keep to zero when no symbol should be popped. */
|
|
int yylen = 0;
|
|
|
|
YYDPRINTF ((stderr, "Starting parse\n"));
|
|
|
|
yychar = YYEMPTY; /* Cause a token to be read. */
|
|
goto yysetstate;
|
|
|
|
|
|
/*------------------------------------------------------------.
|
|
| yynewstate -- push a new state, which is found in yystate. |
|
|
`------------------------------------------------------------*/
|
|
yynewstate:
|
|
/* In all cases, when you get here, the value and location stacks
|
|
have just been pushed. So pushing a state here evens the stacks. */
|
|
yyssp++;
|
|
|
|
|
|
/*--------------------------------------------------------------------.
|
|
| yysetstate -- set current state (the top of the stack) to yystate. |
|
|
`--------------------------------------------------------------------*/
|
|
yysetstate:
|
|
YYDPRINTF ((stderr, "Entering state %d\n", yystate));
|
|
YY_ASSERT (0 <= yystate && yystate < YYNSTATES);
|
|
YY_IGNORE_USELESS_CAST_BEGIN
|
|
*yyssp = YY_CAST (yy_state_t, yystate);
|
|
YY_IGNORE_USELESS_CAST_END
|
|
YY_STACK_PRINT (yyss, yyssp);
|
|
|
|
if (yyss + yystacksize - 1 <= yyssp)
|
|
#if !defined yyoverflow && !defined YYSTACK_RELOCATE
|
|
goto yyexhaustedlab;
|
|
#else
|
|
{
|
|
/* Get the current used size of the three stacks, in elements. */
|
|
YYPTRDIFF_T yysize = yyssp - yyss + 1;
|
|
|
|
# if defined yyoverflow
|
|
{
|
|
/* Give user a chance to reallocate the stack. Use copies of
|
|
these so that the &'s don't force the real ones into
|
|
memory. */
|
|
yy_state_t *yyss1 = yyss;
|
|
YYSTYPE *yyvs1 = yyvs;
|
|
|
|
/* Each stack pointer address is followed by the size of the
|
|
data in use in that stack, in bytes. This used to be a
|
|
conditional around just the two extra args, but that might
|
|
be undefined if yyoverflow is a macro. */
|
|
yyoverflow (YY_("memory exhausted"),
|
|
&yyss1, yysize * YYSIZEOF (*yyssp),
|
|
&yyvs1, yysize * YYSIZEOF (*yyvsp),
|
|
&yystacksize);
|
|
yyss = yyss1;
|
|
yyvs = yyvs1;
|
|
}
|
|
# else /* defined YYSTACK_RELOCATE */
|
|
/* Extend the stack our own way. */
|
|
if (YYMAXDEPTH <= yystacksize)
|
|
goto yyexhaustedlab;
|
|
yystacksize *= 2;
|
|
if (YYMAXDEPTH < yystacksize)
|
|
yystacksize = YYMAXDEPTH;
|
|
|
|
{
|
|
yy_state_t *yyss1 = yyss;
|
|
union yyalloc *yyptr =
|
|
YY_CAST (union yyalloc *,
|
|
YYSTACK_ALLOC (YY_CAST (YYSIZE_T, YYSTACK_BYTES (yystacksize))));
|
|
if (! yyptr)
|
|
goto yyexhaustedlab;
|
|
YYSTACK_RELOCATE (yyss_alloc, yyss);
|
|
YYSTACK_RELOCATE (yyvs_alloc, yyvs);
|
|
# undef YYSTACK_RELOCATE
|
|
if (yyss1 != yyssa)
|
|
YYSTACK_FREE (yyss1);
|
|
}
|
|
# endif
|
|
|
|
yyssp = yyss + yysize - 1;
|
|
yyvsp = yyvs + yysize - 1;
|
|
|
|
YY_IGNORE_USELESS_CAST_BEGIN
|
|
YYDPRINTF ((stderr, "Stack size increased to %ld\n",
|
|
YY_CAST (long, yystacksize)));
|
|
YY_IGNORE_USELESS_CAST_END
|
|
|
|
if (yyss + yystacksize - 1 <= yyssp)
|
|
YYABORT;
|
|
}
|
|
#endif /* !defined yyoverflow && !defined YYSTACK_RELOCATE */
|
|
|
|
if (yystate == YYFINAL)
|
|
YYACCEPT;
|
|
|
|
goto yybackup;
|
|
|
|
|
|
/*-----------.
|
|
| yybackup. |
|
|
`-----------*/
|
|
yybackup:
|
|
/* Do appropriate processing given the current state. Read a
|
|
lookahead token if we need one and don't already have one. */
|
|
|
|
/* First try to decide what to do without reference to lookahead token. */
|
|
yyn = yypact[yystate];
|
|
if (yypact_value_is_default (yyn))
|
|
goto yydefault;
|
|
|
|
/* Not known => get a lookahead token if don't already have one. */
|
|
|
|
/* YYCHAR is either empty, or end-of-input, or a valid lookahead. */
|
|
if (yychar == YYEMPTY)
|
|
{
|
|
YYDPRINTF ((stderr, "Reading a token\n"));
|
|
yychar = yylex (&yylval, parseContext);
|
|
}
|
|
|
|
if (yychar <= YYEOF)
|
|
{
|
|
yychar = YYEOF;
|
|
yytoken = YYSYMBOL_YYEOF;
|
|
YYDPRINTF ((stderr, "Now at end of input.\n"));
|
|
}
|
|
else if (yychar == YYerror)
|
|
{
|
|
/* The scanner already issued an error message, process directly
|
|
to error recovery. But do not keep the error token as
|
|
lookahead, it is too special and may lead us to an endless
|
|
loop in error recovery. */
|
|
yychar = YYUNDEF;
|
|
yytoken = YYSYMBOL_YYerror;
|
|
goto yyerrlab1;
|
|
}
|
|
else
|
|
{
|
|
yytoken = YYTRANSLATE (yychar);
|
|
YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
|
|
}
|
|
|
|
/* If the proper action on seeing token YYTOKEN is to reduce or to
|
|
detect an error, take that action. */
|
|
yyn += yytoken;
|
|
if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
|
|
goto yydefault;
|
|
yyn = yytable[yyn];
|
|
if (yyn <= 0)
|
|
{
|
|
if (yytable_value_is_error (yyn))
|
|
goto yyerrlab;
|
|
yyn = -yyn;
|
|
goto yyreduce;
|
|
}
|
|
|
|
/* Count tokens shifted since error; after three, turn off error
|
|
status. */
|
|
if (yyerrstatus)
|
|
yyerrstatus--;
|
|
|
|
/* Shift the lookahead token. */
|
|
YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
|
|
yystate = yyn;
|
|
YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
|
|
*++yyvsp = yylval;
|
|
YY_IGNORE_MAYBE_UNINITIALIZED_END
|
|
|
|
/* Discard the shifted token. */
|
|
yychar = YYEMPTY;
|
|
goto yynewstate;
|
|
|
|
|
|
/*-----------------------------------------------------------.
|
|
| yydefault -- do the default action for the current state. |
|
|
`-----------------------------------------------------------*/
|
|
yydefault:
|
|
yyn = yydefact[yystate];
|
|
if (yyn == 0)
|
|
goto yyerrlab;
|
|
goto yyreduce;
|
|
|
|
|
|
/*-----------------------------.
|
|
| yyreduce -- do a reduction. |
|
|
`-----------------------------*/
|
|
yyreduce:
|
|
/* yyn is the number of a rule to reduce with. */
|
|
yylen = yyr2[yyn];
|
|
|
|
/* If YYLEN is nonzero, implement the default value of the action:
|
|
'$$ = $1'.
|
|
|
|
Otherwise, the following line sets YYVAL to garbage.
|
|
This behavior is undocumented and Bison
|
|
users should not rely upon it. Assigning to YYVAL
|
|
unconditionally makes the parser a bit smaller, and it avoids a
|
|
GCC warning that YYVAL may be used uninitialized. */
|
|
yyval = yyvsp[1-yylen];
|
|
|
|
|
|
YY_REDUCE_PRINT (yyn);
|
|
switch (yyn)
|
|
{
|
|
case 2: /* variable_identifier: IDENTIFIER */
|
|
#line 392 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermTypedNode) = parseContext.handleVariable((yyvsp[0].lex).loc, (yyvsp[0].lex).symbol, (yyvsp[0].lex).string);
|
|
}
|
|
#line 5185 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 3: /* primary_expression: variable_identifier */
|
|
#line 398 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
|
|
}
|
|
#line 5193 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 4: /* primary_expression: LEFT_PAREN expression RIGHT_PAREN */
|
|
#line 401 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermTypedNode) = (yyvsp[-1].interm.intermTypedNode);
|
|
if ((yyval.interm.intermTypedNode)->getAsConstantUnion())
|
|
(yyval.interm.intermTypedNode)->getAsConstantUnion()->setExpression();
|
|
}
|
|
#line 5203 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 5: /* primary_expression: FLOATCONSTANT */
|
|
#line 406 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
|
|
}
|
|
#line 5211 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 6: /* primary_expression: INTCONSTANT */
|
|
#line 409 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
|
|
}
|
|
#line 5219 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 7: /* primary_expression: UINTCONSTANT */
|
|
#line 412 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned literal");
|
|
(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
|
|
}
|
|
#line 5228 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 8: /* primary_expression: BOOLCONSTANT */
|
|
#line 416 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
|
|
}
|
|
#line 5236 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 9: /* primary_expression: STRING_LITERAL */
|
|
#line 420 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true);
|
|
}
|
|
#line 5244 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 10: /* primary_expression: INT32CONSTANT */
|
|
#line 423 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed literal");
|
|
(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
|
|
}
|
|
#line 5253 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 11: /* primary_expression: UINT32CONSTANT */
|
|
#line 427 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed literal");
|
|
(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
|
|
}
|
|
#line 5262 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 12: /* primary_expression: INT64CONSTANT */
|
|
#line 431 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer literal");
|
|
(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i64, (yyvsp[0].lex).loc, true);
|
|
}
|
|
#line 5271 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 13: /* primary_expression: UINT64CONSTANT */
|
|
#line 435 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer literal");
|
|
(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u64, (yyvsp[0].lex).loc, true);
|
|
}
|
|
#line 5280 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 14: /* primary_expression: INT16CONSTANT */
|
|
#line 439 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitInt16Check((yyvsp[0].lex).loc, "16-bit integer literal");
|
|
(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((short)(yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
|
|
}
|
|
#line 5289 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 15: /* primary_expression: UINT16CONSTANT */
|
|
#line 443 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitInt16Check((yyvsp[0].lex).loc, "16-bit unsigned integer literal");
|
|
(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((unsigned short)(yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
|
|
}
|
|
#line 5298 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 16: /* primary_expression: DOUBLECONSTANT */
|
|
#line 447 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double literal");
|
|
if (! parseContext.symbolTable.atBuiltInLevel())
|
|
parseContext.doubleCheck((yyvsp[0].lex).loc, "double literal");
|
|
(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtDouble, (yyvsp[0].lex).loc, true);
|
|
}
|
|
#line 5309 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 17: /* primary_expression: FLOAT16CONSTANT */
|
|
#line 453 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16Check((yyvsp[0].lex).loc, "half float literal");
|
|
(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat16, (yyvsp[0].lex).loc, true);
|
|
}
|
|
#line 5318 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 18: /* postfix_expression: primary_expression */
|
|
#line 461 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
|
|
}
|
|
#line 5326 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 19: /* postfix_expression: postfix_expression LEFT_BRACKET integer_expression RIGHT_BRACKET */
|
|
#line 464 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermTypedNode) = parseContext.handleBracketDereference((yyvsp[-2].lex).loc, (yyvsp[-3].interm.intermTypedNode), (yyvsp[-1].interm.intermTypedNode));
|
|
}
|
|
#line 5334 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 20: /* postfix_expression: function_call */
|
|
#line 467 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
|
|
}
|
|
#line 5342 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 21: /* postfix_expression: postfix_expression DOT IDENTIFIER */
|
|
#line 470 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermTypedNode) = parseContext.handleDotDereference((yyvsp[0].lex).loc, (yyvsp[-2].interm.intermTypedNode), *(yyvsp[0].lex).string);
|
|
}
|
|
#line 5350 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 22: /* postfix_expression: postfix_expression INC_OP */
|
|
#line 473 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.variableCheck((yyvsp[-1].interm.intermTypedNode));
|
|
parseContext.lValueErrorCheck((yyvsp[0].lex).loc, "++", (yyvsp[-1].interm.intermTypedNode));
|
|
(yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[0].lex).loc, "++", EOpPostIncrement, (yyvsp[-1].interm.intermTypedNode));
|
|
}
|
|
#line 5360 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 23: /* postfix_expression: postfix_expression DEC_OP */
|
|
#line 478 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.variableCheck((yyvsp[-1].interm.intermTypedNode));
|
|
parseContext.lValueErrorCheck((yyvsp[0].lex).loc, "--", (yyvsp[-1].interm.intermTypedNode));
|
|
(yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[0].lex).loc, "--", EOpPostDecrement, (yyvsp[-1].interm.intermTypedNode));
|
|
}
|
|
#line 5370 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 24: /* integer_expression: expression */
|
|
#line 486 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.integerCheck((yyvsp[0].interm.intermTypedNode), "[]");
|
|
(yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
|
|
}
|
|
#line 5379 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 25: /* function_call: function_call_or_method */
|
|
#line 493 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermTypedNode) = parseContext.handleFunctionCall((yyvsp[0].interm).loc, (yyvsp[0].interm).function, (yyvsp[0].interm).intermNode);
|
|
delete (yyvsp[0].interm).function;
|
|
}
|
|
#line 5388 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 26: /* function_call_or_method: function_call_generic */
|
|
#line 500 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm) = (yyvsp[0].interm);
|
|
}
|
|
#line 5396 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 27: /* function_call_generic: function_call_header_with_parameters RIGHT_PAREN */
|
|
#line 506 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm) = (yyvsp[-1].interm);
|
|
(yyval.interm).loc = (yyvsp[0].lex).loc;
|
|
}
|
|
#line 5405 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 28: /* function_call_generic: function_call_header_no_parameters RIGHT_PAREN */
|
|
#line 510 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm) = (yyvsp[-1].interm);
|
|
(yyval.interm).loc = (yyvsp[0].lex).loc;
|
|
}
|
|
#line 5414 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 29: /* function_call_header_no_parameters: function_call_header VOID */
|
|
#line 517 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm) = (yyvsp[-1].interm);
|
|
}
|
|
#line 5422 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 30: /* function_call_header_no_parameters: function_call_header */
|
|
#line 520 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm) = (yyvsp[0].interm);
|
|
}
|
|
#line 5430 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 31: /* function_call_header_with_parameters: function_call_header assignment_expression */
|
|
#line 526 "MachineIndependent/glslang.y"
|
|
{
|
|
TParameter param = { 0, new TType };
|
|
param.type->shallowCopy((yyvsp[0].interm.intermTypedNode)->getType());
|
|
(yyvsp[-1].interm).function->addParameter(param);
|
|
(yyval.interm).function = (yyvsp[-1].interm).function;
|
|
(yyval.interm).intermNode = (yyvsp[0].interm.intermTypedNode);
|
|
}
|
|
#line 5442 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 32: /* function_call_header_with_parameters: function_call_header_with_parameters COMMA assignment_expression */
|
|
#line 533 "MachineIndependent/glslang.y"
|
|
{
|
|
TParameter param = { 0, new TType };
|
|
param.type->shallowCopy((yyvsp[0].interm.intermTypedNode)->getType());
|
|
(yyvsp[-2].interm).function->addParameter(param);
|
|
(yyval.interm).function = (yyvsp[-2].interm).function;
|
|
(yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
|
|
}
|
|
#line 5454 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 33: /* function_call_header: function_identifier LEFT_PAREN */
|
|
#line 543 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm) = (yyvsp[-1].interm);
|
|
}
|
|
#line 5462 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 34: /* function_identifier: type_specifier */
|
|
#line 551 "MachineIndependent/glslang.y"
|
|
{
|
|
// Constructor
|
|
(yyval.interm).intermNode = 0;
|
|
(yyval.interm).function = parseContext.handleConstructorCall((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type));
|
|
}
|
|
#line 5472 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 35: /* function_identifier: postfix_expression */
|
|
#line 556 "MachineIndependent/glslang.y"
|
|
{
|
|
//
|
|
// Should be a method or subroutine call, but we haven't recognized the arguments yet.
|
|
//
|
|
(yyval.interm).function = 0;
|
|
(yyval.interm).intermNode = 0;
|
|
|
|
TIntermMethod* method = (yyvsp[0].interm.intermTypedNode)->getAsMethodNode();
|
|
if (method) {
|
|
(yyval.interm).function = new TFunction(&method->getMethodName(), TType(EbtInt), EOpArrayLength);
|
|
(yyval.interm).intermNode = method->getObject();
|
|
} else {
|
|
TIntermSymbol* symbol = (yyvsp[0].interm.intermTypedNode)->getAsSymbolNode();
|
|
if (symbol) {
|
|
parseContext.reservedErrorCheck(symbol->getLoc(), symbol->getName());
|
|
TFunction *function = new TFunction(&symbol->getName(), TType(EbtVoid));
|
|
(yyval.interm).function = function;
|
|
} else
|
|
parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "function call, method, or subroutine call expected", "", "");
|
|
}
|
|
|
|
if ((yyval.interm).function == 0) {
|
|
// error recover
|
|
TString* empty = NewPoolTString("");
|
|
(yyval.interm).function = new TFunction(empty, TType(EbtVoid), EOpNull);
|
|
}
|
|
}
|
|
#line 5504 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 36: /* function_identifier: non_uniform_qualifier */
|
|
#line 584 "MachineIndependent/glslang.y"
|
|
{
|
|
// Constructor
|
|
(yyval.interm).intermNode = 0;
|
|
(yyval.interm).function = parseContext.handleConstructorCall((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type));
|
|
}
|
|
#line 5514 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 37: /* unary_expression: postfix_expression */
|
|
#line 593 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.variableCheck((yyvsp[0].interm.intermTypedNode));
|
|
(yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
|
|
if (TIntermMethod* method = (yyvsp[0].interm.intermTypedNode)->getAsMethodNode())
|
|
parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "incomplete method syntax", method->getMethodName().c_str(), "");
|
|
}
|
|
#line 5525 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 38: /* unary_expression: INC_OP unary_expression */
|
|
#line 599 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.lValueErrorCheck((yyvsp[-1].lex).loc, "++", (yyvsp[0].interm.intermTypedNode));
|
|
(yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[-1].lex).loc, "++", EOpPreIncrement, (yyvsp[0].interm.intermTypedNode));
|
|
}
|
|
#line 5534 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 39: /* unary_expression: DEC_OP unary_expression */
|
|
#line 603 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.lValueErrorCheck((yyvsp[-1].lex).loc, "--", (yyvsp[0].interm.intermTypedNode));
|
|
(yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[-1].lex).loc, "--", EOpPreDecrement, (yyvsp[0].interm.intermTypedNode));
|
|
}
|
|
#line 5543 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 40: /* unary_expression: unary_operator unary_expression */
|
|
#line 607 "MachineIndependent/glslang.y"
|
|
{
|
|
if ((yyvsp[-1].interm).op != EOpNull) {
|
|
char errorOp[2] = {0, 0};
|
|
switch((yyvsp[-1].interm).op) {
|
|
case EOpNegative: errorOp[0] = '-'; break;
|
|
case EOpLogicalNot: errorOp[0] = '!'; break;
|
|
case EOpBitwiseNot: errorOp[0] = '~'; break;
|
|
default: break; // some compilers want this
|
|
}
|
|
(yyval.interm.intermTypedNode) = parseContext.handleUnaryMath((yyvsp[-1].interm).loc, errorOp, (yyvsp[-1].interm).op, (yyvsp[0].interm.intermTypedNode));
|
|
} else {
|
|
(yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
|
|
if ((yyval.interm.intermTypedNode)->getAsConstantUnion())
|
|
(yyval.interm.intermTypedNode)->getAsConstantUnion()->setExpression();
|
|
}
|
|
}
|
|
#line 5564 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 41: /* unary_operator: PLUS */
|
|
#line 627 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpNull; }
|
|
#line 5570 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 42: /* unary_operator: DASH */
|
|
#line 628 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpNegative; }
|
|
#line 5576 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 43: /* unary_operator: BANG */
|
|
#line 629 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpLogicalNot; }
|
|
#line 5582 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 44: /* unary_operator: TILDE */
|
|
#line 630 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpBitwiseNot;
|
|
parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bitwise not"); }
|
|
#line 5589 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 45: /* multiplicative_expression: unary_expression */
|
|
#line 636 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
|
|
#line 5595 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 46: /* multiplicative_expression: multiplicative_expression STAR unary_expression */
|
|
#line 637 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "*", EOpMul, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
|
|
if ((yyval.interm.intermTypedNode) == 0)
|
|
(yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
|
|
}
|
|
#line 5605 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 47: /* multiplicative_expression: multiplicative_expression SLASH unary_expression */
|
|
#line 642 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "/", EOpDiv, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
|
|
if ((yyval.interm.intermTypedNode) == 0)
|
|
(yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
|
|
}
|
|
#line 5615 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 48: /* multiplicative_expression: multiplicative_expression PERCENT unary_expression */
|
|
#line 647 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "%");
|
|
(yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "%", EOpMod, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
|
|
if ((yyval.interm.intermTypedNode) == 0)
|
|
(yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
|
|
}
|
|
#line 5626 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 49: /* additive_expression: multiplicative_expression */
|
|
#line 656 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
|
|
#line 5632 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 50: /* additive_expression: additive_expression PLUS multiplicative_expression */
|
|
#line 657 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "+", EOpAdd, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
|
|
if ((yyval.interm.intermTypedNode) == 0)
|
|
(yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
|
|
}
|
|
#line 5642 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 51: /* additive_expression: additive_expression DASH multiplicative_expression */
|
|
#line 662 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "-", EOpSub, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
|
|
if ((yyval.interm.intermTypedNode) == 0)
|
|
(yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
|
|
}
|
|
#line 5652 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 52: /* shift_expression: additive_expression */
|
|
#line 670 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
|
|
#line 5658 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 53: /* shift_expression: shift_expression LEFT_OP additive_expression */
|
|
#line 671 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bit shift left");
|
|
(yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "<<", EOpLeftShift, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
|
|
if ((yyval.interm.intermTypedNode) == 0)
|
|
(yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
|
|
}
|
|
#line 5669 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 54: /* shift_expression: shift_expression RIGHT_OP additive_expression */
|
|
#line 677 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bit shift right");
|
|
(yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, ">>", EOpRightShift, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
|
|
if ((yyval.interm.intermTypedNode) == 0)
|
|
(yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
|
|
}
|
|
#line 5680 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 55: /* relational_expression: shift_expression */
|
|
#line 686 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
|
|
#line 5686 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 56: /* relational_expression: relational_expression LEFT_ANGLE shift_expression */
|
|
#line 687 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "<", EOpLessThan, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
|
|
if ((yyval.interm.intermTypedNode) == 0)
|
|
(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
|
|
}
|
|
#line 5696 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 57: /* relational_expression: relational_expression RIGHT_ANGLE shift_expression */
|
|
#line 692 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, ">", EOpGreaterThan, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
|
|
if ((yyval.interm.intermTypedNode) == 0)
|
|
(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
|
|
}
|
|
#line 5706 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 58: /* relational_expression: relational_expression LE_OP shift_expression */
|
|
#line 697 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "<=", EOpLessThanEqual, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
|
|
if ((yyval.interm.intermTypedNode) == 0)
|
|
(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
|
|
}
|
|
#line 5716 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 59: /* relational_expression: relational_expression GE_OP shift_expression */
|
|
#line 702 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, ">=", EOpGreaterThanEqual, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
|
|
if ((yyval.interm.intermTypedNode) == 0)
|
|
(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
|
|
}
|
|
#line 5726 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 60: /* equality_expression: relational_expression */
|
|
#line 710 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
|
|
#line 5732 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 61: /* equality_expression: equality_expression EQ_OP relational_expression */
|
|
#line 711 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.arrayObjectCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "array comparison");
|
|
parseContext.opaqueCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "==");
|
|
parseContext.specializationCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "==");
|
|
parseContext.referenceCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "==");
|
|
(yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "==", EOpEqual, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
|
|
if ((yyval.interm.intermTypedNode) == 0)
|
|
(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
|
|
}
|
|
#line 5746 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 62: /* equality_expression: equality_expression NE_OP relational_expression */
|
|
#line 720 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.arrayObjectCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "array comparison");
|
|
parseContext.opaqueCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "!=");
|
|
parseContext.specializationCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "!=");
|
|
parseContext.referenceCheck((yyvsp[-1].lex).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "!=");
|
|
(yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "!=", EOpNotEqual, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
|
|
if ((yyval.interm.intermTypedNode) == 0)
|
|
(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
|
|
}
|
|
#line 5760 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 63: /* and_expression: equality_expression */
|
|
#line 732 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
|
|
#line 5766 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 64: /* and_expression: and_expression AMPERSAND equality_expression */
|
|
#line 733 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bitwise and");
|
|
(yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "&", EOpAnd, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
|
|
if ((yyval.interm.intermTypedNode) == 0)
|
|
(yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
|
|
}
|
|
#line 5777 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 65: /* exclusive_or_expression: and_expression */
|
|
#line 742 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
|
|
#line 5783 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 66: /* exclusive_or_expression: exclusive_or_expression CARET and_expression */
|
|
#line 743 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bitwise exclusive or");
|
|
(yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "^", EOpExclusiveOr, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
|
|
if ((yyval.interm.intermTypedNode) == 0)
|
|
(yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
|
|
}
|
|
#line 5794 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 67: /* inclusive_or_expression: exclusive_or_expression */
|
|
#line 752 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
|
|
#line 5800 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 68: /* inclusive_or_expression: inclusive_or_expression VERTICAL_BAR exclusive_or_expression */
|
|
#line 753 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.fullIntegerCheck((yyvsp[-1].lex).loc, "bitwise inclusive or");
|
|
(yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "|", EOpInclusiveOr, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
|
|
if ((yyval.interm.intermTypedNode) == 0)
|
|
(yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
|
|
}
|
|
#line 5811 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 69: /* logical_and_expression: inclusive_or_expression */
|
|
#line 762 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
|
|
#line 5817 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 70: /* logical_and_expression: logical_and_expression AND_OP inclusive_or_expression */
|
|
#line 763 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "&&", EOpLogicalAnd, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
|
|
if ((yyval.interm.intermTypedNode) == 0)
|
|
(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
|
|
}
|
|
#line 5827 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 71: /* logical_xor_expression: logical_and_expression */
|
|
#line 771 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
|
|
#line 5833 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 72: /* logical_xor_expression: logical_xor_expression XOR_OP logical_and_expression */
|
|
#line 772 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "^^", EOpLogicalXor, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
|
|
if ((yyval.interm.intermTypedNode) == 0)
|
|
(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
|
|
}
|
|
#line 5843 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 73: /* logical_or_expression: logical_xor_expression */
|
|
#line 780 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
|
|
#line 5849 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 74: /* logical_or_expression: logical_or_expression OR_OP logical_xor_expression */
|
|
#line 781 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermTypedNode) = parseContext.handleBinaryMath((yyvsp[-1].lex).loc, "||", EOpLogicalOr, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
|
|
if ((yyval.interm.intermTypedNode) == 0)
|
|
(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion(false, (yyvsp[-1].lex).loc);
|
|
}
|
|
#line 5859 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 75: /* conditional_expression: logical_or_expression */
|
|
#line 789 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
|
|
#line 5865 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 76: /* $@1: %empty */
|
|
#line 790 "MachineIndependent/glslang.y"
|
|
{
|
|
++parseContext.controlFlowNestingLevel;
|
|
}
|
|
#line 5873 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 77: /* conditional_expression: logical_or_expression QUESTION $@1 expression COLON assignment_expression */
|
|
#line 793 "MachineIndependent/glslang.y"
|
|
{
|
|
--parseContext.controlFlowNestingLevel;
|
|
parseContext.boolCheck((yyvsp[-4].lex).loc, (yyvsp[-5].interm.intermTypedNode));
|
|
parseContext.rValueErrorCheck((yyvsp[-4].lex).loc, "?", (yyvsp[-5].interm.intermTypedNode));
|
|
parseContext.rValueErrorCheck((yyvsp[-1].lex).loc, ":", (yyvsp[-2].interm.intermTypedNode));
|
|
parseContext.rValueErrorCheck((yyvsp[-1].lex).loc, ":", (yyvsp[0].interm.intermTypedNode));
|
|
(yyval.interm.intermTypedNode) = parseContext.intermediate.addSelection((yyvsp[-5].interm.intermTypedNode), (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode), (yyvsp[-4].lex).loc);
|
|
if ((yyval.interm.intermTypedNode) == 0) {
|
|
parseContext.binaryOpError((yyvsp[-4].lex).loc, ":", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
|
|
(yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
|
|
}
|
|
}
|
|
#line 5890 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 78: /* assignment_expression: conditional_expression */
|
|
#line 808 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode); }
|
|
#line 5896 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 79: /* assignment_expression: unary_expression assignment_operator assignment_expression */
|
|
#line 809 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.arrayObjectCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "array assignment");
|
|
parseContext.opaqueCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "=");
|
|
parseContext.storage16BitAssignmentCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "=");
|
|
parseContext.specializationCheck((yyvsp[-1].interm).loc, (yyvsp[-2].interm.intermTypedNode)->getType(), "=");
|
|
parseContext.lValueErrorCheck((yyvsp[-1].interm).loc, "assign", (yyvsp[-2].interm.intermTypedNode));
|
|
parseContext.rValueErrorCheck((yyvsp[-1].interm).loc, "assign", (yyvsp[0].interm.intermTypedNode));
|
|
(yyval.interm.intermTypedNode) = parseContext.addAssign((yyvsp[-1].interm).loc, (yyvsp[-1].interm).op, (yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
|
|
if ((yyval.interm.intermTypedNode) == 0) {
|
|
parseContext.assignError((yyvsp[-1].interm).loc, "assign", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
|
|
(yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
|
|
}
|
|
}
|
|
#line 5914 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 80: /* assignment_operator: EQUAL */
|
|
#line 825 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm).loc = (yyvsp[0].lex).loc;
|
|
(yyval.interm).op = EOpAssign;
|
|
}
|
|
#line 5923 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 81: /* assignment_operator: MUL_ASSIGN */
|
|
#line 829 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm).loc = (yyvsp[0].lex).loc;
|
|
(yyval.interm).op = EOpMulAssign;
|
|
}
|
|
#line 5932 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 82: /* assignment_operator: DIV_ASSIGN */
|
|
#line 833 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm).loc = (yyvsp[0].lex).loc;
|
|
(yyval.interm).op = EOpDivAssign;
|
|
}
|
|
#line 5941 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 83: /* assignment_operator: MOD_ASSIGN */
|
|
#line 837 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "%=");
|
|
(yyval.interm).loc = (yyvsp[0].lex).loc;
|
|
(yyval.interm).op = EOpModAssign;
|
|
}
|
|
#line 5951 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 84: /* assignment_operator: ADD_ASSIGN */
|
|
#line 842 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm).loc = (yyvsp[0].lex).loc;
|
|
(yyval.interm).op = EOpAddAssign;
|
|
}
|
|
#line 5960 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 85: /* assignment_operator: SUB_ASSIGN */
|
|
#line 846 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm).loc = (yyvsp[0].lex).loc;
|
|
(yyval.interm).op = EOpSubAssign;
|
|
}
|
|
#line 5969 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 86: /* assignment_operator: LEFT_ASSIGN */
|
|
#line 850 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bit-shift left assign");
|
|
(yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpLeftShiftAssign;
|
|
}
|
|
#line 5978 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 87: /* assignment_operator: RIGHT_ASSIGN */
|
|
#line 854 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bit-shift right assign");
|
|
(yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpRightShiftAssign;
|
|
}
|
|
#line 5987 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 88: /* assignment_operator: AND_ASSIGN */
|
|
#line 858 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bitwise-and assign");
|
|
(yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpAndAssign;
|
|
}
|
|
#line 5996 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 89: /* assignment_operator: XOR_ASSIGN */
|
|
#line 862 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bitwise-xor assign");
|
|
(yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpExclusiveOrAssign;
|
|
}
|
|
#line 6005 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 90: /* assignment_operator: OR_ASSIGN */
|
|
#line 866 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "bitwise-or assign");
|
|
(yyval.interm).loc = (yyvsp[0].lex).loc; (yyval.interm).op = EOpInclusiveOrAssign;
|
|
}
|
|
#line 6014 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 91: /* expression: assignment_expression */
|
|
#line 873 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
|
|
}
|
|
#line 6022 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 92: /* expression: expression COMMA assignment_expression */
|
|
#line 876 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.samplerConstructorLocationCheck((yyvsp[-1].lex).loc, ",", (yyvsp[0].interm.intermTypedNode));
|
|
(yyval.interm.intermTypedNode) = parseContext.intermediate.addComma((yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode), (yyvsp[-1].lex).loc);
|
|
if ((yyval.interm.intermTypedNode) == 0) {
|
|
parseContext.binaryOpError((yyvsp[-1].lex).loc, ",", (yyvsp[-2].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()), (yyvsp[0].interm.intermTypedNode)->getCompleteString(parseContext.intermediate.getEnhancedMsgs()));
|
|
(yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
|
|
}
|
|
}
|
|
#line 6035 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 93: /* constant_expression: conditional_expression */
|
|
#line 887 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.constantValueCheck((yyvsp[0].interm.intermTypedNode), "");
|
|
(yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
|
|
}
|
|
#line 6044 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 94: /* declaration: function_prototype SEMICOLON */
|
|
#line 894 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.handleFunctionDeclarator((yyvsp[-1].interm).loc, *(yyvsp[-1].interm).function, true /* prototype */);
|
|
(yyval.interm.intermNode) = 0;
|
|
// TODO: 4.0 functionality: subroutines: make the identifier a user type for this signature
|
|
}
|
|
#line 6054 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 95: /* declaration: spirv_instruction_qualifier function_prototype SEMICOLON */
|
|
#line 900 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireExtensions((yyvsp[-1].interm).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V instruction qualifier");
|
|
(yyvsp[-1].interm).function->setSpirvInstruction(*(yyvsp[-2].interm.spirvInst)); // Attach SPIR-V intruction qualifier
|
|
parseContext.handleFunctionDeclarator((yyvsp[-1].interm).loc, *(yyvsp[-1].interm).function, true /* prototype */);
|
|
(yyval.interm.intermNode) = 0;
|
|
// TODO: 4.0 functionality: subroutines: make the identifier a user type for this signature
|
|
}
|
|
#line 6066 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 96: /* declaration: spirv_execution_mode_qualifier SEMICOLON */
|
|
#line 907 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "SPIR-V execution mode qualifier");
|
|
parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V execution mode qualifier");
|
|
(yyval.interm.intermNode) = 0;
|
|
}
|
|
#line 6076 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 97: /* declaration: init_declarator_list SEMICOLON */
|
|
#line 913 "MachineIndependent/glslang.y"
|
|
{
|
|
if ((yyvsp[-1].interm).intermNode && (yyvsp[-1].interm).intermNode->getAsAggregate())
|
|
(yyvsp[-1].interm).intermNode->getAsAggregate()->setOperator(EOpSequence);
|
|
(yyval.interm.intermNode) = (yyvsp[-1].interm).intermNode;
|
|
}
|
|
#line 6086 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 98: /* declaration: PRECISION precision_qualifier type_specifier SEMICOLON */
|
|
#line 918 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.profileRequires((yyvsp[-3].lex).loc, ENoProfile, 130, 0, "precision statement");
|
|
// lazy setting of the previous scope's defaults, has effect only the first time it is called in a particular scope
|
|
parseContext.symbolTable.setPreviousDefaultPrecisions(&parseContext.defaultPrecision[0]);
|
|
parseContext.setDefaultPrecision((yyvsp[-3].lex).loc, (yyvsp[-1].interm.type), (yyvsp[-2].interm.type).qualifier.precision);
|
|
(yyval.interm.intermNode) = 0;
|
|
}
|
|
#line 6098 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 99: /* declaration: block_structure SEMICOLON */
|
|
#line 925 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.declareBlock((yyvsp[-1].interm).loc, *(yyvsp[-1].interm).typeList);
|
|
(yyval.interm.intermNode) = 0;
|
|
}
|
|
#line 6107 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 100: /* declaration: block_structure IDENTIFIER SEMICOLON */
|
|
#line 929 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.declareBlock((yyvsp[-2].interm).loc, *(yyvsp[-2].interm).typeList, (yyvsp[-1].lex).string);
|
|
(yyval.interm.intermNode) = 0;
|
|
}
|
|
#line 6116 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 101: /* declaration: block_structure IDENTIFIER array_specifier SEMICOLON */
|
|
#line 933 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.declareBlock((yyvsp[-3].interm).loc, *(yyvsp[-3].interm).typeList, (yyvsp[-2].lex).string, (yyvsp[-1].interm).arraySizes);
|
|
(yyval.interm.intermNode) = 0;
|
|
}
|
|
#line 6125 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 102: /* declaration: type_qualifier SEMICOLON */
|
|
#line 937 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.globalQualifierFixCheck((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier);
|
|
parseContext.updateStandaloneQualifierDefaults((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type));
|
|
(yyval.interm.intermNode) = 0;
|
|
}
|
|
#line 6135 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 103: /* declaration: type_qualifier IDENTIFIER SEMICOLON */
|
|
#line 942 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.checkNoShaderLayouts((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).shaderQualifiers);
|
|
parseContext.addQualifierToExisting((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).qualifier, *(yyvsp[-1].lex).string);
|
|
(yyval.interm.intermNode) = 0;
|
|
}
|
|
#line 6145 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 104: /* declaration: type_qualifier IDENTIFIER identifier_list SEMICOLON */
|
|
#line 947 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.checkNoShaderLayouts((yyvsp[-3].interm.type).loc, (yyvsp[-3].interm.type).shaderQualifiers);
|
|
(yyvsp[-1].interm.identifierList)->push_back((yyvsp[-2].lex).string);
|
|
parseContext.addQualifierToExisting((yyvsp[-3].interm.type).loc, (yyvsp[-3].interm.type).qualifier, *(yyvsp[-1].interm.identifierList));
|
|
(yyval.interm.intermNode) = 0;
|
|
}
|
|
#line 6156 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 105: /* $@2: %empty */
|
|
#line 956 "MachineIndependent/glslang.y"
|
|
{ parseContext.nestedBlockCheck((yyvsp[-2].interm.type).loc); }
|
|
#line 6162 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 106: /* block_structure: type_qualifier IDENTIFIER LEFT_BRACE $@2 struct_declaration_list RIGHT_BRACE */
|
|
#line 956 "MachineIndependent/glslang.y"
|
|
{
|
|
--parseContext.blockNestingLevel;
|
|
parseContext.blockName = (yyvsp[-4].lex).string;
|
|
parseContext.globalQualifierFixCheck((yyvsp[-5].interm.type).loc, (yyvsp[-5].interm.type).qualifier);
|
|
parseContext.checkNoShaderLayouts((yyvsp[-5].interm.type).loc, (yyvsp[-5].interm.type).shaderQualifiers);
|
|
parseContext.currentBlockQualifier = (yyvsp[-5].interm.type).qualifier;
|
|
(yyval.interm).loc = (yyvsp[-5].interm.type).loc;
|
|
(yyval.interm).typeList = (yyvsp[-1].interm.typeList);
|
|
}
|
|
#line 6176 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 107: /* identifier_list: COMMA IDENTIFIER */
|
|
#line 967 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.identifierList) = new TIdentifierList;
|
|
(yyval.interm.identifierList)->push_back((yyvsp[0].lex).string);
|
|
}
|
|
#line 6185 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 108: /* identifier_list: identifier_list COMMA IDENTIFIER */
|
|
#line 971 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.identifierList) = (yyvsp[-2].interm.identifierList);
|
|
(yyval.interm.identifierList)->push_back((yyvsp[0].lex).string);
|
|
}
|
|
#line 6194 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 109: /* function_prototype: function_declarator RIGHT_PAREN */
|
|
#line 978 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm).function = (yyvsp[-1].interm.function);
|
|
(yyval.interm).loc = (yyvsp[0].lex).loc;
|
|
}
|
|
#line 6203 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 110: /* function_prototype: function_declarator RIGHT_PAREN attribute */
|
|
#line 982 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm).function = (yyvsp[-2].interm.function);
|
|
(yyval.interm).loc = (yyvsp[-1].lex).loc;
|
|
parseContext.requireExtensions((yyvsp[-1].lex).loc, 1, &E_GL_EXT_subgroup_uniform_control_flow, "attribute");
|
|
parseContext.handleFunctionAttributes((yyvsp[-1].lex).loc, *(yyvsp[0].interm.attributes));
|
|
}
|
|
#line 6214 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 111: /* function_prototype: attribute function_declarator RIGHT_PAREN */
|
|
#line 988 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm).function = (yyvsp[-1].interm.function);
|
|
(yyval.interm).loc = (yyvsp[0].lex).loc;
|
|
parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_subgroup_uniform_control_flow, "attribute");
|
|
parseContext.handleFunctionAttributes((yyvsp[0].lex).loc, *(yyvsp[-2].interm.attributes));
|
|
}
|
|
#line 6225 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 112: /* function_prototype: attribute function_declarator RIGHT_PAREN attribute */
|
|
#line 994 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm).function = (yyvsp[-2].interm.function);
|
|
(yyval.interm).loc = (yyvsp[-1].lex).loc;
|
|
parseContext.requireExtensions((yyvsp[-1].lex).loc, 1, &E_GL_EXT_subgroup_uniform_control_flow, "attribute");
|
|
parseContext.handleFunctionAttributes((yyvsp[-1].lex).loc, *(yyvsp[-3].interm.attributes));
|
|
parseContext.handleFunctionAttributes((yyvsp[-1].lex).loc, *(yyvsp[0].interm.attributes));
|
|
}
|
|
#line 6237 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 113: /* function_declarator: function_header */
|
|
#line 1004 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.function) = (yyvsp[0].interm.function);
|
|
}
|
|
#line 6245 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 114: /* function_declarator: function_header_with_parameters */
|
|
#line 1007 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.function) = (yyvsp[0].interm.function);
|
|
}
|
|
#line 6253 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 115: /* function_header_with_parameters: function_header parameter_declaration */
|
|
#line 1014 "MachineIndependent/glslang.y"
|
|
{
|
|
// Add the parameter
|
|
(yyval.interm.function) = (yyvsp[-1].interm.function);
|
|
if ((yyvsp[0].interm).param.type->getBasicType() != EbtVoid)
|
|
(yyvsp[-1].interm.function)->addParameter((yyvsp[0].interm).param);
|
|
else
|
|
delete (yyvsp[0].interm).param.type;
|
|
}
|
|
#line 6266 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 116: /* function_header_with_parameters: function_header_with_parameters COMMA parameter_declaration */
|
|
#line 1022 "MachineIndependent/glslang.y"
|
|
{
|
|
//
|
|
// Only first parameter of one-parameter functions can be void
|
|
// The check for named parameters not being void is done in parameter_declarator
|
|
//
|
|
if ((yyvsp[0].interm).param.type->getBasicType() == EbtVoid) {
|
|
//
|
|
// This parameter > first is void
|
|
//
|
|
parseContext.error((yyvsp[-1].lex).loc, "cannot be an argument type except for '(void)'", "void", "");
|
|
delete (yyvsp[0].interm).param.type;
|
|
} else {
|
|
// Add the parameter
|
|
(yyval.interm.function) = (yyvsp[-2].interm.function);
|
|
(yyvsp[-2].interm.function)->addParameter((yyvsp[0].interm).param);
|
|
}
|
|
}
|
|
#line 6288 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 117: /* function_header: fully_specified_type IDENTIFIER LEFT_PAREN */
|
|
#line 1042 "MachineIndependent/glslang.y"
|
|
{
|
|
if ((yyvsp[-2].interm.type).qualifier.storage != EvqGlobal && (yyvsp[-2].interm.type).qualifier.storage != EvqTemporary) {
|
|
parseContext.error((yyvsp[-1].lex).loc, "no qualifiers allowed for function return",
|
|
GetStorageQualifierString((yyvsp[-2].interm.type).qualifier.storage), "");
|
|
}
|
|
if ((yyvsp[-2].interm.type).arraySizes)
|
|
parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
|
|
|
|
// Add the function as a prototype after parsing it (we do not support recursion)
|
|
TFunction *function;
|
|
TType type((yyvsp[-2].interm.type));
|
|
|
|
// Potentially rename shader entry point function. No-op most of the time.
|
|
parseContext.renameShaderFunction((yyvsp[-1].lex).string);
|
|
|
|
// Make the function
|
|
function = new TFunction((yyvsp[-1].lex).string, type);
|
|
(yyval.interm.function) = function;
|
|
}
|
|
#line 6312 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 118: /* parameter_declarator: type_specifier IDENTIFIER */
|
|
#line 1065 "MachineIndependent/glslang.y"
|
|
{
|
|
if ((yyvsp[-1].interm.type).arraySizes) {
|
|
parseContext.profileRequires((yyvsp[-1].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
|
|
parseContext.profileRequires((yyvsp[-1].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
|
|
parseContext.arraySizeRequiredCheck((yyvsp[-1].interm.type).loc, *(yyvsp[-1].interm.type).arraySizes);
|
|
}
|
|
if ((yyvsp[-1].interm.type).basicType == EbtVoid) {
|
|
parseContext.error((yyvsp[0].lex).loc, "illegal use of type 'void'", (yyvsp[0].lex).string->c_str(), "");
|
|
}
|
|
parseContext.reservedErrorCheck((yyvsp[0].lex).loc, *(yyvsp[0].lex).string);
|
|
|
|
TParameter param = {(yyvsp[0].lex).string, new TType((yyvsp[-1].interm.type))};
|
|
(yyval.interm).loc = (yyvsp[0].lex).loc;
|
|
(yyval.interm).param = param;
|
|
}
|
|
#line 6332 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 119: /* parameter_declarator: type_specifier IDENTIFIER array_specifier */
|
|
#line 1080 "MachineIndependent/glslang.y"
|
|
{
|
|
if ((yyvsp[-2].interm.type).arraySizes) {
|
|
parseContext.profileRequires((yyvsp[-2].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
|
|
parseContext.profileRequires((yyvsp[-2].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
|
|
parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
|
|
}
|
|
TType* type = new TType((yyvsp[-2].interm.type));
|
|
type->transferArraySizes((yyvsp[0].interm).arraySizes);
|
|
type->copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
|
|
|
|
parseContext.arrayOfArrayVersionCheck((yyvsp[-1].lex).loc, type->getArraySizes());
|
|
parseContext.arraySizeRequiredCheck((yyvsp[0].interm).loc, *(yyvsp[0].interm).arraySizes);
|
|
parseContext.reservedErrorCheck((yyvsp[-1].lex).loc, *(yyvsp[-1].lex).string);
|
|
|
|
TParameter param = { (yyvsp[-1].lex).string, type };
|
|
|
|
(yyval.interm).loc = (yyvsp[-1].lex).loc;
|
|
(yyval.interm).param = param;
|
|
}
|
|
#line 6356 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 120: /* parameter_declaration: type_qualifier parameter_declarator */
|
|
#line 1105 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm) = (yyvsp[0].interm);
|
|
if ((yyvsp[-1].interm.type).qualifier.precision != EpqNone)
|
|
(yyval.interm).param.type->getQualifier().precision = (yyvsp[-1].interm.type).qualifier.precision;
|
|
parseContext.precisionQualifierCheck((yyval.interm).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier());
|
|
|
|
parseContext.checkNoShaderLayouts((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).shaderQualifiers);
|
|
parseContext.parameterTypeCheck((yyvsp[0].interm).loc, (yyvsp[-1].interm.type).qualifier.storage, *(yyval.interm).param.type);
|
|
parseContext.paramCheckFix((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, *(yyval.interm).param.type);
|
|
|
|
}
|
|
#line 6372 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 121: /* parameter_declaration: parameter_declarator */
|
|
#line 1116 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm) = (yyvsp[0].interm);
|
|
|
|
parseContext.parameterTypeCheck((yyvsp[0].interm).loc, EvqIn, *(yyvsp[0].interm).param.type);
|
|
parseContext.paramCheckFixStorage((yyvsp[0].interm).loc, EvqTemporary, *(yyval.interm).param.type);
|
|
parseContext.precisionQualifierCheck((yyval.interm).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier());
|
|
}
|
|
#line 6384 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 122: /* parameter_declaration: type_qualifier parameter_type_specifier */
|
|
#line 1126 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm) = (yyvsp[0].interm);
|
|
if ((yyvsp[-1].interm.type).qualifier.precision != EpqNone)
|
|
(yyval.interm).param.type->getQualifier().precision = (yyvsp[-1].interm.type).qualifier.precision;
|
|
parseContext.precisionQualifierCheck((yyvsp[-1].interm.type).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier());
|
|
|
|
parseContext.checkNoShaderLayouts((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).shaderQualifiers);
|
|
parseContext.parameterTypeCheck((yyvsp[0].interm).loc, (yyvsp[-1].interm.type).qualifier.storage, *(yyval.interm).param.type);
|
|
parseContext.paramCheckFix((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, *(yyval.interm).param.type);
|
|
}
|
|
#line 6399 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 123: /* parameter_declaration: parameter_type_specifier */
|
|
#line 1136 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm) = (yyvsp[0].interm);
|
|
|
|
parseContext.parameterTypeCheck((yyvsp[0].interm).loc, EvqIn, *(yyvsp[0].interm).param.type);
|
|
parseContext.paramCheckFixStorage((yyvsp[0].interm).loc, EvqTemporary, *(yyval.interm).param.type);
|
|
parseContext.precisionQualifierCheck((yyval.interm).loc, (yyval.interm).param.type->getBasicType(), (yyval.interm).param.type->getQualifier());
|
|
}
|
|
#line 6411 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 124: /* parameter_type_specifier: type_specifier */
|
|
#line 1146 "MachineIndependent/glslang.y"
|
|
{
|
|
TParameter param = { 0, new TType((yyvsp[0].interm.type)) };
|
|
(yyval.interm).param = param;
|
|
if ((yyvsp[0].interm.type).arraySizes)
|
|
parseContext.arraySizeRequiredCheck((yyvsp[0].interm.type).loc, *(yyvsp[0].interm.type).arraySizes);
|
|
}
|
|
#line 6422 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 125: /* init_declarator_list: single_declaration */
|
|
#line 1155 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm) = (yyvsp[0].interm);
|
|
}
|
|
#line 6430 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 126: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER */
|
|
#line 1158 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm) = (yyvsp[-2].interm);
|
|
parseContext.declareVariable((yyvsp[0].lex).loc, *(yyvsp[0].lex).string, (yyvsp[-2].interm).type);
|
|
}
|
|
#line 6439 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 127: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER array_specifier */
|
|
#line 1162 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm) = (yyvsp[-3].interm);
|
|
parseContext.declareVariable((yyvsp[-1].lex).loc, *(yyvsp[-1].lex).string, (yyvsp[-3].interm).type, (yyvsp[0].interm).arraySizes);
|
|
}
|
|
#line 6448 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 128: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER array_specifier EQUAL initializer */
|
|
#line 1166 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm).type = (yyvsp[-5].interm).type;
|
|
TIntermNode* initNode = parseContext.declareVariable((yyvsp[-3].lex).loc, *(yyvsp[-3].lex).string, (yyvsp[-5].interm).type, (yyvsp[-2].interm).arraySizes, (yyvsp[0].interm.intermTypedNode));
|
|
(yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-5].interm).intermNode, initNode, (yyvsp[-1].lex).loc);
|
|
}
|
|
#line 6458 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 129: /* init_declarator_list: init_declarator_list COMMA IDENTIFIER EQUAL initializer */
|
|
#line 1171 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm).type = (yyvsp[-4].interm).type;
|
|
TIntermNode* initNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[-4].interm).type, 0, (yyvsp[0].interm.intermTypedNode));
|
|
(yyval.interm).intermNode = parseContext.intermediate.growAggregate((yyvsp[-4].interm).intermNode, initNode, (yyvsp[-1].lex).loc);
|
|
}
|
|
#line 6468 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 130: /* single_declaration: fully_specified_type */
|
|
#line 1179 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm).type = (yyvsp[0].interm.type);
|
|
(yyval.interm).intermNode = 0;
|
|
|
|
parseContext.declareTypeDefaults((yyval.interm).loc, (yyval.interm).type);
|
|
|
|
}
|
|
#line 6480 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 131: /* single_declaration: fully_specified_type IDENTIFIER */
|
|
#line 1186 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm).type = (yyvsp[-1].interm.type);
|
|
(yyval.interm).intermNode = 0;
|
|
parseContext.declareVariable((yyvsp[0].lex).loc, *(yyvsp[0].lex).string, (yyvsp[-1].interm.type));
|
|
}
|
|
#line 6490 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 132: /* single_declaration: fully_specified_type IDENTIFIER array_specifier */
|
|
#line 1191 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm).type = (yyvsp[-2].interm.type);
|
|
(yyval.interm).intermNode = 0;
|
|
parseContext.declareVariable((yyvsp[-1].lex).loc, *(yyvsp[-1].lex).string, (yyvsp[-2].interm.type), (yyvsp[0].interm).arraySizes);
|
|
}
|
|
#line 6500 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 133: /* single_declaration: fully_specified_type IDENTIFIER array_specifier EQUAL initializer */
|
|
#line 1196 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm).type = (yyvsp[-4].interm.type);
|
|
TIntermNode* initNode = parseContext.declareVariable((yyvsp[-3].lex).loc, *(yyvsp[-3].lex).string, (yyvsp[-4].interm.type), (yyvsp[-2].interm).arraySizes, (yyvsp[0].interm.intermTypedNode));
|
|
(yyval.interm).intermNode = parseContext.intermediate.growAggregate(0, initNode, (yyvsp[-1].lex).loc);
|
|
}
|
|
#line 6510 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 134: /* single_declaration: fully_specified_type IDENTIFIER EQUAL initializer */
|
|
#line 1201 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm).type = (yyvsp[-3].interm.type);
|
|
TIntermNode* initNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[-3].interm.type), 0, (yyvsp[0].interm.intermTypedNode));
|
|
(yyval.interm).intermNode = parseContext.intermediate.growAggregate(0, initNode, (yyvsp[-1].lex).loc);
|
|
}
|
|
#line 6520 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 135: /* fully_specified_type: type_specifier */
|
|
#line 1210 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type) = (yyvsp[0].interm.type);
|
|
|
|
parseContext.globalQualifierTypeCheck((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).qualifier, (yyval.interm.type));
|
|
if ((yyvsp[0].interm.type).arraySizes) {
|
|
parseContext.profileRequires((yyvsp[0].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
|
|
parseContext.profileRequires((yyvsp[0].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
|
|
}
|
|
parseContext.precisionQualifierCheck((yyval.interm.type).loc, (yyval.interm.type).basicType, (yyval.interm.type).qualifier);
|
|
}
|
|
#line 6535 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 136: /* fully_specified_type: type_qualifier type_specifier */
|
|
#line 1220 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.globalQualifierFixCheck((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier);
|
|
parseContext.globalQualifierTypeCheck((yyvsp[-1].interm.type).loc, (yyvsp[-1].interm.type).qualifier, (yyvsp[0].interm.type));
|
|
|
|
if ((yyvsp[0].interm.type).arraySizes) {
|
|
parseContext.profileRequires((yyvsp[0].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
|
|
parseContext.profileRequires((yyvsp[0].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
|
|
}
|
|
|
|
if ((yyvsp[0].interm.type).arraySizes && parseContext.arrayQualifierError((yyvsp[0].interm.type).loc, (yyvsp[-1].interm.type).qualifier))
|
|
(yyvsp[0].interm.type).arraySizes = nullptr;
|
|
|
|
parseContext.checkNoShaderLayouts((yyvsp[0].interm.type).loc, (yyvsp[-1].interm.type).shaderQualifiers);
|
|
(yyvsp[0].interm.type).shaderQualifiers.merge((yyvsp[-1].interm.type).shaderQualifiers);
|
|
parseContext.mergeQualifiers((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).qualifier, (yyvsp[-1].interm.type).qualifier, true);
|
|
parseContext.precisionQualifierCheck((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).basicType, (yyvsp[0].interm.type).qualifier);
|
|
|
|
(yyval.interm.type) = (yyvsp[0].interm.type);
|
|
|
|
if (! (yyval.interm.type).qualifier.isInterpolation() &&
|
|
((parseContext.language == EShLangVertex && (yyval.interm.type).qualifier.storage == EvqVaryingOut) ||
|
|
(parseContext.language == EShLangFragment && (yyval.interm.type).qualifier.storage == EvqVaryingIn)))
|
|
(yyval.interm.type).qualifier.smooth = true;
|
|
}
|
|
#line 6564 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 137: /* invariant_qualifier: INVARIANT */
|
|
#line 1247 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "invariant");
|
|
parseContext.profileRequires((yyval.interm.type).loc, ENoProfile, 120, 0, "invariant");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.invariant = true;
|
|
}
|
|
#line 6575 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 138: /* interpolation_qualifier: SMOOTH */
|
|
#line 1256 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "smooth");
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "smooth");
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 300, 0, "smooth");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.smooth = true;
|
|
}
|
|
#line 6587 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 139: /* interpolation_qualifier: FLAT */
|
|
#line 1263 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "flat");
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "flat");
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 300, 0, "flat");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.flat = true;
|
|
}
|
|
#line 6599 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 140: /* interpolation_qualifier: NOPERSPECTIVE */
|
|
#line 1271 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "noperspective");
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 0, E_GL_NV_shader_noperspective_interpolation, "noperspective");
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "noperspective");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.nopersp = true;
|
|
}
|
|
#line 6611 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 141: /* interpolation_qualifier: EXPLICITINTERPAMD */
|
|
#line 1278 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "__explicitInterpAMD");
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 450, E_GL_AMD_shader_explicit_vertex_parameter, "explicit interpolation");
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, ECompatibilityProfile, 450, E_GL_AMD_shader_explicit_vertex_parameter, "explicit interpolation");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.explicitInterp = true;
|
|
}
|
|
#line 6623 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 142: /* interpolation_qualifier: PERVERTEXNV */
|
|
#line 1285 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "pervertexNV");
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 0, E_GL_NV_fragment_shader_barycentric, "fragment shader barycentric");
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, ECompatibilityProfile, 0, E_GL_NV_fragment_shader_barycentric, "fragment shader barycentric");
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 0, E_GL_NV_fragment_shader_barycentric, "fragment shader barycentric");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.pervertexNV = true;
|
|
}
|
|
#line 6636 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 143: /* interpolation_qualifier: PERVERTEXEXT */
|
|
#line 1293 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "pervertexEXT");
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 0, E_GL_EXT_fragment_shader_barycentric, "fragment shader barycentric");
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, ECompatibilityProfile, 0, E_GL_EXT_fragment_shader_barycentric, "fragment shader barycentric");
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 0, E_GL_EXT_fragment_shader_barycentric, "fragment shader barycentric");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.pervertexEXT = true;
|
|
}
|
|
#line 6649 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 144: /* interpolation_qualifier: PERPRIMITIVENV */
|
|
#line 1301 "MachineIndependent/glslang.y"
|
|
{
|
|
// No need for profile version or extension check. Shader stage already checks both.
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "perprimitiveNV");
|
|
parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangFragmentMask | EShLangMeshNVMask), "perprimitiveNV");
|
|
// Fragment shader stage doesn't check for extension. So we explicitly add below extension check.
|
|
if (parseContext.language == EShLangFragment)
|
|
parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_NV_mesh_shader, "perprimitiveNV");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.perPrimitiveNV = true;
|
|
}
|
|
#line 6664 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 145: /* interpolation_qualifier: PERVIEWNV */
|
|
#line 1311 "MachineIndependent/glslang.y"
|
|
{
|
|
// No need for profile version or extension check. Shader stage already checks both.
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "perviewNV");
|
|
parseContext.requireStage((yyvsp[0].lex).loc, EShLangMeshNV, "perviewNV");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.perViewNV = true;
|
|
}
|
|
#line 6676 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 146: /* interpolation_qualifier: PERTASKNV */
|
|
#line 1318 "MachineIndependent/glslang.y"
|
|
{
|
|
// No need for profile version or extension check. Shader stage already checks both.
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "taskNV");
|
|
parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangTaskNVMask | EShLangMeshNVMask), "taskNV");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.perTaskNV = true;
|
|
}
|
|
#line 6688 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 147: /* layout_qualifier: LAYOUT LEFT_PAREN layout_qualifier_id_list RIGHT_PAREN */
|
|
#line 1329 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type) = (yyvsp[-1].interm.type);
|
|
}
|
|
#line 6696 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 148: /* layout_qualifier_id_list: layout_qualifier_id */
|
|
#line 1335 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type) = (yyvsp[0].interm.type);
|
|
}
|
|
#line 6704 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 149: /* layout_qualifier_id_list: layout_qualifier_id_list COMMA layout_qualifier_id */
|
|
#line 1338 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type) = (yyvsp[-2].interm.type);
|
|
(yyval.interm.type).shaderQualifiers.merge((yyvsp[0].interm.type).shaderQualifiers);
|
|
parseContext.mergeObjectLayoutQualifiers((yyval.interm.type).qualifier, (yyvsp[0].interm.type).qualifier, false);
|
|
}
|
|
#line 6714 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 150: /* layout_qualifier_id: IDENTIFIER */
|
|
#line 1345 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
parseContext.setLayoutQualifier((yyvsp[0].lex).loc, (yyval.interm.type), *(yyvsp[0].lex).string);
|
|
}
|
|
#line 6723 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 151: /* layout_qualifier_id: IDENTIFIER EQUAL constant_expression */
|
|
#line 1349 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[-2].lex).loc);
|
|
parseContext.setLayoutQualifier((yyvsp[-2].lex).loc, (yyval.interm.type), *(yyvsp[-2].lex).string, (yyvsp[0].interm.intermTypedNode));
|
|
}
|
|
#line 6732 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 152: /* layout_qualifier_id: SHARED */
|
|
#line 1353 "MachineIndependent/glslang.y"
|
|
{ // because "shared" is both an identifier and a keyword
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
TString strShared("shared");
|
|
parseContext.setLayoutQualifier((yyvsp[0].lex).loc, (yyval.interm.type), strShared);
|
|
}
|
|
#line 6742 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 153: /* precise_qualifier: PRECISE */
|
|
#line 1362 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.profileRequires((yyval.interm.type).loc, ECoreProfile | ECompatibilityProfile, 400, E_GL_ARB_gpu_shader5, "precise");
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 320, Num_AEP_gpu_shader5, AEP_gpu_shader5, "precise");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.noContraction = true;
|
|
}
|
|
#line 6753 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 154: /* type_qualifier: single_type_qualifier */
|
|
#line 1372 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type) = (yyvsp[0].interm.type);
|
|
}
|
|
#line 6761 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 155: /* type_qualifier: type_qualifier single_type_qualifier */
|
|
#line 1375 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type) = (yyvsp[-1].interm.type);
|
|
if ((yyval.interm.type).basicType == EbtVoid)
|
|
(yyval.interm.type).basicType = (yyvsp[0].interm.type).basicType;
|
|
|
|
(yyval.interm.type).shaderQualifiers.merge((yyvsp[0].interm.type).shaderQualifiers);
|
|
parseContext.mergeQualifiers((yyval.interm.type).loc, (yyval.interm.type).qualifier, (yyvsp[0].interm.type).qualifier, false);
|
|
}
|
|
#line 6774 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 156: /* single_type_qualifier: storage_qualifier */
|
|
#line 1386 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type) = (yyvsp[0].interm.type);
|
|
}
|
|
#line 6782 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 157: /* single_type_qualifier: layout_qualifier */
|
|
#line 1389 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type) = (yyvsp[0].interm.type);
|
|
}
|
|
#line 6790 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 158: /* single_type_qualifier: precision_qualifier */
|
|
#line 1392 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.checkPrecisionQualifier((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).qualifier.precision);
|
|
(yyval.interm.type) = (yyvsp[0].interm.type);
|
|
}
|
|
#line 6799 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 159: /* single_type_qualifier: interpolation_qualifier */
|
|
#line 1396 "MachineIndependent/glslang.y"
|
|
{
|
|
// allow inheritance of storage qualifier from block declaration
|
|
(yyval.interm.type) = (yyvsp[0].interm.type);
|
|
}
|
|
#line 6808 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 160: /* single_type_qualifier: invariant_qualifier */
|
|
#line 1400 "MachineIndependent/glslang.y"
|
|
{
|
|
// allow inheritance of storage qualifier from block declaration
|
|
(yyval.interm.type) = (yyvsp[0].interm.type);
|
|
}
|
|
#line 6817 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 161: /* single_type_qualifier: precise_qualifier */
|
|
#line 1405 "MachineIndependent/glslang.y"
|
|
{
|
|
// allow inheritance of storage qualifier from block declaration
|
|
(yyval.interm.type) = (yyvsp[0].interm.type);
|
|
}
|
|
#line 6826 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 162: /* single_type_qualifier: non_uniform_qualifier */
|
|
#line 1409 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type) = (yyvsp[0].interm.type);
|
|
}
|
|
#line 6834 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 163: /* single_type_qualifier: spirv_storage_class_qualifier */
|
|
#line 1412 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.globalCheck((yyvsp[0].interm.type).loc, "spirv_storage_class");
|
|
parseContext.requireExtensions((yyvsp[0].interm.type).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V storage class qualifier");
|
|
(yyval.interm.type) = (yyvsp[0].interm.type);
|
|
}
|
|
#line 6844 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 164: /* single_type_qualifier: spirv_decorate_qualifier */
|
|
#line 1417 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireExtensions((yyvsp[0].interm.type).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V decorate qualifier");
|
|
(yyval.interm.type) = (yyvsp[0].interm.type);
|
|
}
|
|
#line 6853 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 165: /* single_type_qualifier: SPIRV_BY_REFERENCE */
|
|
#line 1421 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_spirv_intrinsics, "spirv_by_reference");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.setSpirvByReference();
|
|
}
|
|
#line 6863 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 166: /* single_type_qualifier: SPIRV_LITERAL */
|
|
#line 1426 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_spirv_intrinsics, "spirv_by_literal");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.setSpirvLiteral();
|
|
}
|
|
#line 6873 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 167: /* storage_qualifier: CONST */
|
|
#line 1435 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.storage = EvqConst; // will later turn into EvqConstReadOnly, if the initializer is not constant
|
|
}
|
|
#line 6882 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 168: /* storage_qualifier: INOUT */
|
|
#line 1439 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "inout");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.storage = EvqInOut;
|
|
}
|
|
#line 6892 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 169: /* storage_qualifier: IN */
|
|
#line 1444 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "in");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
// whether this is a parameter "in" or a pipeline "in" will get sorted out a bit later
|
|
(yyval.interm.type).qualifier.storage = EvqIn;
|
|
}
|
|
#line 6903 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 170: /* storage_qualifier: OUT */
|
|
#line 1450 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "out");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
// whether this is a parameter "out" or a pipeline "out" will get sorted out a bit later
|
|
(yyval.interm.type).qualifier.storage = EvqOut;
|
|
}
|
|
#line 6914 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 171: /* storage_qualifier: CENTROID */
|
|
#line 1456 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 120, 0, "centroid");
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 300, 0, "centroid");
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "centroid");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.centroid = true;
|
|
}
|
|
#line 6926 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 172: /* storage_qualifier: UNIFORM */
|
|
#line 1463 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "uniform");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.storage = EvqUniform;
|
|
}
|
|
#line 6936 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 173: /* storage_qualifier: SHARED */
|
|
#line 1468 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "shared");
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, 430, E_GL_ARB_compute_shader, "shared");
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, EEsProfile, 310, 0, "shared");
|
|
parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangComputeMask | EShLangMeshNVMask | EShLangTaskNVMask), "shared");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.storage = EvqShared;
|
|
}
|
|
#line 6949 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 174: /* storage_qualifier: BUFFER */
|
|
#line 1476 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "buffer");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.storage = EvqBuffer;
|
|
}
|
|
#line 6959 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 175: /* storage_qualifier: ATTRIBUTE */
|
|
#line 1482 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireStage((yyvsp[0].lex).loc, EShLangVertex, "attribute");
|
|
parseContext.checkDeprecated((yyvsp[0].lex).loc, ECoreProfile, 130, "attribute");
|
|
parseContext.checkDeprecated((yyvsp[0].lex).loc, ENoProfile, 130, "attribute");
|
|
parseContext.requireNotRemoved((yyvsp[0].lex).loc, ECoreProfile, 420, "attribute");
|
|
parseContext.requireNotRemoved((yyvsp[0].lex).loc, EEsProfile, 300, "attribute");
|
|
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "attribute");
|
|
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.storage = EvqVaryingIn;
|
|
}
|
|
#line 6976 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 176: /* storage_qualifier: VARYING */
|
|
#line 1494 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.checkDeprecated((yyvsp[0].lex).loc, ENoProfile, 130, "varying");
|
|
parseContext.checkDeprecated((yyvsp[0].lex).loc, ECoreProfile, 130, "varying");
|
|
parseContext.requireNotRemoved((yyvsp[0].lex).loc, ECoreProfile, 420, "varying");
|
|
parseContext.requireNotRemoved((yyvsp[0].lex).loc, EEsProfile, 300, "varying");
|
|
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "varying");
|
|
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
if (parseContext.language == EShLangVertex)
|
|
(yyval.interm.type).qualifier.storage = EvqVaryingOut;
|
|
else
|
|
(yyval.interm.type).qualifier.storage = EvqVaryingIn;
|
|
}
|
|
#line 6995 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 177: /* storage_qualifier: PATCH */
|
|
#line 1508 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "patch");
|
|
parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangTessControlMask | EShLangTessEvaluationMask), "patch");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.patch = true;
|
|
}
|
|
#line 7006 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 178: /* storage_qualifier: SAMPLE */
|
|
#line 1514 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "sample");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.sample = true;
|
|
}
|
|
#line 7016 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 179: /* storage_qualifier: HITATTRNV */
|
|
#line 1519 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeNV");
|
|
parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangIntersectMask | EShLangClosestHitMask
|
|
| EShLangAnyHitMask), "hitAttributeNV");
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "hitAttributeNV");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.storage = EvqHitAttr;
|
|
}
|
|
#line 7029 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 180: /* storage_qualifier: HITATTREXT */
|
|
#line 1527 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "hitAttributeEXT");
|
|
parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangIntersectMask | EShLangClosestHitMask
|
|
| EShLangAnyHitMask), "hitAttributeEXT");
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "hitAttributeNV");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.storage = EvqHitAttr;
|
|
}
|
|
#line 7042 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 181: /* storage_qualifier: PAYLOADNV */
|
|
#line 1535 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadNV");
|
|
parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask |
|
|
EShLangAnyHitMask | EShLangMissMask), "rayPayloadNV");
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "rayPayloadNV");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.storage = EvqPayload;
|
|
}
|
|
#line 7055 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 182: /* storage_qualifier: PAYLOADEXT */
|
|
#line 1543 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadEXT");
|
|
parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask | EShLangClosestHitMask |
|
|
EShLangAnyHitMask | EShLangMissMask), "rayPayloadEXT");
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "rayPayloadEXT");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.storage = EvqPayload;
|
|
}
|
|
#line 7068 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 183: /* storage_qualifier: PAYLOADINNV */
|
|
#line 1551 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadInNV");
|
|
parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangClosestHitMask |
|
|
EShLangAnyHitMask | EShLangMissMask), "rayPayloadInNV");
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "rayPayloadInNV");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.storage = EvqPayloadIn;
|
|
}
|
|
#line 7081 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 184: /* storage_qualifier: PAYLOADINEXT */
|
|
#line 1559 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "rayPayloadInEXT");
|
|
parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangClosestHitMask |
|
|
EShLangAnyHitMask | EShLangMissMask), "rayPayloadInEXT");
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "rayPayloadInEXT");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.storage = EvqPayloadIn;
|
|
}
|
|
#line 7094 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 185: /* storage_qualifier: CALLDATANV */
|
|
#line 1567 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataNV");
|
|
parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask |
|
|
EShLangClosestHitMask | EShLangMissMask | EShLangCallableMask), "callableDataNV");
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "callableDataNV");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.storage = EvqCallableData;
|
|
}
|
|
#line 7107 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 186: /* storage_qualifier: CALLDATAEXT */
|
|
#line 1575 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataEXT");
|
|
parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangRayGenMask |
|
|
EShLangClosestHitMask | EShLangMissMask | EShLangCallableMask), "callableDataEXT");
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "callableDataEXT");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.storage = EvqCallableData;
|
|
}
|
|
#line 7120 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 187: /* storage_qualifier: CALLDATAINNV */
|
|
#line 1583 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataInNV");
|
|
parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangCallableMask), "callableDataInNV");
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_NV_ray_tracing, "callableDataInNV");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.storage = EvqCallableDataIn;
|
|
}
|
|
#line 7132 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 188: /* storage_qualifier: CALLDATAINEXT */
|
|
#line 1590 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "callableDataInEXT");
|
|
parseContext.requireStage((yyvsp[0].lex).loc, (EShLanguageMask)(EShLangCallableMask), "callableDataInEXT");
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, ECoreProfile, 460, E_GL_EXT_ray_tracing, "callableDataInEXT");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.storage = EvqCallableDataIn;
|
|
}
|
|
#line 7144 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 189: /* storage_qualifier: COHERENT */
|
|
#line 1597 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.coherent = true;
|
|
}
|
|
#line 7153 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 190: /* storage_qualifier: DEVICECOHERENT */
|
|
#line 1601 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "devicecoherent");
|
|
(yyval.interm.type).qualifier.devicecoherent = true;
|
|
}
|
|
#line 7163 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 191: /* storage_qualifier: QUEUEFAMILYCOHERENT */
|
|
#line 1606 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "queuefamilycoherent");
|
|
(yyval.interm.type).qualifier.queuefamilycoherent = true;
|
|
}
|
|
#line 7173 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 192: /* storage_qualifier: WORKGROUPCOHERENT */
|
|
#line 1611 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "workgroupcoherent");
|
|
(yyval.interm.type).qualifier.workgroupcoherent = true;
|
|
}
|
|
#line 7183 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 193: /* storage_qualifier: SUBGROUPCOHERENT */
|
|
#line 1616 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "subgroupcoherent");
|
|
(yyval.interm.type).qualifier.subgroupcoherent = true;
|
|
}
|
|
#line 7193 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 194: /* storage_qualifier: NONPRIVATE */
|
|
#line 1621 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_KHR_memory_scope_semantics, "nonprivate");
|
|
(yyval.interm.type).qualifier.nonprivate = true;
|
|
}
|
|
#line 7203 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 195: /* storage_qualifier: SHADERCALLCOHERENT */
|
|
#line 1626 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
parseContext.requireExtensions((yyvsp[0].lex).loc, 1, &E_GL_EXT_ray_tracing, "shadercallcoherent");
|
|
(yyval.interm.type).qualifier.shadercallcoherent = true;
|
|
}
|
|
#line 7213 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 196: /* storage_qualifier: VOLATILE */
|
|
#line 1631 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.volatil = true;
|
|
}
|
|
#line 7222 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 197: /* storage_qualifier: RESTRICT */
|
|
#line 1635 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.restrict = true;
|
|
}
|
|
#line 7231 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 198: /* storage_qualifier: READONLY */
|
|
#line 1639 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.readonly = true;
|
|
}
|
|
#line 7240 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 199: /* storage_qualifier: WRITEONLY */
|
|
#line 1643 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.writeonly = true;
|
|
}
|
|
#line 7249 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 200: /* storage_qualifier: SUBROUTINE */
|
|
#line 1647 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.spvRemoved((yyvsp[0].lex).loc, "subroutine");
|
|
parseContext.globalCheck((yyvsp[0].lex).loc, "subroutine");
|
|
parseContext.unimplemented((yyvsp[0].lex).loc, "subroutine");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
}
|
|
#line 7260 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 201: /* storage_qualifier: SUBROUTINE LEFT_PAREN type_name_list RIGHT_PAREN */
|
|
#line 1653 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.spvRemoved((yyvsp[-3].lex).loc, "subroutine");
|
|
parseContext.globalCheck((yyvsp[-3].lex).loc, "subroutine");
|
|
parseContext.unimplemented((yyvsp[-3].lex).loc, "subroutine");
|
|
(yyval.interm.type).init((yyvsp[-3].lex).loc);
|
|
}
|
|
#line 7271 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 202: /* non_uniform_qualifier: NONUNIFORM */
|
|
#line 1664 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc);
|
|
(yyval.interm.type).qualifier.nonUniform = true;
|
|
}
|
|
#line 7280 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 203: /* type_name_list: IDENTIFIER */
|
|
#line 1671 "MachineIndependent/glslang.y"
|
|
{
|
|
// TODO
|
|
}
|
|
#line 7288 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 204: /* type_name_list: type_name_list COMMA IDENTIFIER */
|
|
#line 1674 "MachineIndependent/glslang.y"
|
|
{
|
|
// TODO: 4.0 semantics: subroutines
|
|
// 1) make sure each identifier is a type declared earlier with SUBROUTINE
|
|
// 2) save all of the identifiers for future comparison with the declared function
|
|
}
|
|
#line 7298 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 205: /* type_specifier: type_specifier_nonarray type_parameter_specifier_opt */
|
|
#line 1683 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type) = (yyvsp[-1].interm.type);
|
|
(yyval.interm.type).qualifier.precision = parseContext.getDefaultPrecision((yyval.interm.type));
|
|
(yyval.interm.type).typeParameters = (yyvsp[0].interm.typeParameters);
|
|
}
|
|
#line 7308 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 206: /* type_specifier: type_specifier_nonarray type_parameter_specifier_opt array_specifier */
|
|
#line 1688 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.arrayOfArrayVersionCheck((yyvsp[0].interm).loc, (yyvsp[0].interm).arraySizes);
|
|
(yyval.interm.type) = (yyvsp[-2].interm.type);
|
|
(yyval.interm.type).qualifier.precision = parseContext.getDefaultPrecision((yyval.interm.type));
|
|
(yyval.interm.type).typeParameters = (yyvsp[-1].interm.typeParameters);
|
|
(yyval.interm.type).arraySizes = (yyvsp[0].interm).arraySizes;
|
|
}
|
|
#line 7320 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 207: /* array_specifier: LEFT_BRACKET RIGHT_BRACKET */
|
|
#line 1698 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm).loc = (yyvsp[-1].lex).loc;
|
|
(yyval.interm).arraySizes = new TArraySizes;
|
|
(yyval.interm).arraySizes->addInnerSize();
|
|
}
|
|
#line 7330 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 208: /* array_specifier: LEFT_BRACKET conditional_expression RIGHT_BRACKET */
|
|
#line 1703 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm).loc = (yyvsp[-2].lex).loc;
|
|
(yyval.interm).arraySizes = new TArraySizes;
|
|
|
|
TArraySize size;
|
|
parseContext.arraySizeCheck((yyvsp[-1].interm.intermTypedNode)->getLoc(), (yyvsp[-1].interm.intermTypedNode), size, "array size");
|
|
(yyval.interm).arraySizes->addInnerSize(size);
|
|
}
|
|
#line 7343 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 209: /* array_specifier: array_specifier LEFT_BRACKET RIGHT_BRACKET */
|
|
#line 1711 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm) = (yyvsp[-2].interm);
|
|
(yyval.interm).arraySizes->addInnerSize();
|
|
}
|
|
#line 7352 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 210: /* array_specifier: array_specifier LEFT_BRACKET conditional_expression RIGHT_BRACKET */
|
|
#line 1715 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm) = (yyvsp[-3].interm);
|
|
|
|
TArraySize size;
|
|
parseContext.arraySizeCheck((yyvsp[-1].interm.intermTypedNode)->getLoc(), (yyvsp[-1].interm.intermTypedNode), size, "array size");
|
|
(yyval.interm).arraySizes->addInnerSize(size);
|
|
}
|
|
#line 7364 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 211: /* type_parameter_specifier_opt: type_parameter_specifier */
|
|
#line 1725 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.typeParameters) = (yyvsp[0].interm.typeParameters);
|
|
}
|
|
#line 7372 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 212: /* type_parameter_specifier_opt: %empty */
|
|
#line 1728 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.typeParameters) = 0;
|
|
}
|
|
#line 7380 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 213: /* type_parameter_specifier: LEFT_ANGLE type_parameter_specifier_list RIGHT_ANGLE */
|
|
#line 1734 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.typeParameters) = (yyvsp[-1].interm.typeParameters);
|
|
}
|
|
#line 7388 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 214: /* type_parameter_specifier_list: unary_expression */
|
|
#line 1740 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.typeParameters) = new TArraySizes;
|
|
|
|
TArraySize size;
|
|
parseContext.arraySizeCheck((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode), size, "type parameter");
|
|
(yyval.interm.typeParameters)->addInnerSize(size);
|
|
}
|
|
#line 7400 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 215: /* type_parameter_specifier_list: type_parameter_specifier_list COMMA unary_expression */
|
|
#line 1747 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.typeParameters) = (yyvsp[-2].interm.typeParameters);
|
|
|
|
TArraySize size;
|
|
parseContext.arraySizeCheck((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode), size, "type parameter");
|
|
(yyval.interm.typeParameters)->addInnerSize(size);
|
|
}
|
|
#line 7412 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 216: /* type_specifier_nonarray: VOID */
|
|
#line 1757 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtVoid;
|
|
}
|
|
#line 7421 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 217: /* type_specifier_nonarray: FLOAT */
|
|
#line 1761 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
}
|
|
#line 7430 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 218: /* type_specifier_nonarray: INT */
|
|
#line 1765 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtInt;
|
|
}
|
|
#line 7439 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 219: /* type_specifier_nonarray: UINT */
|
|
#line 1769 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtUint;
|
|
}
|
|
#line 7449 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 220: /* type_specifier_nonarray: BOOL */
|
|
#line 1774 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtBool;
|
|
}
|
|
#line 7458 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 221: /* type_specifier_nonarray: VEC2 */
|
|
#line 1778 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
(yyval.interm.type).setVector(2);
|
|
}
|
|
#line 7468 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 222: /* type_specifier_nonarray: VEC3 */
|
|
#line 1783 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
(yyval.interm.type).setVector(3);
|
|
}
|
|
#line 7478 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 223: /* type_specifier_nonarray: VEC4 */
|
|
#line 1788 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
(yyval.interm.type).setVector(4);
|
|
}
|
|
#line 7488 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 224: /* type_specifier_nonarray: BVEC2 */
|
|
#line 1793 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtBool;
|
|
(yyval.interm.type).setVector(2);
|
|
}
|
|
#line 7498 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 225: /* type_specifier_nonarray: BVEC3 */
|
|
#line 1798 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtBool;
|
|
(yyval.interm.type).setVector(3);
|
|
}
|
|
#line 7508 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 226: /* type_specifier_nonarray: BVEC4 */
|
|
#line 1803 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtBool;
|
|
(yyval.interm.type).setVector(4);
|
|
}
|
|
#line 7518 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 227: /* type_specifier_nonarray: IVEC2 */
|
|
#line 1808 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtInt;
|
|
(yyval.interm.type).setVector(2);
|
|
}
|
|
#line 7528 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 228: /* type_specifier_nonarray: IVEC3 */
|
|
#line 1813 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtInt;
|
|
(yyval.interm.type).setVector(3);
|
|
}
|
|
#line 7538 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 229: /* type_specifier_nonarray: IVEC4 */
|
|
#line 1818 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtInt;
|
|
(yyval.interm.type).setVector(4);
|
|
}
|
|
#line 7548 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 230: /* type_specifier_nonarray: UVEC2 */
|
|
#line 1823 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer vector");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtUint;
|
|
(yyval.interm.type).setVector(2);
|
|
}
|
|
#line 7559 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 231: /* type_specifier_nonarray: UVEC3 */
|
|
#line 1829 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer vector");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtUint;
|
|
(yyval.interm.type).setVector(3);
|
|
}
|
|
#line 7570 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 232: /* type_specifier_nonarray: UVEC4 */
|
|
#line 1835 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.fullIntegerCheck((yyvsp[0].lex).loc, "unsigned integer vector");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtUint;
|
|
(yyval.interm.type).setVector(4);
|
|
}
|
|
#line 7581 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 233: /* type_specifier_nonarray: MAT2 */
|
|
#line 1841 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
(yyval.interm.type).setMatrix(2, 2);
|
|
}
|
|
#line 7591 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 234: /* type_specifier_nonarray: MAT3 */
|
|
#line 1846 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
(yyval.interm.type).setMatrix(3, 3);
|
|
}
|
|
#line 7601 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 235: /* type_specifier_nonarray: MAT4 */
|
|
#line 1851 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
(yyval.interm.type).setMatrix(4, 4);
|
|
}
|
|
#line 7611 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 236: /* type_specifier_nonarray: MAT2X2 */
|
|
#line 1856 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
(yyval.interm.type).setMatrix(2, 2);
|
|
}
|
|
#line 7621 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 237: /* type_specifier_nonarray: MAT2X3 */
|
|
#line 1861 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
(yyval.interm.type).setMatrix(2, 3);
|
|
}
|
|
#line 7631 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 238: /* type_specifier_nonarray: MAT2X4 */
|
|
#line 1866 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
(yyval.interm.type).setMatrix(2, 4);
|
|
}
|
|
#line 7641 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 239: /* type_specifier_nonarray: MAT3X2 */
|
|
#line 1871 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
(yyval.interm.type).setMatrix(3, 2);
|
|
}
|
|
#line 7651 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 240: /* type_specifier_nonarray: MAT3X3 */
|
|
#line 1876 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
(yyval.interm.type).setMatrix(3, 3);
|
|
}
|
|
#line 7661 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 241: /* type_specifier_nonarray: MAT3X4 */
|
|
#line 1881 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
(yyval.interm.type).setMatrix(3, 4);
|
|
}
|
|
#line 7671 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 242: /* type_specifier_nonarray: MAT4X2 */
|
|
#line 1886 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
(yyval.interm.type).setMatrix(4, 2);
|
|
}
|
|
#line 7681 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 243: /* type_specifier_nonarray: MAT4X3 */
|
|
#line 1891 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
(yyval.interm.type).setMatrix(4, 3);
|
|
}
|
|
#line 7691 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 244: /* type_specifier_nonarray: MAT4X4 */
|
|
#line 1896 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
(yyval.interm.type).setMatrix(4, 4);
|
|
}
|
|
#line 7701 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 245: /* type_specifier_nonarray: DOUBLE */
|
|
#line 1902 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double");
|
|
if (! parseContext.symbolTable.atBuiltInLevel())
|
|
parseContext.doubleCheck((yyvsp[0].lex).loc, "double");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
}
|
|
#line 7713 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 246: /* type_specifier_nonarray: FLOAT16_T */
|
|
#line 1909 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "float16_t", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat16;
|
|
}
|
|
#line 7723 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 247: /* type_specifier_nonarray: FLOAT32_T */
|
|
#line 1914 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
}
|
|
#line 7733 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 248: /* type_specifier_nonarray: FLOAT64_T */
|
|
#line 1919 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
}
|
|
#line 7743 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 249: /* type_specifier_nonarray: INT8_T */
|
|
#line 1924 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtInt8;
|
|
}
|
|
#line 7753 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 250: /* type_specifier_nonarray: UINT8_T */
|
|
#line 1929 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtUint8;
|
|
}
|
|
#line 7763 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 251: /* type_specifier_nonarray: INT16_T */
|
|
#line 1934 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtInt16;
|
|
}
|
|
#line 7773 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 252: /* type_specifier_nonarray: UINT16_T */
|
|
#line 1939 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtUint16;
|
|
}
|
|
#line 7783 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 253: /* type_specifier_nonarray: INT32_T */
|
|
#line 1944 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtInt;
|
|
}
|
|
#line 7793 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 254: /* type_specifier_nonarray: UINT32_T */
|
|
#line 1949 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtUint;
|
|
}
|
|
#line 7803 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 255: /* type_specifier_nonarray: INT64_T */
|
|
#line 1954 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtInt64;
|
|
}
|
|
#line 7813 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 256: /* type_specifier_nonarray: UINT64_T */
|
|
#line 1959 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtUint64;
|
|
}
|
|
#line 7823 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 257: /* type_specifier_nonarray: DVEC2 */
|
|
#line 1964 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double vector");
|
|
if (! parseContext.symbolTable.atBuiltInLevel())
|
|
parseContext.doubleCheck((yyvsp[0].lex).loc, "double vector");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
(yyval.interm.type).setVector(2);
|
|
}
|
|
#line 7836 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 258: /* type_specifier_nonarray: DVEC3 */
|
|
#line 1972 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double vector");
|
|
if (! parseContext.symbolTable.atBuiltInLevel())
|
|
parseContext.doubleCheck((yyvsp[0].lex).loc, "double vector");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
(yyval.interm.type).setVector(3);
|
|
}
|
|
#line 7849 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 259: /* type_specifier_nonarray: DVEC4 */
|
|
#line 1980 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double vector");
|
|
if (! parseContext.symbolTable.atBuiltInLevel())
|
|
parseContext.doubleCheck((yyvsp[0].lex).loc, "double vector");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
(yyval.interm.type).setVector(4);
|
|
}
|
|
#line 7862 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 260: /* type_specifier_nonarray: F16VEC2 */
|
|
#line 1988 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat16;
|
|
(yyval.interm.type).setVector(2);
|
|
}
|
|
#line 7873 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 261: /* type_specifier_nonarray: F16VEC3 */
|
|
#line 1994 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat16;
|
|
(yyval.interm.type).setVector(3);
|
|
}
|
|
#line 7884 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 262: /* type_specifier_nonarray: F16VEC4 */
|
|
#line 2000 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16ScalarVectorCheck((yyvsp[0].lex).loc, "half float vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat16;
|
|
(yyval.interm.type).setVector(4);
|
|
}
|
|
#line 7895 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 263: /* type_specifier_nonarray: F32VEC2 */
|
|
#line 2006 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
(yyval.interm.type).setVector(2);
|
|
}
|
|
#line 7906 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 264: /* type_specifier_nonarray: F32VEC3 */
|
|
#line 2012 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
(yyval.interm.type).setVector(3);
|
|
}
|
|
#line 7917 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 265: /* type_specifier_nonarray: F32VEC4 */
|
|
#line 2018 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
(yyval.interm.type).setVector(4);
|
|
}
|
|
#line 7928 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 266: /* type_specifier_nonarray: F64VEC2 */
|
|
#line 2024 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
(yyval.interm.type).setVector(2);
|
|
}
|
|
#line 7939 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 267: /* type_specifier_nonarray: F64VEC3 */
|
|
#line 2030 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
(yyval.interm.type).setVector(3);
|
|
}
|
|
#line 7950 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 268: /* type_specifier_nonarray: F64VEC4 */
|
|
#line 2036 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
(yyval.interm.type).setVector(4);
|
|
}
|
|
#line 7961 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 269: /* type_specifier_nonarray: I8VEC2 */
|
|
#line 2042 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtInt8;
|
|
(yyval.interm.type).setVector(2);
|
|
}
|
|
#line 7972 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 270: /* type_specifier_nonarray: I8VEC3 */
|
|
#line 2048 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtInt8;
|
|
(yyval.interm.type).setVector(3);
|
|
}
|
|
#line 7983 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 271: /* type_specifier_nonarray: I8VEC4 */
|
|
#line 2054 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtInt8;
|
|
(yyval.interm.type).setVector(4);
|
|
}
|
|
#line 7994 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 272: /* type_specifier_nonarray: I16VEC2 */
|
|
#line 2060 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtInt16;
|
|
(yyval.interm.type).setVector(2);
|
|
}
|
|
#line 8005 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 273: /* type_specifier_nonarray: I16VEC3 */
|
|
#line 2066 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtInt16;
|
|
(yyval.interm.type).setVector(3);
|
|
}
|
|
#line 8016 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 274: /* type_specifier_nonarray: I16VEC4 */
|
|
#line 2072 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtInt16;
|
|
(yyval.interm.type).setVector(4);
|
|
}
|
|
#line 8027 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 275: /* type_specifier_nonarray: I32VEC2 */
|
|
#line 2078 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtInt;
|
|
(yyval.interm.type).setVector(2);
|
|
}
|
|
#line 8038 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 276: /* type_specifier_nonarray: I32VEC3 */
|
|
#line 2084 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtInt;
|
|
(yyval.interm.type).setVector(3);
|
|
}
|
|
#line 8049 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 277: /* type_specifier_nonarray: I32VEC4 */
|
|
#line 2090 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit signed integer vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtInt;
|
|
(yyval.interm.type).setVector(4);
|
|
}
|
|
#line 8060 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 278: /* type_specifier_nonarray: I64VEC2 */
|
|
#line 2096 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtInt64;
|
|
(yyval.interm.type).setVector(2);
|
|
}
|
|
#line 8071 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 279: /* type_specifier_nonarray: I64VEC3 */
|
|
#line 2102 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtInt64;
|
|
(yyval.interm.type).setVector(3);
|
|
}
|
|
#line 8082 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 280: /* type_specifier_nonarray: I64VEC4 */
|
|
#line 2108 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.int64Check((yyvsp[0].lex).loc, "64-bit integer vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtInt64;
|
|
(yyval.interm.type).setVector(4);
|
|
}
|
|
#line 8093 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 281: /* type_specifier_nonarray: U8VEC2 */
|
|
#line 2114 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtUint8;
|
|
(yyval.interm.type).setVector(2);
|
|
}
|
|
#line 8104 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 282: /* type_specifier_nonarray: U8VEC3 */
|
|
#line 2120 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtUint8;
|
|
(yyval.interm.type).setVector(3);
|
|
}
|
|
#line 8115 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 283: /* type_specifier_nonarray: U8VEC4 */
|
|
#line 2126 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.int8ScalarVectorCheck((yyvsp[0].lex).loc, "8-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtUint8;
|
|
(yyval.interm.type).setVector(4);
|
|
}
|
|
#line 8126 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 284: /* type_specifier_nonarray: U16VEC2 */
|
|
#line 2132 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtUint16;
|
|
(yyval.interm.type).setVector(2);
|
|
}
|
|
#line 8137 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 285: /* type_specifier_nonarray: U16VEC3 */
|
|
#line 2138 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtUint16;
|
|
(yyval.interm.type).setVector(3);
|
|
}
|
|
#line 8148 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 286: /* type_specifier_nonarray: U16VEC4 */
|
|
#line 2144 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.int16ScalarVectorCheck((yyvsp[0].lex).loc, "16-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtUint16;
|
|
(yyval.interm.type).setVector(4);
|
|
}
|
|
#line 8159 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 287: /* type_specifier_nonarray: U32VEC2 */
|
|
#line 2150 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtUint;
|
|
(yyval.interm.type).setVector(2);
|
|
}
|
|
#line 8170 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 288: /* type_specifier_nonarray: U32VEC3 */
|
|
#line 2156 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtUint;
|
|
(yyval.interm.type).setVector(3);
|
|
}
|
|
#line 8181 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 289: /* type_specifier_nonarray: U32VEC4 */
|
|
#line 2162 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitInt32Check((yyvsp[0].lex).loc, "32-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtUint;
|
|
(yyval.interm.type).setVector(4);
|
|
}
|
|
#line 8192 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 290: /* type_specifier_nonarray: U64VEC2 */
|
|
#line 2168 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtUint64;
|
|
(yyval.interm.type).setVector(2);
|
|
}
|
|
#line 8203 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 291: /* type_specifier_nonarray: U64VEC3 */
|
|
#line 2174 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtUint64;
|
|
(yyval.interm.type).setVector(3);
|
|
}
|
|
#line 8214 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 292: /* type_specifier_nonarray: U64VEC4 */
|
|
#line 2180 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.int64Check((yyvsp[0].lex).loc, "64-bit unsigned integer vector", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtUint64;
|
|
(yyval.interm.type).setVector(4);
|
|
}
|
|
#line 8225 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 293: /* type_specifier_nonarray: DMAT2 */
|
|
#line 2186 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
|
|
if (! parseContext.symbolTable.atBuiltInLevel())
|
|
parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
(yyval.interm.type).setMatrix(2, 2);
|
|
}
|
|
#line 8238 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 294: /* type_specifier_nonarray: DMAT3 */
|
|
#line 2194 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
|
|
if (! parseContext.symbolTable.atBuiltInLevel())
|
|
parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
(yyval.interm.type).setMatrix(3, 3);
|
|
}
|
|
#line 8251 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 295: /* type_specifier_nonarray: DMAT4 */
|
|
#line 2202 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
|
|
if (! parseContext.symbolTable.atBuiltInLevel())
|
|
parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
(yyval.interm.type).setMatrix(4, 4);
|
|
}
|
|
#line 8264 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 296: /* type_specifier_nonarray: DMAT2X2 */
|
|
#line 2210 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
|
|
if (! parseContext.symbolTable.atBuiltInLevel())
|
|
parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
(yyval.interm.type).setMatrix(2, 2);
|
|
}
|
|
#line 8277 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 297: /* type_specifier_nonarray: DMAT2X3 */
|
|
#line 2218 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
|
|
if (! parseContext.symbolTable.atBuiltInLevel())
|
|
parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
(yyval.interm.type).setMatrix(2, 3);
|
|
}
|
|
#line 8290 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 298: /* type_specifier_nonarray: DMAT2X4 */
|
|
#line 2226 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
|
|
if (! parseContext.symbolTable.atBuiltInLevel())
|
|
parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
(yyval.interm.type).setMatrix(2, 4);
|
|
}
|
|
#line 8303 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 299: /* type_specifier_nonarray: DMAT3X2 */
|
|
#line 2234 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
|
|
if (! parseContext.symbolTable.atBuiltInLevel())
|
|
parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
(yyval.interm.type).setMatrix(3, 2);
|
|
}
|
|
#line 8316 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 300: /* type_specifier_nonarray: DMAT3X3 */
|
|
#line 2242 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
|
|
if (! parseContext.symbolTable.atBuiltInLevel())
|
|
parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
(yyval.interm.type).setMatrix(3, 3);
|
|
}
|
|
#line 8329 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 301: /* type_specifier_nonarray: DMAT3X4 */
|
|
#line 2250 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
|
|
if (! parseContext.symbolTable.atBuiltInLevel())
|
|
parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
(yyval.interm.type).setMatrix(3, 4);
|
|
}
|
|
#line 8342 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 302: /* type_specifier_nonarray: DMAT4X2 */
|
|
#line 2258 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
|
|
if (! parseContext.symbolTable.atBuiltInLevel())
|
|
parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
(yyval.interm.type).setMatrix(4, 2);
|
|
}
|
|
#line 8355 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 303: /* type_specifier_nonarray: DMAT4X3 */
|
|
#line 2266 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
|
|
if (! parseContext.symbolTable.atBuiltInLevel())
|
|
parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
(yyval.interm.type).setMatrix(4, 3);
|
|
}
|
|
#line 8368 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 304: /* type_specifier_nonarray: DMAT4X4 */
|
|
#line 2274 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireProfile((yyvsp[0].lex).loc, ECoreProfile | ECompatibilityProfile, "double matrix");
|
|
if (! parseContext.symbolTable.atBuiltInLevel())
|
|
parseContext.doubleCheck((yyvsp[0].lex).loc, "double matrix");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
(yyval.interm.type).setMatrix(4, 4);
|
|
}
|
|
#line 8381 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 305: /* type_specifier_nonarray: F16MAT2 */
|
|
#line 2282 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat16;
|
|
(yyval.interm.type).setMatrix(2, 2);
|
|
}
|
|
#line 8392 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 306: /* type_specifier_nonarray: F16MAT3 */
|
|
#line 2288 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat16;
|
|
(yyval.interm.type).setMatrix(3, 3);
|
|
}
|
|
#line 8403 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 307: /* type_specifier_nonarray: F16MAT4 */
|
|
#line 2294 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat16;
|
|
(yyval.interm.type).setMatrix(4, 4);
|
|
}
|
|
#line 8414 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 308: /* type_specifier_nonarray: F16MAT2X2 */
|
|
#line 2300 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat16;
|
|
(yyval.interm.type).setMatrix(2, 2);
|
|
}
|
|
#line 8425 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 309: /* type_specifier_nonarray: F16MAT2X3 */
|
|
#line 2306 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat16;
|
|
(yyval.interm.type).setMatrix(2, 3);
|
|
}
|
|
#line 8436 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 310: /* type_specifier_nonarray: F16MAT2X4 */
|
|
#line 2312 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat16;
|
|
(yyval.interm.type).setMatrix(2, 4);
|
|
}
|
|
#line 8447 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 311: /* type_specifier_nonarray: F16MAT3X2 */
|
|
#line 2318 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat16;
|
|
(yyval.interm.type).setMatrix(3, 2);
|
|
}
|
|
#line 8458 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 312: /* type_specifier_nonarray: F16MAT3X3 */
|
|
#line 2324 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat16;
|
|
(yyval.interm.type).setMatrix(3, 3);
|
|
}
|
|
#line 8469 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 313: /* type_specifier_nonarray: F16MAT3X4 */
|
|
#line 2330 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat16;
|
|
(yyval.interm.type).setMatrix(3, 4);
|
|
}
|
|
#line 8480 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 314: /* type_specifier_nonarray: F16MAT4X2 */
|
|
#line 2336 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat16;
|
|
(yyval.interm.type).setMatrix(4, 2);
|
|
}
|
|
#line 8491 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 315: /* type_specifier_nonarray: F16MAT4X3 */
|
|
#line 2342 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat16;
|
|
(yyval.interm.type).setMatrix(4, 3);
|
|
}
|
|
#line 8502 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 316: /* type_specifier_nonarray: F16MAT4X4 */
|
|
#line 2348 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16Check((yyvsp[0].lex).loc, "half float matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat16;
|
|
(yyval.interm.type).setMatrix(4, 4);
|
|
}
|
|
#line 8513 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 317: /* type_specifier_nonarray: F32MAT2 */
|
|
#line 2354 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
(yyval.interm.type).setMatrix(2, 2);
|
|
}
|
|
#line 8524 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 318: /* type_specifier_nonarray: F32MAT3 */
|
|
#line 2360 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
(yyval.interm.type).setMatrix(3, 3);
|
|
}
|
|
#line 8535 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 319: /* type_specifier_nonarray: F32MAT4 */
|
|
#line 2366 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
(yyval.interm.type).setMatrix(4, 4);
|
|
}
|
|
#line 8546 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 320: /* type_specifier_nonarray: F32MAT2X2 */
|
|
#line 2372 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
(yyval.interm.type).setMatrix(2, 2);
|
|
}
|
|
#line 8557 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 321: /* type_specifier_nonarray: F32MAT2X3 */
|
|
#line 2378 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
(yyval.interm.type).setMatrix(2, 3);
|
|
}
|
|
#line 8568 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 322: /* type_specifier_nonarray: F32MAT2X4 */
|
|
#line 2384 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
(yyval.interm.type).setMatrix(2, 4);
|
|
}
|
|
#line 8579 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 323: /* type_specifier_nonarray: F32MAT3X2 */
|
|
#line 2390 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
(yyval.interm.type).setMatrix(3, 2);
|
|
}
|
|
#line 8590 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 324: /* type_specifier_nonarray: F32MAT3X3 */
|
|
#line 2396 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
(yyval.interm.type).setMatrix(3, 3);
|
|
}
|
|
#line 8601 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 325: /* type_specifier_nonarray: F32MAT3X4 */
|
|
#line 2402 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
(yyval.interm.type).setMatrix(3, 4);
|
|
}
|
|
#line 8612 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 326: /* type_specifier_nonarray: F32MAT4X2 */
|
|
#line 2408 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
(yyval.interm.type).setMatrix(4, 2);
|
|
}
|
|
#line 8623 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 327: /* type_specifier_nonarray: F32MAT4X3 */
|
|
#line 2414 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
(yyval.interm.type).setMatrix(4, 3);
|
|
}
|
|
#line 8634 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 328: /* type_specifier_nonarray: F32MAT4X4 */
|
|
#line 2420 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
(yyval.interm.type).setMatrix(4, 4);
|
|
}
|
|
#line 8645 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 329: /* type_specifier_nonarray: F64MAT2 */
|
|
#line 2426 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
(yyval.interm.type).setMatrix(2, 2);
|
|
}
|
|
#line 8656 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 330: /* type_specifier_nonarray: F64MAT3 */
|
|
#line 2432 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
(yyval.interm.type).setMatrix(3, 3);
|
|
}
|
|
#line 8667 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 331: /* type_specifier_nonarray: F64MAT4 */
|
|
#line 2438 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
(yyval.interm.type).setMatrix(4, 4);
|
|
}
|
|
#line 8678 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 332: /* type_specifier_nonarray: F64MAT2X2 */
|
|
#line 2444 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
(yyval.interm.type).setMatrix(2, 2);
|
|
}
|
|
#line 8689 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 333: /* type_specifier_nonarray: F64MAT2X3 */
|
|
#line 2450 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
(yyval.interm.type).setMatrix(2, 3);
|
|
}
|
|
#line 8700 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 334: /* type_specifier_nonarray: F64MAT2X4 */
|
|
#line 2456 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
(yyval.interm.type).setMatrix(2, 4);
|
|
}
|
|
#line 8711 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 335: /* type_specifier_nonarray: F64MAT3X2 */
|
|
#line 2462 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
(yyval.interm.type).setMatrix(3, 2);
|
|
}
|
|
#line 8722 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 336: /* type_specifier_nonarray: F64MAT3X3 */
|
|
#line 2468 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
(yyval.interm.type).setMatrix(3, 3);
|
|
}
|
|
#line 8733 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 337: /* type_specifier_nonarray: F64MAT3X4 */
|
|
#line 2474 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
(yyval.interm.type).setMatrix(3, 4);
|
|
}
|
|
#line 8744 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 338: /* type_specifier_nonarray: F64MAT4X2 */
|
|
#line 2480 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
(yyval.interm.type).setMatrix(4, 2);
|
|
}
|
|
#line 8755 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 339: /* type_specifier_nonarray: F64MAT4X3 */
|
|
#line 2486 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
(yyval.interm.type).setMatrix(4, 3);
|
|
}
|
|
#line 8766 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 340: /* type_specifier_nonarray: F64MAT4X4 */
|
|
#line 2492 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t matrix", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtDouble;
|
|
(yyval.interm.type).setMatrix(4, 4);
|
|
}
|
|
#line 8777 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 341: /* type_specifier_nonarray: ACCSTRUCTNV */
|
|
#line 2498 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtAccStruct;
|
|
}
|
|
#line 8786 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 342: /* type_specifier_nonarray: ACCSTRUCTEXT */
|
|
#line 2502 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtAccStruct;
|
|
}
|
|
#line 8795 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 343: /* type_specifier_nonarray: RAYQUERYEXT */
|
|
#line 2506 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtRayQuery;
|
|
}
|
|
#line 8804 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 344: /* type_specifier_nonarray: ATOMIC_UINT */
|
|
#line 2510 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.vulkanRemoved((yyvsp[0].lex).loc, "atomic counter types");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtAtomicUint;
|
|
}
|
|
#line 8814 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 345: /* type_specifier_nonarray: SAMPLER1D */
|
|
#line 2515 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat, Esd1D);
|
|
}
|
|
#line 8824 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 346: /* type_specifier_nonarray: SAMPLER2D */
|
|
#line 2521 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat, Esd2D);
|
|
}
|
|
#line 8834 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 347: /* type_specifier_nonarray: SAMPLER3D */
|
|
#line 2526 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat, Esd3D);
|
|
}
|
|
#line 8844 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 348: /* type_specifier_nonarray: SAMPLERCUBE */
|
|
#line 2531 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat, EsdCube);
|
|
}
|
|
#line 8854 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 349: /* type_specifier_nonarray: SAMPLER2DSHADOW */
|
|
#line 2536 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat, Esd2D, false, true);
|
|
}
|
|
#line 8864 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 350: /* type_specifier_nonarray: SAMPLERCUBESHADOW */
|
|
#line 2541 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat, EsdCube, false, true);
|
|
}
|
|
#line 8874 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 351: /* type_specifier_nonarray: SAMPLER2DARRAY */
|
|
#line 2546 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat, Esd2D, true);
|
|
}
|
|
#line 8884 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 352: /* type_specifier_nonarray: SAMPLER2DARRAYSHADOW */
|
|
#line 2551 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat, Esd2D, true, true);
|
|
}
|
|
#line 8894 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 353: /* type_specifier_nonarray: SAMPLER1DSHADOW */
|
|
#line 2557 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat, Esd1D, false, true);
|
|
}
|
|
#line 8904 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 354: /* type_specifier_nonarray: SAMPLER1DARRAY */
|
|
#line 2562 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat, Esd1D, true);
|
|
}
|
|
#line 8914 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 355: /* type_specifier_nonarray: SAMPLER1DARRAYSHADOW */
|
|
#line 2567 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat, Esd1D, true, true);
|
|
}
|
|
#line 8924 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 356: /* type_specifier_nonarray: SAMPLERCUBEARRAY */
|
|
#line 2572 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat, EsdCube, true);
|
|
}
|
|
#line 8934 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 357: /* type_specifier_nonarray: SAMPLERCUBEARRAYSHADOW */
|
|
#line 2577 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat, EsdCube, true, true);
|
|
}
|
|
#line 8944 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 358: /* type_specifier_nonarray: F16SAMPLER1D */
|
|
#line 2582 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat16, Esd1D);
|
|
}
|
|
#line 8955 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 359: /* type_specifier_nonarray: F16SAMPLER2D */
|
|
#line 2588 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat16, Esd2D);
|
|
}
|
|
#line 8966 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 360: /* type_specifier_nonarray: F16SAMPLER3D */
|
|
#line 2594 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat16, Esd3D);
|
|
}
|
|
#line 8977 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 361: /* type_specifier_nonarray: F16SAMPLERCUBE */
|
|
#line 2600 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat16, EsdCube);
|
|
}
|
|
#line 8988 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 362: /* type_specifier_nonarray: F16SAMPLER1DSHADOW */
|
|
#line 2606 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat16, Esd1D, false, true);
|
|
}
|
|
#line 8999 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 363: /* type_specifier_nonarray: F16SAMPLER2DSHADOW */
|
|
#line 2612 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat16, Esd2D, false, true);
|
|
}
|
|
#line 9010 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 364: /* type_specifier_nonarray: F16SAMPLERCUBESHADOW */
|
|
#line 2618 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat16, EsdCube, false, true);
|
|
}
|
|
#line 9021 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 365: /* type_specifier_nonarray: F16SAMPLER1DARRAY */
|
|
#line 2624 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat16, Esd1D, true);
|
|
}
|
|
#line 9032 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 366: /* type_specifier_nonarray: F16SAMPLER2DARRAY */
|
|
#line 2630 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat16, Esd2D, true);
|
|
}
|
|
#line 9043 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 367: /* type_specifier_nonarray: F16SAMPLER1DARRAYSHADOW */
|
|
#line 2636 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat16, Esd1D, true, true);
|
|
}
|
|
#line 9054 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 368: /* type_specifier_nonarray: F16SAMPLER2DARRAYSHADOW */
|
|
#line 2642 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat16, Esd2D, true, true);
|
|
}
|
|
#line 9065 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 369: /* type_specifier_nonarray: F16SAMPLERCUBEARRAY */
|
|
#line 2648 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat16, EsdCube, true);
|
|
}
|
|
#line 9076 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 370: /* type_specifier_nonarray: F16SAMPLERCUBEARRAYSHADOW */
|
|
#line 2654 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat16, EsdCube, true, true);
|
|
}
|
|
#line 9087 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 371: /* type_specifier_nonarray: ISAMPLER1D */
|
|
#line 2660 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtInt, Esd1D);
|
|
}
|
|
#line 9097 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 372: /* type_specifier_nonarray: ISAMPLER2D */
|
|
#line 2666 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtInt, Esd2D);
|
|
}
|
|
#line 9107 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 373: /* type_specifier_nonarray: ISAMPLER3D */
|
|
#line 2671 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtInt, Esd3D);
|
|
}
|
|
#line 9117 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 374: /* type_specifier_nonarray: ISAMPLERCUBE */
|
|
#line 2676 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtInt, EsdCube);
|
|
}
|
|
#line 9127 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 375: /* type_specifier_nonarray: ISAMPLER2DARRAY */
|
|
#line 2681 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtInt, Esd2D, true);
|
|
}
|
|
#line 9137 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 376: /* type_specifier_nonarray: USAMPLER2D */
|
|
#line 2686 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtUint, Esd2D);
|
|
}
|
|
#line 9147 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 377: /* type_specifier_nonarray: USAMPLER3D */
|
|
#line 2691 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtUint, Esd3D);
|
|
}
|
|
#line 9157 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 378: /* type_specifier_nonarray: USAMPLERCUBE */
|
|
#line 2696 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtUint, EsdCube);
|
|
}
|
|
#line 9167 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 379: /* type_specifier_nonarray: ISAMPLER1DARRAY */
|
|
#line 2702 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtInt, Esd1D, true);
|
|
}
|
|
#line 9177 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 380: /* type_specifier_nonarray: ISAMPLERCUBEARRAY */
|
|
#line 2707 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtInt, EsdCube, true);
|
|
}
|
|
#line 9187 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 381: /* type_specifier_nonarray: USAMPLER1D */
|
|
#line 2712 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtUint, Esd1D);
|
|
}
|
|
#line 9197 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 382: /* type_specifier_nonarray: USAMPLER1DARRAY */
|
|
#line 2717 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtUint, Esd1D, true);
|
|
}
|
|
#line 9207 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 383: /* type_specifier_nonarray: USAMPLERCUBEARRAY */
|
|
#line 2722 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtUint, EsdCube, true);
|
|
}
|
|
#line 9217 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 384: /* type_specifier_nonarray: TEXTURECUBEARRAY */
|
|
#line 2727 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtFloat, EsdCube, true);
|
|
}
|
|
#line 9227 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 385: /* type_specifier_nonarray: ITEXTURECUBEARRAY */
|
|
#line 2732 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtInt, EsdCube, true);
|
|
}
|
|
#line 9237 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 386: /* type_specifier_nonarray: UTEXTURECUBEARRAY */
|
|
#line 2737 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtUint, EsdCube, true);
|
|
}
|
|
#line 9247 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 387: /* type_specifier_nonarray: USAMPLER2DARRAY */
|
|
#line 2743 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtUint, Esd2D, true);
|
|
}
|
|
#line 9257 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 388: /* type_specifier_nonarray: TEXTURE2D */
|
|
#line 2748 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D);
|
|
}
|
|
#line 9267 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 389: /* type_specifier_nonarray: TEXTURE3D */
|
|
#line 2753 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtFloat, Esd3D);
|
|
}
|
|
#line 9277 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 390: /* type_specifier_nonarray: TEXTURE2DARRAY */
|
|
#line 2758 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D, true);
|
|
}
|
|
#line 9287 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 391: /* type_specifier_nonarray: TEXTURECUBE */
|
|
#line 2763 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtFloat, EsdCube);
|
|
}
|
|
#line 9297 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 392: /* type_specifier_nonarray: ITEXTURE2D */
|
|
#line 2768 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtInt, Esd2D);
|
|
}
|
|
#line 9307 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 393: /* type_specifier_nonarray: ITEXTURE3D */
|
|
#line 2773 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtInt, Esd3D);
|
|
}
|
|
#line 9317 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 394: /* type_specifier_nonarray: ITEXTURECUBE */
|
|
#line 2778 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtInt, EsdCube);
|
|
}
|
|
#line 9327 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 395: /* type_specifier_nonarray: ITEXTURE2DARRAY */
|
|
#line 2783 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtInt, Esd2D, true);
|
|
}
|
|
#line 9337 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 396: /* type_specifier_nonarray: UTEXTURE2D */
|
|
#line 2788 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtUint, Esd2D);
|
|
}
|
|
#line 9347 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 397: /* type_specifier_nonarray: UTEXTURE3D */
|
|
#line 2793 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtUint, Esd3D);
|
|
}
|
|
#line 9357 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 398: /* type_specifier_nonarray: UTEXTURECUBE */
|
|
#line 2798 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtUint, EsdCube);
|
|
}
|
|
#line 9367 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 399: /* type_specifier_nonarray: UTEXTURE2DARRAY */
|
|
#line 2803 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtUint, Esd2D, true);
|
|
}
|
|
#line 9377 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 400: /* type_specifier_nonarray: SAMPLER */
|
|
#line 2808 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setPureSampler(false);
|
|
}
|
|
#line 9387 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 401: /* type_specifier_nonarray: SAMPLERSHADOW */
|
|
#line 2813 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setPureSampler(true);
|
|
}
|
|
#line 9397 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 402: /* type_specifier_nonarray: SAMPLER2DRECT */
|
|
#line 2819 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat, EsdRect);
|
|
}
|
|
#line 9407 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 403: /* type_specifier_nonarray: SAMPLER2DRECTSHADOW */
|
|
#line 2824 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat, EsdRect, false, true);
|
|
}
|
|
#line 9417 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 404: /* type_specifier_nonarray: F16SAMPLER2DRECT */
|
|
#line 2829 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat16, EsdRect);
|
|
}
|
|
#line 9428 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 405: /* type_specifier_nonarray: F16SAMPLER2DRECTSHADOW */
|
|
#line 2835 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat16, EsdRect, false, true);
|
|
}
|
|
#line 9439 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 406: /* type_specifier_nonarray: ISAMPLER2DRECT */
|
|
#line 2841 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtInt, EsdRect);
|
|
}
|
|
#line 9449 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 407: /* type_specifier_nonarray: USAMPLER2DRECT */
|
|
#line 2846 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtUint, EsdRect);
|
|
}
|
|
#line 9459 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 408: /* type_specifier_nonarray: SAMPLERBUFFER */
|
|
#line 2851 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat, EsdBuffer);
|
|
}
|
|
#line 9469 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 409: /* type_specifier_nonarray: F16SAMPLERBUFFER */
|
|
#line 2856 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat16, EsdBuffer);
|
|
}
|
|
#line 9480 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 410: /* type_specifier_nonarray: ISAMPLERBUFFER */
|
|
#line 2862 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtInt, EsdBuffer);
|
|
}
|
|
#line 9490 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 411: /* type_specifier_nonarray: USAMPLERBUFFER */
|
|
#line 2867 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtUint, EsdBuffer);
|
|
}
|
|
#line 9500 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 412: /* type_specifier_nonarray: SAMPLER2DMS */
|
|
#line 2872 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat, Esd2D, false, false, true);
|
|
}
|
|
#line 9510 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 413: /* type_specifier_nonarray: F16SAMPLER2DMS */
|
|
#line 2877 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat16, Esd2D, false, false, true);
|
|
}
|
|
#line 9521 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 414: /* type_specifier_nonarray: ISAMPLER2DMS */
|
|
#line 2883 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtInt, Esd2D, false, false, true);
|
|
}
|
|
#line 9531 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 415: /* type_specifier_nonarray: USAMPLER2DMS */
|
|
#line 2888 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtUint, Esd2D, false, false, true);
|
|
}
|
|
#line 9541 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 416: /* type_specifier_nonarray: SAMPLER2DMSARRAY */
|
|
#line 2893 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat, Esd2D, true, false, true);
|
|
}
|
|
#line 9551 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 417: /* type_specifier_nonarray: F16SAMPLER2DMSARRAY */
|
|
#line 2898 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float sampler", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat16, Esd2D, true, false, true);
|
|
}
|
|
#line 9562 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 418: /* type_specifier_nonarray: ISAMPLER2DMSARRAY */
|
|
#line 2904 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtInt, Esd2D, true, false, true);
|
|
}
|
|
#line 9572 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 419: /* type_specifier_nonarray: USAMPLER2DMSARRAY */
|
|
#line 2909 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtUint, Esd2D, true, false, true);
|
|
}
|
|
#line 9582 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 420: /* type_specifier_nonarray: TEXTURE1D */
|
|
#line 2914 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtFloat, Esd1D);
|
|
}
|
|
#line 9592 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 421: /* type_specifier_nonarray: F16TEXTURE1D */
|
|
#line 2919 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtFloat16, Esd1D);
|
|
}
|
|
#line 9603 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 422: /* type_specifier_nonarray: F16TEXTURE2D */
|
|
#line 2925 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D);
|
|
}
|
|
#line 9614 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 423: /* type_specifier_nonarray: F16TEXTURE3D */
|
|
#line 2931 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtFloat16, Esd3D);
|
|
}
|
|
#line 9625 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 424: /* type_specifier_nonarray: F16TEXTURECUBE */
|
|
#line 2937 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtFloat16, EsdCube);
|
|
}
|
|
#line 9636 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 425: /* type_specifier_nonarray: TEXTURE1DARRAY */
|
|
#line 2943 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtFloat, Esd1D, true);
|
|
}
|
|
#line 9646 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 426: /* type_specifier_nonarray: F16TEXTURE1DARRAY */
|
|
#line 2948 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtFloat16, Esd1D, true);
|
|
}
|
|
#line 9657 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 427: /* type_specifier_nonarray: F16TEXTURE2DARRAY */
|
|
#line 2954 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D, true);
|
|
}
|
|
#line 9668 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 428: /* type_specifier_nonarray: F16TEXTURECUBEARRAY */
|
|
#line 2960 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtFloat16, EsdCube, true);
|
|
}
|
|
#line 9679 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 429: /* type_specifier_nonarray: ITEXTURE1D */
|
|
#line 2966 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtInt, Esd1D);
|
|
}
|
|
#line 9689 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 430: /* type_specifier_nonarray: ITEXTURE1DARRAY */
|
|
#line 2971 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtInt, Esd1D, true);
|
|
}
|
|
#line 9699 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 431: /* type_specifier_nonarray: UTEXTURE1D */
|
|
#line 2976 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtUint, Esd1D);
|
|
}
|
|
#line 9709 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 432: /* type_specifier_nonarray: UTEXTURE1DARRAY */
|
|
#line 2981 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtUint, Esd1D, true);
|
|
}
|
|
#line 9719 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 433: /* type_specifier_nonarray: TEXTURE2DRECT */
|
|
#line 2986 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtFloat, EsdRect);
|
|
}
|
|
#line 9729 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 434: /* type_specifier_nonarray: F16TEXTURE2DRECT */
|
|
#line 2991 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtFloat16, EsdRect);
|
|
}
|
|
#line 9740 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 435: /* type_specifier_nonarray: ITEXTURE2DRECT */
|
|
#line 2997 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtInt, EsdRect);
|
|
}
|
|
#line 9750 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 436: /* type_specifier_nonarray: UTEXTURE2DRECT */
|
|
#line 3002 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtUint, EsdRect);
|
|
}
|
|
#line 9760 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 437: /* type_specifier_nonarray: TEXTUREBUFFER */
|
|
#line 3007 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtFloat, EsdBuffer);
|
|
}
|
|
#line 9770 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 438: /* type_specifier_nonarray: F16TEXTUREBUFFER */
|
|
#line 3012 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtFloat16, EsdBuffer);
|
|
}
|
|
#line 9781 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 439: /* type_specifier_nonarray: ITEXTUREBUFFER */
|
|
#line 3018 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtInt, EsdBuffer);
|
|
}
|
|
#line 9791 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 440: /* type_specifier_nonarray: UTEXTUREBUFFER */
|
|
#line 3023 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtUint, EsdBuffer);
|
|
}
|
|
#line 9801 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 441: /* type_specifier_nonarray: TEXTURE2DMS */
|
|
#line 3028 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D, false, false, true);
|
|
}
|
|
#line 9811 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 442: /* type_specifier_nonarray: F16TEXTURE2DMS */
|
|
#line 3033 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D, false, false, true);
|
|
}
|
|
#line 9822 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 443: /* type_specifier_nonarray: ITEXTURE2DMS */
|
|
#line 3039 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtInt, Esd2D, false, false, true);
|
|
}
|
|
#line 9832 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 444: /* type_specifier_nonarray: UTEXTURE2DMS */
|
|
#line 3044 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtUint, Esd2D, false, false, true);
|
|
}
|
|
#line 9842 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 445: /* type_specifier_nonarray: TEXTURE2DMSARRAY */
|
|
#line 3049 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtFloat, Esd2D, true, false, true);
|
|
}
|
|
#line 9852 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 446: /* type_specifier_nonarray: F16TEXTURE2DMSARRAY */
|
|
#line 3054 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float texture", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtFloat16, Esd2D, true, false, true);
|
|
}
|
|
#line 9863 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 447: /* type_specifier_nonarray: ITEXTURE2DMSARRAY */
|
|
#line 3060 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtInt, Esd2D, true, false, true);
|
|
}
|
|
#line 9873 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 448: /* type_specifier_nonarray: UTEXTURE2DMSARRAY */
|
|
#line 3065 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setTexture(EbtUint, Esd2D, true, false, true);
|
|
}
|
|
#line 9883 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 449: /* type_specifier_nonarray: IMAGE1D */
|
|
#line 3070 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtFloat, Esd1D);
|
|
}
|
|
#line 9893 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 450: /* type_specifier_nonarray: F16IMAGE1D */
|
|
#line 3075 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtFloat16, Esd1D);
|
|
}
|
|
#line 9904 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 451: /* type_specifier_nonarray: IIMAGE1D */
|
|
#line 3081 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtInt, Esd1D);
|
|
}
|
|
#line 9914 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 452: /* type_specifier_nonarray: UIMAGE1D */
|
|
#line 3086 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtUint, Esd1D);
|
|
}
|
|
#line 9924 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 453: /* type_specifier_nonarray: IMAGE2D */
|
|
#line 3091 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtFloat, Esd2D);
|
|
}
|
|
#line 9934 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 454: /* type_specifier_nonarray: F16IMAGE2D */
|
|
#line 3096 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D);
|
|
}
|
|
#line 9945 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 455: /* type_specifier_nonarray: IIMAGE2D */
|
|
#line 3102 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtInt, Esd2D);
|
|
}
|
|
#line 9955 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 456: /* type_specifier_nonarray: UIMAGE2D */
|
|
#line 3107 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtUint, Esd2D);
|
|
}
|
|
#line 9965 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 457: /* type_specifier_nonarray: IMAGE3D */
|
|
#line 3112 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtFloat, Esd3D);
|
|
}
|
|
#line 9975 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 458: /* type_specifier_nonarray: F16IMAGE3D */
|
|
#line 3117 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtFloat16, Esd3D);
|
|
}
|
|
#line 9986 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 459: /* type_specifier_nonarray: IIMAGE3D */
|
|
#line 3123 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtInt, Esd3D);
|
|
}
|
|
#line 9996 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 460: /* type_specifier_nonarray: UIMAGE3D */
|
|
#line 3128 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtUint, Esd3D);
|
|
}
|
|
#line 10006 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 461: /* type_specifier_nonarray: IMAGE2DRECT */
|
|
#line 3133 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtFloat, EsdRect);
|
|
}
|
|
#line 10016 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 462: /* type_specifier_nonarray: F16IMAGE2DRECT */
|
|
#line 3138 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtFloat16, EsdRect);
|
|
}
|
|
#line 10027 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 463: /* type_specifier_nonarray: IIMAGE2DRECT */
|
|
#line 3144 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtInt, EsdRect);
|
|
}
|
|
#line 10037 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 464: /* type_specifier_nonarray: UIMAGE2DRECT */
|
|
#line 3149 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtUint, EsdRect);
|
|
}
|
|
#line 10047 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 465: /* type_specifier_nonarray: IMAGECUBE */
|
|
#line 3154 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtFloat, EsdCube);
|
|
}
|
|
#line 10057 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 466: /* type_specifier_nonarray: F16IMAGECUBE */
|
|
#line 3159 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtFloat16, EsdCube);
|
|
}
|
|
#line 10068 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 467: /* type_specifier_nonarray: IIMAGECUBE */
|
|
#line 3165 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtInt, EsdCube);
|
|
}
|
|
#line 10078 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 468: /* type_specifier_nonarray: UIMAGECUBE */
|
|
#line 3170 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtUint, EsdCube);
|
|
}
|
|
#line 10088 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 469: /* type_specifier_nonarray: IMAGEBUFFER */
|
|
#line 3175 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtFloat, EsdBuffer);
|
|
}
|
|
#line 10098 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 470: /* type_specifier_nonarray: F16IMAGEBUFFER */
|
|
#line 3180 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtFloat16, EsdBuffer);
|
|
}
|
|
#line 10109 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 471: /* type_specifier_nonarray: IIMAGEBUFFER */
|
|
#line 3186 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtInt, EsdBuffer);
|
|
}
|
|
#line 10119 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 472: /* type_specifier_nonarray: UIMAGEBUFFER */
|
|
#line 3191 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtUint, EsdBuffer);
|
|
}
|
|
#line 10129 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 473: /* type_specifier_nonarray: IMAGE1DARRAY */
|
|
#line 3196 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtFloat, Esd1D, true);
|
|
}
|
|
#line 10139 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 474: /* type_specifier_nonarray: F16IMAGE1DARRAY */
|
|
#line 3201 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtFloat16, Esd1D, true);
|
|
}
|
|
#line 10150 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 475: /* type_specifier_nonarray: IIMAGE1DARRAY */
|
|
#line 3207 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtInt, Esd1D, true);
|
|
}
|
|
#line 10160 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 476: /* type_specifier_nonarray: UIMAGE1DARRAY */
|
|
#line 3212 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtUint, Esd1D, true);
|
|
}
|
|
#line 10170 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 477: /* type_specifier_nonarray: IMAGE2DARRAY */
|
|
#line 3217 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtFloat, Esd2D, true);
|
|
}
|
|
#line 10180 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 478: /* type_specifier_nonarray: F16IMAGE2DARRAY */
|
|
#line 3222 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D, true);
|
|
}
|
|
#line 10191 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 479: /* type_specifier_nonarray: IIMAGE2DARRAY */
|
|
#line 3228 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtInt, Esd2D, true);
|
|
}
|
|
#line 10201 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 480: /* type_specifier_nonarray: UIMAGE2DARRAY */
|
|
#line 3233 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtUint, Esd2D, true);
|
|
}
|
|
#line 10211 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 481: /* type_specifier_nonarray: IMAGECUBEARRAY */
|
|
#line 3238 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtFloat, EsdCube, true);
|
|
}
|
|
#line 10221 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 482: /* type_specifier_nonarray: F16IMAGECUBEARRAY */
|
|
#line 3243 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtFloat16, EsdCube, true);
|
|
}
|
|
#line 10232 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 483: /* type_specifier_nonarray: IIMAGECUBEARRAY */
|
|
#line 3249 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtInt, EsdCube, true);
|
|
}
|
|
#line 10242 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 484: /* type_specifier_nonarray: UIMAGECUBEARRAY */
|
|
#line 3254 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtUint, EsdCube, true);
|
|
}
|
|
#line 10252 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 485: /* type_specifier_nonarray: IMAGE2DMS */
|
|
#line 3259 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtFloat, Esd2D, false, false, true);
|
|
}
|
|
#line 10262 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 486: /* type_specifier_nonarray: F16IMAGE2DMS */
|
|
#line 3264 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D, false, false, true);
|
|
}
|
|
#line 10273 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 487: /* type_specifier_nonarray: IIMAGE2DMS */
|
|
#line 3270 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtInt, Esd2D, false, false, true);
|
|
}
|
|
#line 10283 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 488: /* type_specifier_nonarray: UIMAGE2DMS */
|
|
#line 3275 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtUint, Esd2D, false, false, true);
|
|
}
|
|
#line 10293 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 489: /* type_specifier_nonarray: IMAGE2DMSARRAY */
|
|
#line 3280 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtFloat, Esd2D, true, false, true);
|
|
}
|
|
#line 10303 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 490: /* type_specifier_nonarray: F16IMAGE2DMSARRAY */
|
|
#line 3285 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float image", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtFloat16, Esd2D, true, false, true);
|
|
}
|
|
#line 10314 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 491: /* type_specifier_nonarray: IIMAGE2DMSARRAY */
|
|
#line 3291 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtInt, Esd2D, true, false, true);
|
|
}
|
|
#line 10324 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 492: /* type_specifier_nonarray: UIMAGE2DMSARRAY */
|
|
#line 3296 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtUint, Esd2D, true, false, true);
|
|
}
|
|
#line 10334 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 493: /* type_specifier_nonarray: I64IMAGE1D */
|
|
#line 3301 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtInt64, Esd1D);
|
|
}
|
|
#line 10344 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 494: /* type_specifier_nonarray: U64IMAGE1D */
|
|
#line 3306 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtUint64, Esd1D);
|
|
}
|
|
#line 10354 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 495: /* type_specifier_nonarray: I64IMAGE2D */
|
|
#line 3311 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtInt64, Esd2D);
|
|
}
|
|
#line 10364 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 496: /* type_specifier_nonarray: U64IMAGE2D */
|
|
#line 3316 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtUint64, Esd2D);
|
|
}
|
|
#line 10374 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 497: /* type_specifier_nonarray: I64IMAGE3D */
|
|
#line 3321 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtInt64, Esd3D);
|
|
}
|
|
#line 10384 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 498: /* type_specifier_nonarray: U64IMAGE3D */
|
|
#line 3326 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtUint64, Esd3D);
|
|
}
|
|
#line 10394 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 499: /* type_specifier_nonarray: I64IMAGE2DRECT */
|
|
#line 3331 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtInt64, EsdRect);
|
|
}
|
|
#line 10404 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 500: /* type_specifier_nonarray: U64IMAGE2DRECT */
|
|
#line 3336 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtUint64, EsdRect);
|
|
}
|
|
#line 10414 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 501: /* type_specifier_nonarray: I64IMAGECUBE */
|
|
#line 3341 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtInt64, EsdCube);
|
|
}
|
|
#line 10424 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 502: /* type_specifier_nonarray: U64IMAGECUBE */
|
|
#line 3346 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtUint64, EsdCube);
|
|
}
|
|
#line 10434 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 503: /* type_specifier_nonarray: I64IMAGEBUFFER */
|
|
#line 3351 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtInt64, EsdBuffer);
|
|
}
|
|
#line 10444 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 504: /* type_specifier_nonarray: U64IMAGEBUFFER */
|
|
#line 3356 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtUint64, EsdBuffer);
|
|
}
|
|
#line 10454 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 505: /* type_specifier_nonarray: I64IMAGE1DARRAY */
|
|
#line 3361 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtInt64, Esd1D, true);
|
|
}
|
|
#line 10464 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 506: /* type_specifier_nonarray: U64IMAGE1DARRAY */
|
|
#line 3366 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtUint64, Esd1D, true);
|
|
}
|
|
#line 10474 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 507: /* type_specifier_nonarray: I64IMAGE2DARRAY */
|
|
#line 3371 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtInt64, Esd2D, true);
|
|
}
|
|
#line 10484 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 508: /* type_specifier_nonarray: U64IMAGE2DARRAY */
|
|
#line 3376 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtUint64, Esd2D, true);
|
|
}
|
|
#line 10494 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 509: /* type_specifier_nonarray: I64IMAGECUBEARRAY */
|
|
#line 3381 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtInt64, EsdCube, true);
|
|
}
|
|
#line 10504 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 510: /* type_specifier_nonarray: U64IMAGECUBEARRAY */
|
|
#line 3386 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtUint64, EsdCube, true);
|
|
}
|
|
#line 10514 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 511: /* type_specifier_nonarray: I64IMAGE2DMS */
|
|
#line 3391 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtInt64, Esd2D, false, false, true);
|
|
}
|
|
#line 10524 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 512: /* type_specifier_nonarray: U64IMAGE2DMS */
|
|
#line 3396 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtUint64, Esd2D, false, false, true);
|
|
}
|
|
#line 10534 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 513: /* type_specifier_nonarray: I64IMAGE2DMSARRAY */
|
|
#line 3401 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtInt64, Esd2D, true, false, true);
|
|
}
|
|
#line 10544 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 514: /* type_specifier_nonarray: U64IMAGE2DMSARRAY */
|
|
#line 3406 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setImage(EbtUint64, Esd2D, true, false, true);
|
|
}
|
|
#line 10554 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 515: /* type_specifier_nonarray: SAMPLEREXTERNALOES */
|
|
#line 3411 "MachineIndependent/glslang.y"
|
|
{ // GL_OES_EGL_image_external
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat, Esd2D);
|
|
(yyval.interm.type).sampler.external = true;
|
|
}
|
|
#line 10565 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 516: /* type_specifier_nonarray: SAMPLEREXTERNAL2DY2YEXT */
|
|
#line 3417 "MachineIndependent/glslang.y"
|
|
{ // GL_EXT_YUV_target
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.set(EbtFloat, Esd2D);
|
|
(yyval.interm.type).sampler.yuv = true;
|
|
}
|
|
#line 10576 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 517: /* type_specifier_nonarray: SUBPASSINPUT */
|
|
#line 3423 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setSubpass(EbtFloat);
|
|
}
|
|
#line 10587 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 518: /* type_specifier_nonarray: SUBPASSINPUTMS */
|
|
#line 3429 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setSubpass(EbtFloat, true);
|
|
}
|
|
#line 10598 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 519: /* type_specifier_nonarray: F16SUBPASSINPUT */
|
|
#line 3435 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
|
|
parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setSubpass(EbtFloat16);
|
|
}
|
|
#line 10610 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 520: /* type_specifier_nonarray: F16SUBPASSINPUTMS */
|
|
#line 3442 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.float16OpaqueCheck((yyvsp[0].lex).loc, "half float subpass input", parseContext.symbolTable.atBuiltInLevel());
|
|
parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setSubpass(EbtFloat16, true);
|
|
}
|
|
#line 10622 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 521: /* type_specifier_nonarray: ISUBPASSINPUT */
|
|
#line 3449 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setSubpass(EbtInt);
|
|
}
|
|
#line 10633 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 522: /* type_specifier_nonarray: ISUBPASSINPUTMS */
|
|
#line 3455 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setSubpass(EbtInt, true);
|
|
}
|
|
#line 10644 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 523: /* type_specifier_nonarray: USUBPASSINPUT */
|
|
#line 3461 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setSubpass(EbtUint);
|
|
}
|
|
#line 10655 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 524: /* type_specifier_nonarray: USUBPASSINPUTMS */
|
|
#line 3467 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireStage((yyvsp[0].lex).loc, EShLangFragment, "subpass input");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtSampler;
|
|
(yyval.interm.type).sampler.setSubpass(EbtUint, true);
|
|
}
|
|
#line 10666 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 525: /* type_specifier_nonarray: FCOOPMATNV */
|
|
#line 3473 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.fcoopmatCheck((yyvsp[0].lex).loc, "fcoopmatNV", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtFloat;
|
|
(yyval.interm.type).coopmat = true;
|
|
}
|
|
#line 10677 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 526: /* type_specifier_nonarray: ICOOPMATNV */
|
|
#line 3479 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.intcoopmatCheck((yyvsp[0].lex).loc, "icoopmatNV", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtInt;
|
|
(yyval.interm.type).coopmat = true;
|
|
}
|
|
#line 10688 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 527: /* type_specifier_nonarray: UCOOPMATNV */
|
|
#line 3485 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.intcoopmatCheck((yyvsp[0].lex).loc, "ucoopmatNV", parseContext.symbolTable.atBuiltInLevel());
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtUint;
|
|
(yyval.interm.type).coopmat = true;
|
|
}
|
|
#line 10699 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 528: /* type_specifier_nonarray: spirv_type_specifier */
|
|
#line 3491 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireExtensions((yyvsp[0].interm.type).loc, 1, &E_GL_EXT_spirv_intrinsics, "SPIR-V type specifier");
|
|
(yyval.interm.type) = (yyvsp[0].interm.type);
|
|
}
|
|
#line 10708 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 529: /* type_specifier_nonarray: struct_specifier */
|
|
#line 3496 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type) = (yyvsp[0].interm.type);
|
|
(yyval.interm.type).qualifier.storage = parseContext.symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary;
|
|
parseContext.structTypeCheck((yyval.interm.type).loc, (yyval.interm.type));
|
|
}
|
|
#line 10718 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 530: /* type_specifier_nonarray: TYPE_NAME */
|
|
#line 3501 "MachineIndependent/glslang.y"
|
|
{
|
|
//
|
|
// This is for user defined type names. The lexical phase looked up the
|
|
// type.
|
|
//
|
|
if (const TVariable* variable = ((yyvsp[0].lex).symbol)->getAsVariable()) {
|
|
const TType& structure = variable->getType();
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).basicType = EbtStruct;
|
|
(yyval.interm.type).userDef = &structure;
|
|
} else
|
|
parseContext.error((yyvsp[0].lex).loc, "expected type name", (yyvsp[0].lex).string->c_str(), "");
|
|
}
|
|
#line 10736 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 531: /* precision_qualifier: HIGH_PRECISION */
|
|
#line 3517 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "highp precision qualifier");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
parseContext.handlePrecisionQualifier((yyvsp[0].lex).loc, (yyval.interm.type).qualifier, EpqHigh);
|
|
}
|
|
#line 10746 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 532: /* precision_qualifier: MEDIUM_PRECISION */
|
|
#line 3522 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "mediump precision qualifier");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
parseContext.handlePrecisionQualifier((yyvsp[0].lex).loc, (yyval.interm.type).qualifier, EpqMedium);
|
|
}
|
|
#line 10756 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 533: /* precision_qualifier: LOW_PRECISION */
|
|
#line 3527 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, ENoProfile, 130, 0, "lowp precision qualifier");
|
|
(yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
parseContext.handlePrecisionQualifier((yyvsp[0].lex).loc, (yyval.interm.type).qualifier, EpqLow);
|
|
}
|
|
#line 10766 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 534: /* $@3: %empty */
|
|
#line 3535 "MachineIndependent/glslang.y"
|
|
{ parseContext.nestedStructCheck((yyvsp[-2].lex).loc); }
|
|
#line 10772 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 535: /* struct_specifier: STRUCT IDENTIFIER LEFT_BRACE $@3 struct_declaration_list RIGHT_BRACE */
|
|
#line 3535 "MachineIndependent/glslang.y"
|
|
{
|
|
TType* structure = new TType((yyvsp[-1].interm.typeList), *(yyvsp[-4].lex).string);
|
|
parseContext.structArrayCheck((yyvsp[-4].lex).loc, *structure);
|
|
TVariable* userTypeDef = new TVariable((yyvsp[-4].lex).string, *structure, true);
|
|
if (! parseContext.symbolTable.insert(*userTypeDef))
|
|
parseContext.error((yyvsp[-4].lex).loc, "redefinition", (yyvsp[-4].lex).string->c_str(), "struct");
|
|
(yyval.interm.type).init((yyvsp[-5].lex).loc);
|
|
(yyval.interm.type).basicType = EbtStruct;
|
|
(yyval.interm.type).userDef = structure;
|
|
--parseContext.structNestingLevel;
|
|
}
|
|
#line 10788 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 536: /* $@4: %empty */
|
|
#line 3546 "MachineIndependent/glslang.y"
|
|
{ parseContext.nestedStructCheck((yyvsp[-1].lex).loc); }
|
|
#line 10794 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 537: /* struct_specifier: STRUCT LEFT_BRACE $@4 struct_declaration_list RIGHT_BRACE */
|
|
#line 3546 "MachineIndependent/glslang.y"
|
|
{
|
|
TType* structure = new TType((yyvsp[-1].interm.typeList), TString(""));
|
|
(yyval.interm.type).init((yyvsp[-4].lex).loc);
|
|
(yyval.interm.type).basicType = EbtStruct;
|
|
(yyval.interm.type).userDef = structure;
|
|
--parseContext.structNestingLevel;
|
|
}
|
|
#line 10806 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 538: /* struct_declaration_list: struct_declaration */
|
|
#line 3556 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.typeList) = (yyvsp[0].interm.typeList);
|
|
}
|
|
#line 10814 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 539: /* struct_declaration_list: struct_declaration_list struct_declaration */
|
|
#line 3559 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
|
|
for (unsigned int i = 0; i < (yyvsp[0].interm.typeList)->size(); ++i) {
|
|
for (unsigned int j = 0; j < (yyval.interm.typeList)->size(); ++j) {
|
|
if ((*(yyval.interm.typeList))[j].type->getFieldName() == (*(yyvsp[0].interm.typeList))[i].type->getFieldName())
|
|
parseContext.error((*(yyvsp[0].interm.typeList))[i].loc, "duplicate member name:", "", (*(yyvsp[0].interm.typeList))[i].type->getFieldName().c_str());
|
|
}
|
|
(yyval.interm.typeList)->push_back((*(yyvsp[0].interm.typeList))[i]);
|
|
}
|
|
}
|
|
#line 10829 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 540: /* struct_declaration: type_specifier struct_declarator_list SEMICOLON */
|
|
#line 3572 "MachineIndependent/glslang.y"
|
|
{
|
|
if ((yyvsp[-2].interm.type).arraySizes) {
|
|
parseContext.profileRequires((yyvsp[-2].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
|
|
parseContext.profileRequires((yyvsp[-2].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
|
|
if (parseContext.isEsProfile())
|
|
parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
|
|
}
|
|
|
|
(yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
|
|
|
|
parseContext.voidErrorCheck((yyvsp[-2].interm.type).loc, (*(yyvsp[-1].interm.typeList))[0].type->getFieldName(), (yyvsp[-2].interm.type).basicType);
|
|
parseContext.precisionQualifierCheck((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).basicType, (yyvsp[-2].interm.type).qualifier);
|
|
|
|
for (unsigned int i = 0; i < (yyval.interm.typeList)->size(); ++i) {
|
|
TType type((yyvsp[-2].interm.type));
|
|
type.setFieldName((*(yyval.interm.typeList))[i].type->getFieldName());
|
|
type.transferArraySizes((*(yyval.interm.typeList))[i].type->getArraySizes());
|
|
type.copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
|
|
parseContext.arrayOfArrayVersionCheck((*(yyval.interm.typeList))[i].loc, type.getArraySizes());
|
|
(*(yyval.interm.typeList))[i].type->shallowCopy(type);
|
|
}
|
|
}
|
|
#line 10856 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 541: /* struct_declaration: type_qualifier type_specifier struct_declarator_list SEMICOLON */
|
|
#line 3594 "MachineIndependent/glslang.y"
|
|
{
|
|
if ((yyvsp[-2].interm.type).arraySizes) {
|
|
parseContext.profileRequires((yyvsp[-2].interm.type).loc, ENoProfile, 120, E_GL_3DL_array_objects, "arrayed type");
|
|
parseContext.profileRequires((yyvsp[-2].interm.type).loc, EEsProfile, 300, 0, "arrayed type");
|
|
if (parseContext.isEsProfile())
|
|
parseContext.arraySizeRequiredCheck((yyvsp[-2].interm.type).loc, *(yyvsp[-2].interm.type).arraySizes);
|
|
}
|
|
|
|
(yyval.interm.typeList) = (yyvsp[-1].interm.typeList);
|
|
|
|
parseContext.memberQualifierCheck((yyvsp[-3].interm.type));
|
|
parseContext.voidErrorCheck((yyvsp[-2].interm.type).loc, (*(yyvsp[-1].interm.typeList))[0].type->getFieldName(), (yyvsp[-2].interm.type).basicType);
|
|
parseContext.mergeQualifiers((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).qualifier, (yyvsp[-3].interm.type).qualifier, true);
|
|
parseContext.precisionQualifierCheck((yyvsp[-2].interm.type).loc, (yyvsp[-2].interm.type).basicType, (yyvsp[-2].interm.type).qualifier);
|
|
|
|
for (unsigned int i = 0; i < (yyval.interm.typeList)->size(); ++i) {
|
|
TType type((yyvsp[-2].interm.type));
|
|
type.setFieldName((*(yyval.interm.typeList))[i].type->getFieldName());
|
|
type.transferArraySizes((*(yyval.interm.typeList))[i].type->getArraySizes());
|
|
type.copyArrayInnerSizes((yyvsp[-2].interm.type).arraySizes);
|
|
parseContext.arrayOfArrayVersionCheck((*(yyval.interm.typeList))[i].loc, type.getArraySizes());
|
|
(*(yyval.interm.typeList))[i].type->shallowCopy(type);
|
|
}
|
|
}
|
|
#line 10885 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 542: /* struct_declarator_list: struct_declarator */
|
|
#line 3621 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.typeList) = new TTypeList;
|
|
(yyval.interm.typeList)->push_back((yyvsp[0].interm.typeLine));
|
|
}
|
|
#line 10894 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 543: /* struct_declarator_list: struct_declarator_list COMMA struct_declarator */
|
|
#line 3625 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.typeList)->push_back((yyvsp[0].interm.typeLine));
|
|
}
|
|
#line 10902 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 544: /* struct_declarator: IDENTIFIER */
|
|
#line 3631 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.typeLine).type = new TType(EbtVoid);
|
|
(yyval.interm.typeLine).loc = (yyvsp[0].lex).loc;
|
|
(yyval.interm.typeLine).type->setFieldName(*(yyvsp[0].lex).string);
|
|
}
|
|
#line 10912 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 545: /* struct_declarator: IDENTIFIER array_specifier */
|
|
#line 3636 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.arrayOfArrayVersionCheck((yyvsp[-1].lex).loc, (yyvsp[0].interm).arraySizes);
|
|
|
|
(yyval.interm.typeLine).type = new TType(EbtVoid);
|
|
(yyval.interm.typeLine).loc = (yyvsp[-1].lex).loc;
|
|
(yyval.interm.typeLine).type->setFieldName(*(yyvsp[-1].lex).string);
|
|
(yyval.interm.typeLine).type->transferArraySizes((yyvsp[0].interm).arraySizes);
|
|
}
|
|
#line 10925 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 546: /* initializer: assignment_expression */
|
|
#line 3647 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
|
|
}
|
|
#line 10933 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 547: /* initializer: LEFT_BRACE initializer_list RIGHT_BRACE */
|
|
#line 3651 "MachineIndependent/glslang.y"
|
|
{
|
|
const char* initFeature = "{ } style initializers";
|
|
parseContext.requireProfile((yyvsp[-2].lex).loc, ~EEsProfile, initFeature);
|
|
parseContext.profileRequires((yyvsp[-2].lex).loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, initFeature);
|
|
(yyval.interm.intermTypedNode) = (yyvsp[-1].interm.intermTypedNode);
|
|
}
|
|
#line 10944 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 548: /* initializer: LEFT_BRACE initializer_list COMMA RIGHT_BRACE */
|
|
#line 3657 "MachineIndependent/glslang.y"
|
|
{
|
|
const char* initFeature = "{ } style initializers";
|
|
parseContext.requireProfile((yyvsp[-3].lex).loc, ~EEsProfile, initFeature);
|
|
parseContext.profileRequires((yyvsp[-3].lex).loc, ~EEsProfile, 420, E_GL_ARB_shading_language_420pack, initFeature);
|
|
(yyval.interm.intermTypedNode) = (yyvsp[-2].interm.intermTypedNode);
|
|
}
|
|
#line 10955 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 549: /* initializer: LEFT_BRACE RIGHT_BRACE */
|
|
#line 3663 "MachineIndependent/glslang.y"
|
|
{
|
|
const char* initFeature = "empty { } initializer";
|
|
parseContext.profileRequires((yyvsp[-1].lex).loc, EEsProfile, 0, E_GL_EXT_null_initializer, initFeature);
|
|
parseContext.profileRequires((yyvsp[-1].lex).loc, ~EEsProfile, 0, E_GL_EXT_null_initializer, initFeature);
|
|
(yyval.interm.intermTypedNode) = parseContext.intermediate.makeAggregate((yyvsp[-1].lex).loc);
|
|
}
|
|
#line 10966 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 550: /* initializer_list: initializer */
|
|
#line 3674 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermTypedNode) = parseContext.intermediate.growAggregate(0, (yyvsp[0].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode)->getLoc());
|
|
}
|
|
#line 10974 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 551: /* initializer_list: initializer_list COMMA initializer */
|
|
#line 3677 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermTypedNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.intermTypedNode));
|
|
}
|
|
#line 10982 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 552: /* declaration_statement: declaration */
|
|
#line 3684 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
|
|
#line 10988 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 553: /* statement: compound_statement */
|
|
#line 3688 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
|
|
#line 10994 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 554: /* statement: simple_statement */
|
|
#line 3689 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
|
|
#line 11000 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 555: /* simple_statement: declaration_statement */
|
|
#line 3695 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
|
|
#line 11006 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 556: /* simple_statement: expression_statement */
|
|
#line 3696 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
|
|
#line 11012 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 557: /* simple_statement: selection_statement */
|
|
#line 3697 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
|
|
#line 11018 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 558: /* simple_statement: switch_statement */
|
|
#line 3698 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
|
|
#line 11024 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 559: /* simple_statement: case_label */
|
|
#line 3699 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
|
|
#line 11030 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 560: /* simple_statement: iteration_statement */
|
|
#line 3700 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
|
|
#line 11036 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 561: /* simple_statement: jump_statement */
|
|
#line 3701 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
|
|
#line 11042 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 562: /* simple_statement: demote_statement */
|
|
#line 3703 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
|
|
#line 11048 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 563: /* demote_statement: DEMOTE SEMICOLON */
|
|
#line 3709 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireStage((yyvsp[-1].lex).loc, EShLangFragment, "demote");
|
|
parseContext.requireExtensions((yyvsp[-1].lex).loc, 1, &E_GL_EXT_demote_to_helper_invocation, "demote");
|
|
(yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpDemote, (yyvsp[-1].lex).loc);
|
|
}
|
|
#line 11058 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 564: /* compound_statement: LEFT_BRACE RIGHT_BRACE */
|
|
#line 3718 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm.intermNode) = 0; }
|
|
#line 11064 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 565: /* $@5: %empty */
|
|
#line 3719 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.symbolTable.push();
|
|
++parseContext.statementNestingLevel;
|
|
}
|
|
#line 11073 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 566: /* $@6: %empty */
|
|
#line 3723 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
|
|
--parseContext.statementNestingLevel;
|
|
}
|
|
#line 11082 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 567: /* compound_statement: LEFT_BRACE $@5 statement_list $@6 RIGHT_BRACE */
|
|
#line 3727 "MachineIndependent/glslang.y"
|
|
{
|
|
if ((yyvsp[-2].interm.intermNode) && (yyvsp[-2].interm.intermNode)->getAsAggregate())
|
|
(yyvsp[-2].interm.intermNode)->getAsAggregate()->setOperator(parseContext.intermediate.getDebugInfo() ? EOpScope : EOpSequence);
|
|
(yyval.interm.intermNode) = (yyvsp[-2].interm.intermNode);
|
|
}
|
|
#line 11092 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 568: /* statement_no_new_scope: compound_statement_no_new_scope */
|
|
#line 3735 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
|
|
#line 11098 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 569: /* statement_no_new_scope: simple_statement */
|
|
#line 3736 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm.intermNode) = (yyvsp[0].interm.intermNode); }
|
|
#line 11104 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 570: /* $@7: %empty */
|
|
#line 3740 "MachineIndependent/glslang.y"
|
|
{
|
|
++parseContext.controlFlowNestingLevel;
|
|
}
|
|
#line 11112 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 571: /* statement_scoped: $@7 compound_statement */
|
|
#line 3743 "MachineIndependent/glslang.y"
|
|
{
|
|
--parseContext.controlFlowNestingLevel;
|
|
(yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
|
|
}
|
|
#line 11121 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 572: /* $@8: %empty */
|
|
#line 3747 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.symbolTable.push();
|
|
++parseContext.statementNestingLevel;
|
|
++parseContext.controlFlowNestingLevel;
|
|
}
|
|
#line 11131 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 573: /* statement_scoped: $@8 simple_statement */
|
|
#line 3752 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
|
|
--parseContext.statementNestingLevel;
|
|
--parseContext.controlFlowNestingLevel;
|
|
(yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
|
|
}
|
|
#line 11142 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 574: /* compound_statement_no_new_scope: LEFT_BRACE RIGHT_BRACE */
|
|
#line 3761 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = 0;
|
|
}
|
|
#line 11150 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 575: /* compound_statement_no_new_scope: LEFT_BRACE statement_list RIGHT_BRACE */
|
|
#line 3764 "MachineIndependent/glslang.y"
|
|
{
|
|
if ((yyvsp[-1].interm.intermNode) && (yyvsp[-1].interm.intermNode)->getAsAggregate())
|
|
(yyvsp[-1].interm.intermNode)->getAsAggregate()->setOperator(EOpSequence);
|
|
(yyval.interm.intermNode) = (yyvsp[-1].interm.intermNode);
|
|
}
|
|
#line 11160 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 576: /* statement_list: statement */
|
|
#line 3772 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
|
|
if ((yyvsp[0].interm.intermNode) && (yyvsp[0].interm.intermNode)->getAsBranchNode() && ((yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpCase ||
|
|
(yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpDefault)) {
|
|
parseContext.wrapupSwitchSubsequence(0, (yyvsp[0].interm.intermNode));
|
|
(yyval.interm.intermNode) = 0; // start a fresh subsequence for what's after this case
|
|
}
|
|
}
|
|
#line 11173 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 577: /* statement_list: statement_list statement */
|
|
#line 3780 "MachineIndependent/glslang.y"
|
|
{
|
|
if ((yyvsp[0].interm.intermNode) && (yyvsp[0].interm.intermNode)->getAsBranchNode() && ((yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpCase ||
|
|
(yyvsp[0].interm.intermNode)->getAsBranchNode()->getFlowOp() == EOpDefault)) {
|
|
parseContext.wrapupSwitchSubsequence((yyvsp[-1].interm.intermNode) ? (yyvsp[-1].interm.intermNode)->getAsAggregate() : 0, (yyvsp[0].interm.intermNode));
|
|
(yyval.interm.intermNode) = 0; // start a fresh subsequence for what's after this case
|
|
} else
|
|
(yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-1].interm.intermNode), (yyvsp[0].interm.intermNode));
|
|
}
|
|
#line 11186 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 578: /* expression_statement: SEMICOLON */
|
|
#line 3791 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm.intermNode) = 0; }
|
|
#line 11192 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 579: /* expression_statement: expression SEMICOLON */
|
|
#line 3792 "MachineIndependent/glslang.y"
|
|
{ (yyval.interm.intermNode) = static_cast<TIntermNode*>((yyvsp[-1].interm.intermTypedNode)); }
|
|
#line 11198 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 580: /* selection_statement: selection_statement_nonattributed */
|
|
#line 3796 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
|
|
}
|
|
#line 11206 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 581: /* selection_statement: attribute selection_statement_nonattributed */
|
|
#line 3800 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireExtensions((yyvsp[0].interm.intermNode)->getLoc(), 1, &E_GL_EXT_control_flow_attributes, "attribute");
|
|
parseContext.handleSelectionAttributes(*(yyvsp[-1].interm.attributes), (yyvsp[0].interm.intermNode));
|
|
(yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
|
|
}
|
|
#line 11216 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 582: /* selection_statement_nonattributed: IF LEFT_PAREN expression RIGHT_PAREN selection_rest_statement */
|
|
#line 3808 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.boolCheck((yyvsp[-4].lex).loc, (yyvsp[-2].interm.intermTypedNode));
|
|
(yyval.interm.intermNode) = parseContext.intermediate.addSelection((yyvsp[-2].interm.intermTypedNode), (yyvsp[0].interm.nodePair), (yyvsp[-4].lex).loc);
|
|
}
|
|
#line 11225 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 583: /* selection_rest_statement: statement_scoped ELSE statement_scoped */
|
|
#line 3815 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.nodePair).node1 = (yyvsp[-2].interm.intermNode);
|
|
(yyval.interm.nodePair).node2 = (yyvsp[0].interm.intermNode);
|
|
}
|
|
#line 11234 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 584: /* selection_rest_statement: statement_scoped */
|
|
#line 3819 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.nodePair).node1 = (yyvsp[0].interm.intermNode);
|
|
(yyval.interm.nodePair).node2 = 0;
|
|
}
|
|
#line 11243 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 585: /* condition: expression */
|
|
#line 3827 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
|
|
parseContext.boolCheck((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode));
|
|
}
|
|
#line 11252 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 586: /* condition: fully_specified_type IDENTIFIER EQUAL initializer */
|
|
#line 3831 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.boolCheck((yyvsp[-2].lex).loc, (yyvsp[-3].interm.type));
|
|
|
|
TType type((yyvsp[-3].interm.type));
|
|
TIntermNode* initNode = parseContext.declareVariable((yyvsp[-2].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[-3].interm.type), 0, (yyvsp[0].interm.intermTypedNode));
|
|
if (initNode)
|
|
(yyval.interm.intermTypedNode) = initNode->getAsTyped();
|
|
else
|
|
(yyval.interm.intermTypedNode) = 0;
|
|
}
|
|
#line 11267 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 587: /* switch_statement: switch_statement_nonattributed */
|
|
#line 3844 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
|
|
}
|
|
#line 11275 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 588: /* switch_statement: attribute switch_statement_nonattributed */
|
|
#line 3848 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireExtensions((yyvsp[0].interm.intermNode)->getLoc(), 1, &E_GL_EXT_control_flow_attributes, "attribute");
|
|
parseContext.handleSwitchAttributes(*(yyvsp[-1].interm.attributes), (yyvsp[0].interm.intermNode));
|
|
(yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
|
|
}
|
|
#line 11285 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 589: /* $@9: %empty */
|
|
#line 3856 "MachineIndependent/glslang.y"
|
|
{
|
|
// start new switch sequence on the switch stack
|
|
++parseContext.controlFlowNestingLevel;
|
|
++parseContext.statementNestingLevel;
|
|
parseContext.switchSequenceStack.push_back(new TIntermSequence);
|
|
parseContext.switchLevel.push_back(parseContext.statementNestingLevel);
|
|
parseContext.symbolTable.push();
|
|
}
|
|
#line 11298 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 590: /* switch_statement_nonattributed: SWITCH LEFT_PAREN expression RIGHT_PAREN $@9 LEFT_BRACE switch_statement_list RIGHT_BRACE */
|
|
#line 3864 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = parseContext.addSwitch((yyvsp[-7].lex).loc, (yyvsp[-5].interm.intermTypedNode), (yyvsp[-1].interm.intermNode) ? (yyvsp[-1].interm.intermNode)->getAsAggregate() : 0);
|
|
delete parseContext.switchSequenceStack.back();
|
|
parseContext.switchSequenceStack.pop_back();
|
|
parseContext.switchLevel.pop_back();
|
|
parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
|
|
--parseContext.statementNestingLevel;
|
|
--parseContext.controlFlowNestingLevel;
|
|
}
|
|
#line 11312 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 591: /* switch_statement_list: %empty */
|
|
#line 3876 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = 0;
|
|
}
|
|
#line 11320 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 592: /* switch_statement_list: statement_list */
|
|
#line 3879 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
|
|
}
|
|
#line 11328 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 593: /* case_label: CASE expression COLON */
|
|
#line 3885 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = 0;
|
|
if (parseContext.switchLevel.size() == 0)
|
|
parseContext.error((yyvsp[-2].lex).loc, "cannot appear outside switch statement", "case", "");
|
|
else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
|
|
parseContext.error((yyvsp[-2].lex).loc, "cannot be nested inside control flow", "case", "");
|
|
else {
|
|
parseContext.constantValueCheck((yyvsp[-1].interm.intermTypedNode), "case");
|
|
parseContext.integerCheck((yyvsp[-1].interm.intermTypedNode), "case");
|
|
(yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpCase, (yyvsp[-1].interm.intermTypedNode), (yyvsp[-2].lex).loc);
|
|
}
|
|
}
|
|
#line 11345 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 594: /* case_label: DEFAULT COLON */
|
|
#line 3897 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = 0;
|
|
if (parseContext.switchLevel.size() == 0)
|
|
parseContext.error((yyvsp[-1].lex).loc, "cannot appear outside switch statement", "default", "");
|
|
else if (parseContext.switchLevel.back() != parseContext.statementNestingLevel)
|
|
parseContext.error((yyvsp[-1].lex).loc, "cannot be nested inside control flow", "default", "");
|
|
else
|
|
(yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpDefault, (yyvsp[-1].lex).loc);
|
|
}
|
|
#line 11359 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 595: /* iteration_statement: iteration_statement_nonattributed */
|
|
#line 3909 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
|
|
}
|
|
#line 11367 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 596: /* iteration_statement: attribute iteration_statement_nonattributed */
|
|
#line 3913 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireExtensions((yyvsp[0].interm.intermNode)->getLoc(), 1, &E_GL_EXT_control_flow_attributes, "attribute");
|
|
parseContext.handleLoopAttributes(*(yyvsp[-1].interm.attributes), (yyvsp[0].interm.intermNode));
|
|
(yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
|
|
}
|
|
#line 11377 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 597: /* $@10: %empty */
|
|
#line 3921 "MachineIndependent/glslang.y"
|
|
{
|
|
if (! parseContext.limits.whileLoops)
|
|
parseContext.error((yyvsp[-1].lex).loc, "while loops not available", "limitation", "");
|
|
parseContext.symbolTable.push();
|
|
++parseContext.loopNestingLevel;
|
|
++parseContext.statementNestingLevel;
|
|
++parseContext.controlFlowNestingLevel;
|
|
}
|
|
#line 11390 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 598: /* iteration_statement_nonattributed: WHILE LEFT_PAREN $@10 condition RIGHT_PAREN statement_no_new_scope */
|
|
#line 3929 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
|
|
(yyval.interm.intermNode) = parseContext.intermediate.addLoop((yyvsp[0].interm.intermNode), (yyvsp[-2].interm.intermTypedNode), 0, true, (yyvsp[-5].lex).loc);
|
|
--parseContext.loopNestingLevel;
|
|
--parseContext.statementNestingLevel;
|
|
--parseContext.controlFlowNestingLevel;
|
|
}
|
|
#line 11402 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 599: /* $@11: %empty */
|
|
#line 3936 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.symbolTable.push();
|
|
++parseContext.loopNestingLevel;
|
|
++parseContext.statementNestingLevel;
|
|
++parseContext.controlFlowNestingLevel;
|
|
}
|
|
#line 11413 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 600: /* iteration_statement_nonattributed: DO $@11 statement WHILE LEFT_PAREN expression RIGHT_PAREN SEMICOLON */
|
|
#line 3942 "MachineIndependent/glslang.y"
|
|
{
|
|
if (! parseContext.limits.whileLoops)
|
|
parseContext.error((yyvsp[-7].lex).loc, "do-while loops not available", "limitation", "");
|
|
|
|
parseContext.boolCheck((yyvsp[0].lex).loc, (yyvsp[-2].interm.intermTypedNode));
|
|
|
|
(yyval.interm.intermNode) = parseContext.intermediate.addLoop((yyvsp[-5].interm.intermNode), (yyvsp[-2].interm.intermTypedNode), 0, false, (yyvsp[-4].lex).loc);
|
|
parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
|
|
--parseContext.loopNestingLevel;
|
|
--parseContext.statementNestingLevel;
|
|
--parseContext.controlFlowNestingLevel;
|
|
}
|
|
#line 11430 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 601: /* $@12: %empty */
|
|
#line 3954 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.symbolTable.push();
|
|
++parseContext.loopNestingLevel;
|
|
++parseContext.statementNestingLevel;
|
|
++parseContext.controlFlowNestingLevel;
|
|
}
|
|
#line 11441 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 602: /* iteration_statement_nonattributed: FOR LEFT_PAREN $@12 for_init_statement for_rest_statement RIGHT_PAREN statement_no_new_scope */
|
|
#line 3960 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
|
|
(yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[-3].interm.intermNode), (yyvsp[-5].lex).loc);
|
|
TIntermLoop* forLoop = parseContext.intermediate.addLoop((yyvsp[0].interm.intermNode), reinterpret_cast<TIntermTyped*>((yyvsp[-2].interm.nodePair).node1), reinterpret_cast<TIntermTyped*>((yyvsp[-2].interm.nodePair).node2), true, (yyvsp[-6].lex).loc);
|
|
if (! parseContext.limits.nonInductiveForLoops)
|
|
parseContext.inductiveLoopCheck((yyvsp[-6].lex).loc, (yyvsp[-3].interm.intermNode), forLoop);
|
|
(yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyval.interm.intermNode), forLoop, (yyvsp[-6].lex).loc);
|
|
(yyval.interm.intermNode)->getAsAggregate()->setOperator(EOpSequence);
|
|
--parseContext.loopNestingLevel;
|
|
--parseContext.statementNestingLevel;
|
|
--parseContext.controlFlowNestingLevel;
|
|
}
|
|
#line 11458 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 603: /* for_init_statement: expression_statement */
|
|
#line 3975 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
|
|
}
|
|
#line 11466 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 604: /* for_init_statement: declaration_statement */
|
|
#line 3978 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
|
|
}
|
|
#line 11474 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 605: /* conditionopt: condition */
|
|
#line 3984 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermTypedNode) = (yyvsp[0].interm.intermTypedNode);
|
|
}
|
|
#line 11482 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 606: /* conditionopt: %empty */
|
|
#line 3987 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermTypedNode) = 0;
|
|
}
|
|
#line 11490 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 607: /* for_rest_statement: conditionopt SEMICOLON */
|
|
#line 3993 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.nodePair).node1 = (yyvsp[-1].interm.intermTypedNode);
|
|
(yyval.interm.nodePair).node2 = 0;
|
|
}
|
|
#line 11499 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 608: /* for_rest_statement: conditionopt SEMICOLON expression */
|
|
#line 3997 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.nodePair).node1 = (yyvsp[-2].interm.intermTypedNode);
|
|
(yyval.interm.nodePair).node2 = (yyvsp[0].interm.intermTypedNode);
|
|
}
|
|
#line 11508 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 609: /* jump_statement: CONTINUE SEMICOLON */
|
|
#line 4004 "MachineIndependent/glslang.y"
|
|
{
|
|
if (parseContext.loopNestingLevel <= 0)
|
|
parseContext.error((yyvsp[-1].lex).loc, "continue statement only allowed in loops", "", "");
|
|
(yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpContinue, (yyvsp[-1].lex).loc);
|
|
}
|
|
#line 11518 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 610: /* jump_statement: BREAK SEMICOLON */
|
|
#line 4009 "MachineIndependent/glslang.y"
|
|
{
|
|
if (parseContext.loopNestingLevel + parseContext.switchSequenceStack.size() <= 0)
|
|
parseContext.error((yyvsp[-1].lex).loc, "break statement only allowed in switch and loops", "", "");
|
|
(yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpBreak, (yyvsp[-1].lex).loc);
|
|
}
|
|
#line 11528 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 611: /* jump_statement: RETURN SEMICOLON */
|
|
#line 4014 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpReturn, (yyvsp[-1].lex).loc);
|
|
if (parseContext.currentFunctionType->getBasicType() != EbtVoid)
|
|
parseContext.error((yyvsp[-1].lex).loc, "non-void function must return a value", "return", "");
|
|
if (parseContext.inMain)
|
|
parseContext.postEntryPointReturn = true;
|
|
}
|
|
#line 11540 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 612: /* jump_statement: RETURN expression SEMICOLON */
|
|
#line 4021 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = parseContext.handleReturnValue((yyvsp[-2].lex).loc, (yyvsp[-1].interm.intermTypedNode));
|
|
}
|
|
#line 11548 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 613: /* jump_statement: DISCARD SEMICOLON */
|
|
#line 4024 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireStage((yyvsp[-1].lex).loc, EShLangFragment, "discard");
|
|
(yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpKill, (yyvsp[-1].lex).loc);
|
|
}
|
|
#line 11557 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 614: /* jump_statement: TERMINATE_INVOCATION SEMICOLON */
|
|
#line 4028 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireStage((yyvsp[-1].lex).loc, EShLangFragment, "terminateInvocation");
|
|
(yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpTerminateInvocation, (yyvsp[-1].lex).loc);
|
|
}
|
|
#line 11566 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 615: /* jump_statement: TERMINATE_RAY SEMICOLON */
|
|
#line 4033 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireStage((yyvsp[-1].lex).loc, EShLangAnyHit, "terminateRayEXT");
|
|
(yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpTerminateRayKHR, (yyvsp[-1].lex).loc);
|
|
}
|
|
#line 11575 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 616: /* jump_statement: IGNORE_INTERSECTION SEMICOLON */
|
|
#line 4037 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireStage((yyvsp[-1].lex).loc, EShLangAnyHit, "ignoreIntersectionEXT");
|
|
(yyval.interm.intermNode) = parseContext.intermediate.addBranch(EOpIgnoreIntersectionKHR, (yyvsp[-1].lex).loc);
|
|
}
|
|
#line 11584 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 617: /* translation_unit: external_declaration */
|
|
#line 4047 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
|
|
parseContext.intermediate.setTreeRoot((yyval.interm.intermNode));
|
|
}
|
|
#line 11593 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 618: /* translation_unit: translation_unit external_declaration */
|
|
#line 4051 "MachineIndependent/glslang.y"
|
|
{
|
|
if ((yyvsp[0].interm.intermNode) != nullptr) {
|
|
(yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-1].interm.intermNode), (yyvsp[0].interm.intermNode));
|
|
parseContext.intermediate.setTreeRoot((yyval.interm.intermNode));
|
|
}
|
|
}
|
|
#line 11604 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 619: /* external_declaration: function_definition */
|
|
#line 4060 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
|
|
}
|
|
#line 11612 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 620: /* external_declaration: declaration */
|
|
#line 4063 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = (yyvsp[0].interm.intermNode);
|
|
}
|
|
#line 11620 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 621: /* external_declaration: SEMICOLON */
|
|
#line 4067 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.requireProfile((yyvsp[0].lex).loc, ~EEsProfile, "extraneous semicolon");
|
|
parseContext.profileRequires((yyvsp[0].lex).loc, ~EEsProfile, 460, nullptr, "extraneous semicolon");
|
|
(yyval.interm.intermNode) = nullptr;
|
|
}
|
|
#line 11630 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 622: /* $@13: %empty */
|
|
#line 4076 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyvsp[0].interm).function = parseContext.handleFunctionDeclarator((yyvsp[0].interm).loc, *(yyvsp[0].interm).function, false /* not prototype */);
|
|
(yyvsp[0].interm).intermNode = parseContext.handleFunctionDefinition((yyvsp[0].interm).loc, *(yyvsp[0].interm).function);
|
|
|
|
// For ES 100 only, according to ES shading language 100 spec: A function
|
|
// body has a scope nested inside the function's definition.
|
|
if (parseContext.profile == EEsProfile && parseContext.version == 100)
|
|
{
|
|
parseContext.symbolTable.push();
|
|
++parseContext.statementNestingLevel;
|
|
}
|
|
}
|
|
#line 11647 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 623: /* function_definition: function_prototype $@13 compound_statement_no_new_scope */
|
|
#line 4088 "MachineIndependent/glslang.y"
|
|
{
|
|
// May be best done as post process phase on intermediate code
|
|
if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsValue)
|
|
parseContext.error((yyvsp[-2].interm).loc, "function does not return a value:", "", (yyvsp[-2].interm).function->getName().c_str());
|
|
parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
|
|
(yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm).intermNode, (yyvsp[0].interm.intermNode));
|
|
parseContext.intermediate.setAggregateOperator((yyval.interm.intermNode), EOpFunction, (yyvsp[-2].interm).function->getType(), (yyvsp[-2].interm).loc);
|
|
(yyval.interm.intermNode)->getAsAggregate()->setName((yyvsp[-2].interm).function->getMangledName().c_str());
|
|
|
|
// store the pragma information for debug and optimize and other vendor specific
|
|
// information. This information can be queried from the parse tree
|
|
(yyval.interm.intermNode)->getAsAggregate()->setOptimize(parseContext.contextPragma.optimize);
|
|
(yyval.interm.intermNode)->getAsAggregate()->setDebug(parseContext.contextPragma.debug);
|
|
(yyval.interm.intermNode)->getAsAggregate()->setPragmaTable(parseContext.contextPragma.pragmaTable);
|
|
|
|
// Set currentFunctionType to empty pointer when goes outside of the function
|
|
parseContext.currentFunctionType = nullptr;
|
|
|
|
// For ES 100 only, according to ES shading language 100 spec: A function
|
|
// body has a scope nested inside the function's definition.
|
|
if (parseContext.profile == EEsProfile && parseContext.version == 100)
|
|
{
|
|
parseContext.symbolTable.pop(&parseContext.defaultPrecision[0]);
|
|
--parseContext.statementNestingLevel;
|
|
}
|
|
}
|
|
#line 11678 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 624: /* attribute: LEFT_BRACKET LEFT_BRACKET attribute_list RIGHT_BRACKET RIGHT_BRACKET */
|
|
#line 4118 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.attributes) = (yyvsp[-2].interm.attributes);
|
|
}
|
|
#line 11686 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 625: /* attribute_list: single_attribute */
|
|
#line 4123 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.attributes) = (yyvsp[0].interm.attributes);
|
|
}
|
|
#line 11694 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 626: /* attribute_list: attribute_list COMMA single_attribute */
|
|
#line 4126 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.attributes) = parseContext.mergeAttributes((yyvsp[-2].interm.attributes), (yyvsp[0].interm.attributes));
|
|
}
|
|
#line 11702 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 627: /* single_attribute: IDENTIFIER */
|
|
#line 4131 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.attributes) = parseContext.makeAttributes(*(yyvsp[0].lex).string);
|
|
}
|
|
#line 11710 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 628: /* single_attribute: IDENTIFIER LEFT_PAREN constant_expression RIGHT_PAREN */
|
|
#line 4134 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.attributes) = parseContext.makeAttributes(*(yyvsp[-3].lex).string, (yyvsp[-1].interm.intermTypedNode));
|
|
}
|
|
#line 11718 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 629: /* spirv_requirements_list: spirv_requirements_parameter */
|
|
#line 4141 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.spirvReq) = (yyvsp[0].interm.spirvReq);
|
|
}
|
|
#line 11726 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 630: /* spirv_requirements_list: spirv_requirements_list COMMA spirv_requirements_parameter */
|
|
#line 4144 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.spirvReq) = parseContext.mergeSpirvRequirements((yyvsp[-1].lex).loc, (yyvsp[-2].interm.spirvReq), (yyvsp[0].interm.spirvReq));
|
|
}
|
|
#line 11734 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 631: /* spirv_requirements_parameter: IDENTIFIER EQUAL LEFT_BRACKET spirv_extension_list RIGHT_BRACKET */
|
|
#line 4149 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.spirvReq) = parseContext.makeSpirvRequirement((yyvsp[-3].lex).loc, *(yyvsp[-4].lex).string, (yyvsp[-1].interm.intermNode)->getAsAggregate(), nullptr);
|
|
}
|
|
#line 11742 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 632: /* spirv_requirements_parameter: IDENTIFIER EQUAL LEFT_BRACKET spirv_capability_list RIGHT_BRACKET */
|
|
#line 4152 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.spirvReq) = parseContext.makeSpirvRequirement((yyvsp[-3].lex).loc, *(yyvsp[-4].lex).string, nullptr, (yyvsp[-1].interm.intermNode)->getAsAggregate());
|
|
}
|
|
#line 11750 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 633: /* spirv_extension_list: STRING_LITERAL */
|
|
#line 4157 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
|
|
}
|
|
#line 11758 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 634: /* spirv_extension_list: spirv_extension_list COMMA STRING_LITERAL */
|
|
#line 4160 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
|
|
}
|
|
#line 11766 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 635: /* spirv_capability_list: INTCONSTANT */
|
|
#line 4165 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
|
|
}
|
|
#line 11774 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 636: /* spirv_capability_list: spirv_capability_list COMMA INTCONSTANT */
|
|
#line 4168 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true));
|
|
}
|
|
#line 11782 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 637: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN INTCONSTANT RIGHT_PAREN */
|
|
#line 4173 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-1].lex).i);
|
|
(yyval.interm.intermNode) = 0;
|
|
}
|
|
#line 11791 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 638: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT RIGHT_PAREN */
|
|
#line 4177 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
|
|
parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-1].lex).i);
|
|
(yyval.interm.intermNode) = 0;
|
|
}
|
|
#line 11801 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 639: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN INTCONSTANT COMMA spirv_execution_mode_parameter_list RIGHT_PAREN */
|
|
#line 4182 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
|
|
(yyval.interm.intermNode) = 0;
|
|
}
|
|
#line 11810 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 640: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_execution_mode_parameter_list RIGHT_PAREN */
|
|
#line 4186 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
|
|
parseContext.intermediate.insertSpirvExecutionMode((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
|
|
(yyval.interm.intermNode) = 0;
|
|
}
|
|
#line 11820 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 641: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE_ID LEFT_PAREN INTCONSTANT COMMA spirv_execution_mode_id_parameter_list RIGHT_PAREN */
|
|
#line 4191 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.intermediate.insertSpirvExecutionModeId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
|
|
(yyval.interm.intermNode) = 0;
|
|
}
|
|
#line 11829 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 642: /* spirv_execution_mode_qualifier: SPIRV_EXECUTION_MODE_ID LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_execution_mode_id_parameter_list RIGHT_PAREN */
|
|
#line 4195 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
|
|
parseContext.intermediate.insertSpirvExecutionModeId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
|
|
(yyval.interm.intermNode) = 0;
|
|
}
|
|
#line 11839 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 643: /* spirv_execution_mode_parameter_list: spirv_execution_mode_parameter */
|
|
#line 4202 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
|
|
}
|
|
#line 11847 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 644: /* spirv_execution_mode_parameter_list: spirv_execution_mode_parameter_list COMMA spirv_execution_mode_parameter */
|
|
#line 4205 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermNode));
|
|
}
|
|
#line 11855 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 645: /* spirv_execution_mode_parameter: FLOATCONSTANT */
|
|
#line 4210 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
|
|
}
|
|
#line 11863 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 646: /* spirv_execution_mode_parameter: INTCONSTANT */
|
|
#line 4213 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
|
|
}
|
|
#line 11871 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 647: /* spirv_execution_mode_parameter: UINTCONSTANT */
|
|
#line 4216 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
|
|
}
|
|
#line 11879 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 648: /* spirv_execution_mode_parameter: BOOLCONSTANT */
|
|
#line 4219 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
|
|
}
|
|
#line 11887 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 649: /* spirv_execution_mode_parameter: STRING_LITERAL */
|
|
#line 4222 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true);
|
|
}
|
|
#line 11895 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 650: /* spirv_execution_mode_id_parameter_list: constant_expression */
|
|
#line 4227 "MachineIndependent/glslang.y"
|
|
{
|
|
if ((yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtFloat &&
|
|
(yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtInt &&
|
|
(yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtUint &&
|
|
(yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtBool &&
|
|
(yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtString)
|
|
parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "this type not allowed", (yyvsp[0].interm.intermTypedNode)->getType().getBasicString(), "");
|
|
(yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermTypedNode));
|
|
}
|
|
#line 11909 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 651: /* spirv_execution_mode_id_parameter_list: spirv_execution_mode_id_parameter_list COMMA constant_expression */
|
|
#line 4236 "MachineIndependent/glslang.y"
|
|
{
|
|
if ((yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtFloat &&
|
|
(yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtInt &&
|
|
(yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtUint &&
|
|
(yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtBool &&
|
|
(yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtString)
|
|
parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "this type not allowed", (yyvsp[0].interm.intermTypedNode)->getType().getBasicString(), "");
|
|
(yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermTypedNode));
|
|
}
|
|
#line 11923 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 652: /* spirv_storage_class_qualifier: SPIRV_STORAGE_CLASS LEFT_PAREN INTCONSTANT RIGHT_PAREN */
|
|
#line 4247 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[-3].lex).loc);
|
|
(yyval.interm.type).qualifier.storage = EvqSpirvStorageClass;
|
|
(yyval.interm.type).qualifier.spirvStorageClass = (yyvsp[-1].lex).i;
|
|
}
|
|
#line 11933 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 653: /* spirv_storage_class_qualifier: SPIRV_STORAGE_CLASS LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT RIGHT_PAREN */
|
|
#line 4252 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[-5].lex).loc);
|
|
parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
|
|
(yyval.interm.type).qualifier.storage = EvqSpirvStorageClass;
|
|
(yyval.interm.type).qualifier.spirvStorageClass = (yyvsp[-1].lex).i;
|
|
}
|
|
#line 11944 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 654: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN INTCONSTANT RIGHT_PAREN */
|
|
#line 4260 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[-3].lex).loc);
|
|
(yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-1].lex).i);
|
|
}
|
|
#line 11953 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 655: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT RIGHT_PAREN */
|
|
#line 4264 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[-5].lex).loc);
|
|
parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
|
|
(yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-1].lex).i);
|
|
}
|
|
#line 11963 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 656: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN INTCONSTANT COMMA spirv_decorate_parameter_list RIGHT_PAREN */
|
|
#line 4269 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[-5].lex).loc);
|
|
(yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
|
|
}
|
|
#line 11972 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 657: /* spirv_decorate_qualifier: SPIRV_DECORATE LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_decorate_parameter_list RIGHT_PAREN */
|
|
#line 4273 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[-7].lex).loc);
|
|
parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
|
|
(yyval.interm.type).qualifier.setSpirvDecorate((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
|
|
}
|
|
#line 11982 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 658: /* spirv_decorate_qualifier: SPIRV_DECORATE_ID LEFT_PAREN INTCONSTANT COMMA spirv_decorate_id_parameter_list RIGHT_PAREN */
|
|
#line 4278 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[-5].lex).loc);
|
|
(yyval.interm.type).qualifier.setSpirvDecorateId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
|
|
}
|
|
#line 11991 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 659: /* spirv_decorate_qualifier: SPIRV_DECORATE_ID LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_decorate_id_parameter_list RIGHT_PAREN */
|
|
#line 4282 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[-7].lex).loc);
|
|
parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
|
|
(yyval.interm.type).qualifier.setSpirvDecorateId((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
|
|
}
|
|
#line 12001 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 660: /* spirv_decorate_qualifier: SPIRV_DECORATE_STRING LEFT_PAREN INTCONSTANT COMMA spirv_decorate_string_parameter_list RIGHT_PAREN */
|
|
#line 4287 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[-5].lex).loc);
|
|
(yyval.interm.type).qualifier.setSpirvDecorateString((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
|
|
}
|
|
#line 12010 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 661: /* spirv_decorate_qualifier: SPIRV_DECORATE_STRING LEFT_PAREN spirv_requirements_list COMMA INTCONSTANT COMMA spirv_decorate_string_parameter_list RIGHT_PAREN */
|
|
#line 4291 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[-7].lex).loc);
|
|
parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
|
|
(yyval.interm.type).qualifier.setSpirvDecorateString((yyvsp[-3].lex).i, (yyvsp[-1].interm.intermNode)->getAsAggregate());
|
|
}
|
|
#line 12020 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 662: /* spirv_decorate_parameter_list: spirv_decorate_parameter */
|
|
#line 4298 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermNode));
|
|
}
|
|
#line 12028 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 663: /* spirv_decorate_parameter_list: spirv_decorate_parameter_list COMMA spirv_decorate_parameter */
|
|
#line 4301 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermNode));
|
|
}
|
|
#line 12036 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 664: /* spirv_decorate_parameter: FLOATCONSTANT */
|
|
#line 4306 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtFloat, (yyvsp[0].lex).loc, true);
|
|
}
|
|
#line 12044 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 665: /* spirv_decorate_parameter: INTCONSTANT */
|
|
#line 4309 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyvsp[0].lex).loc, true);
|
|
}
|
|
#line 12052 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 666: /* spirv_decorate_parameter: UINTCONSTANT */
|
|
#line 4312 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyvsp[0].lex).loc, true);
|
|
}
|
|
#line 12060 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 667: /* spirv_decorate_parameter: BOOLCONSTANT */
|
|
#line 4315 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyvsp[0].lex).loc, true);
|
|
}
|
|
#line 12068 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 668: /* spirv_decorate_id_parameter_list: constant_expression */
|
|
#line 4320 "MachineIndependent/glslang.y"
|
|
{
|
|
if ((yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtFloat &&
|
|
(yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtInt &&
|
|
(yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtUint &&
|
|
(yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtBool)
|
|
parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "this type not allowed", (yyvsp[0].interm.intermTypedNode)->getType().getBasicString(), "");
|
|
(yyval.interm.intermNode) = parseContext.intermediate.makeAggregate((yyvsp[0].interm.intermTypedNode));
|
|
}
|
|
#line 12081 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 669: /* spirv_decorate_id_parameter_list: spirv_decorate_id_parameter_list COMMA constant_expression */
|
|
#line 4328 "MachineIndependent/glslang.y"
|
|
{
|
|
if ((yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtFloat &&
|
|
(yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtInt &&
|
|
(yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtUint &&
|
|
(yyvsp[0].interm.intermTypedNode)->getBasicType() != EbtBool)
|
|
parseContext.error((yyvsp[0].interm.intermTypedNode)->getLoc(), "this type not allowed", (yyvsp[0].interm.intermTypedNode)->getType().getBasicString(), "");
|
|
(yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), (yyvsp[0].interm.intermTypedNode));
|
|
}
|
|
#line 12094 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 670: /* spirv_decorate_string_parameter_list: STRING_LITERAL */
|
|
#line 4338 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = parseContext.intermediate.makeAggregate(
|
|
parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
|
|
}
|
|
#line 12103 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 671: /* spirv_decorate_string_parameter_list: spirv_decorate_string_parameter_list COMMA STRING_LITERAL */
|
|
#line 4342 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.intermNode) = parseContext.intermediate.growAggregate((yyvsp[-2].interm.intermNode), parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string, (yyvsp[0].lex).loc, true));
|
|
}
|
|
#line 12111 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 672: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_instruction_qualifier_list COMMA spirv_type_parameter_list RIGHT_PAREN */
|
|
#line 4347 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[-5].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).setSpirvType(*(yyvsp[-3].interm.spirvInst), (yyvsp[-1].interm.spirvTypeParams));
|
|
}
|
|
#line 12120 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 673: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_requirements_list COMMA spirv_instruction_qualifier_list COMMA spirv_type_parameter_list RIGHT_PAREN */
|
|
#line 4351 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[-7].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
parseContext.intermediate.insertSpirvRequirement((yyvsp[-5].interm.spirvReq));
|
|
(yyval.interm.type).setSpirvType(*(yyvsp[-3].interm.spirvInst), (yyvsp[-1].interm.spirvTypeParams));
|
|
}
|
|
#line 12130 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 674: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_instruction_qualifier_list RIGHT_PAREN */
|
|
#line 4356 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[-3].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
(yyval.interm.type).setSpirvType(*(yyvsp[-1].interm.spirvInst));
|
|
}
|
|
#line 12139 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 675: /* spirv_type_specifier: SPIRV_TYPE LEFT_PAREN spirv_requirements_list COMMA spirv_instruction_qualifier_list RIGHT_PAREN */
|
|
#line 4360 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.type).init((yyvsp[-5].lex).loc, parseContext.symbolTable.atGlobalLevel());
|
|
parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
|
|
(yyval.interm.type).setSpirvType(*(yyvsp[-1].interm.spirvInst));
|
|
}
|
|
#line 12149 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 676: /* spirv_type_parameter_list: spirv_type_parameter */
|
|
#line 4367 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.spirvTypeParams) = (yyvsp[0].interm.spirvTypeParams);
|
|
}
|
|
#line 12157 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 677: /* spirv_type_parameter_list: spirv_type_parameter_list COMMA spirv_type_parameter */
|
|
#line 4370 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.spirvTypeParams) = parseContext.mergeSpirvTypeParameters((yyvsp[-2].interm.spirvTypeParams), (yyvsp[0].interm.spirvTypeParams));
|
|
}
|
|
#line 12165 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 678: /* spirv_type_parameter: constant_expression */
|
|
#line 4375 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.spirvTypeParams) = parseContext.makeSpirvTypeParameters((yyvsp[0].interm.intermTypedNode)->getLoc(), (yyvsp[0].interm.intermTypedNode)->getAsConstantUnion());
|
|
}
|
|
#line 12173 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 679: /* spirv_instruction_qualifier: SPIRV_INSTRUCTION LEFT_PAREN spirv_instruction_qualifier_list RIGHT_PAREN */
|
|
#line 4380 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.spirvInst) = (yyvsp[-1].interm.spirvInst);
|
|
}
|
|
#line 12181 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 680: /* spirv_instruction_qualifier: SPIRV_INSTRUCTION LEFT_PAREN spirv_requirements_list COMMA spirv_instruction_qualifier_list RIGHT_PAREN */
|
|
#line 4383 "MachineIndependent/glslang.y"
|
|
{
|
|
parseContext.intermediate.insertSpirvRequirement((yyvsp[-3].interm.spirvReq));
|
|
(yyval.interm.spirvInst) = (yyvsp[-1].interm.spirvInst);
|
|
}
|
|
#line 12190 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 681: /* spirv_instruction_qualifier_list: spirv_instruction_qualifier_id */
|
|
#line 4389 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.spirvInst) = (yyvsp[0].interm.spirvInst);
|
|
}
|
|
#line 12198 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 682: /* spirv_instruction_qualifier_list: spirv_instruction_qualifier_list COMMA spirv_instruction_qualifier_id */
|
|
#line 4392 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.spirvInst) = parseContext.mergeSpirvInstruction((yyvsp[-1].lex).loc, (yyvsp[-2].interm.spirvInst), (yyvsp[0].interm.spirvInst));
|
|
}
|
|
#line 12206 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 683: /* spirv_instruction_qualifier_id: IDENTIFIER EQUAL STRING_LITERAL */
|
|
#line 4397 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.spirvInst) = parseContext.makeSpirvInstruction((yyvsp[-1].lex).loc, *(yyvsp[-2].lex).string, *(yyvsp[0].lex).string);
|
|
}
|
|
#line 12214 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
case 684: /* spirv_instruction_qualifier_id: IDENTIFIER EQUAL INTCONSTANT */
|
|
#line 4400 "MachineIndependent/glslang.y"
|
|
{
|
|
(yyval.interm.spirvInst) = parseContext.makeSpirvInstruction((yyvsp[-1].lex).loc, *(yyvsp[-2].lex).string, (yyvsp[0].lex).i);
|
|
}
|
|
#line 12222 "MachineIndependent/glslang_tab.cpp"
|
|
break;
|
|
|
|
|
|
#line 12226 "MachineIndependent/glslang_tab.cpp"
|
|
|
|
default: break;
|
|
}
|
|
/* User semantic actions sometimes alter yychar, and that requires
|
|
that yytoken be updated with the new translation. We take the
|
|
approach of translating immediately before every use of yytoken.
|
|
One alternative is translating here after every semantic action,
|
|
but that translation would be missed if the semantic action invokes
|
|
YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or
|
|
if it invokes YYBACKUP. In the case of YYABORT or YYACCEPT, an
|
|
incorrect destructor might then be invoked immediately. In the
|
|
case of YYERROR or YYBACKUP, subsequent parser actions might lead
|
|
to an incorrect destructor call or verbose syntax error message
|
|
before the lookahead is translated. */
|
|
YY_SYMBOL_PRINT ("-> $$ =", YY_CAST (yysymbol_kind_t, yyr1[yyn]), &yyval, &yyloc);
|
|
|
|
YYPOPSTACK (yylen);
|
|
yylen = 0;
|
|
|
|
*++yyvsp = yyval;
|
|
|
|
/* Now 'shift' the result of the reduction. Determine what state
|
|
that goes to, based on the state we popped back to and the rule
|
|
number reduced by. */
|
|
{
|
|
const int yylhs = yyr1[yyn] - YYNTOKENS;
|
|
const int yyi = yypgoto[yylhs] + *yyssp;
|
|
yystate = (0 <= yyi && yyi <= YYLAST && yycheck[yyi] == *yyssp
|
|
? yytable[yyi]
|
|
: yydefgoto[yylhs]);
|
|
}
|
|
|
|
goto yynewstate;
|
|
|
|
|
|
/*--------------------------------------.
|
|
| yyerrlab -- here on detecting error. |
|
|
`--------------------------------------*/
|
|
yyerrlab:
|
|
/* Make sure we have latest lookahead translation. See comments at
|
|
user semantic actions for why this is necessary. */
|
|
yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar);
|
|
/* If not already recovering from an error, report this error. */
|
|
if (!yyerrstatus)
|
|
{
|
|
++yynerrs;
|
|
{
|
|
yypcontext_t yyctx
|
|
= {yyssp, yytoken};
|
|
char const *yymsgp = YY_("syntax error");
|
|
int yysyntax_error_status;
|
|
yysyntax_error_status = yysyntax_error (&yymsg_alloc, &yymsg, &yyctx);
|
|
if (yysyntax_error_status == 0)
|
|
yymsgp = yymsg;
|
|
else if (yysyntax_error_status == -1)
|
|
{
|
|
if (yymsg != yymsgbuf)
|
|
YYSTACK_FREE (yymsg);
|
|
yymsg = YY_CAST (char *,
|
|
YYSTACK_ALLOC (YY_CAST (YYSIZE_T, yymsg_alloc)));
|
|
if (yymsg)
|
|
{
|
|
yysyntax_error_status
|
|
= yysyntax_error (&yymsg_alloc, &yymsg, &yyctx);
|
|
yymsgp = yymsg;
|
|
}
|
|
else
|
|
{
|
|
yymsg = yymsgbuf;
|
|
yymsg_alloc = sizeof yymsgbuf;
|
|
yysyntax_error_status = YYENOMEM;
|
|
}
|
|
}
|
|
yyerror (pParseContext, yymsgp);
|
|
if (yysyntax_error_status == YYENOMEM)
|
|
goto yyexhaustedlab;
|
|
}
|
|
}
|
|
|
|
if (yyerrstatus == 3)
|
|
{
|
|
/* If just tried and failed to reuse lookahead token after an
|
|
error, discard it. */
|
|
|
|
if (yychar <= YYEOF)
|
|
{
|
|
/* Return failure if at end of input. */
|
|
if (yychar == YYEOF)
|
|
YYABORT;
|
|
}
|
|
else
|
|
{
|
|
yydestruct ("Error: discarding",
|
|
yytoken, &yylval, pParseContext);
|
|
yychar = YYEMPTY;
|
|
}
|
|
}
|
|
|
|
/* Else will try to reuse lookahead token after shifting the error
|
|
token. */
|
|
goto yyerrlab1;
|
|
|
|
|
|
/*---------------------------------------------------.
|
|
| yyerrorlab -- error raised explicitly by YYERROR. |
|
|
`---------------------------------------------------*/
|
|
yyerrorlab:
|
|
/* Pacify compilers when the user code never invokes YYERROR and the
|
|
label yyerrorlab therefore never appears in user code. */
|
|
if (0)
|
|
YYERROR;
|
|
|
|
/* Do not reclaim the symbols of the rule whose action triggered
|
|
this YYERROR. */
|
|
YYPOPSTACK (yylen);
|
|
yylen = 0;
|
|
YY_STACK_PRINT (yyss, yyssp);
|
|
yystate = *yyssp;
|
|
goto yyerrlab1;
|
|
|
|
|
|
/*-------------------------------------------------------------.
|
|
| yyerrlab1 -- common code for both syntax error and YYERROR. |
|
|
`-------------------------------------------------------------*/
|
|
yyerrlab1:
|
|
yyerrstatus = 3; /* Each real token shifted decrements this. */
|
|
|
|
/* Pop stack until we find a state that shifts the error token. */
|
|
for (;;)
|
|
{
|
|
yyn = yypact[yystate];
|
|
if (!yypact_value_is_default (yyn))
|
|
{
|
|
yyn += YYSYMBOL_YYerror;
|
|
if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror)
|
|
{
|
|
yyn = yytable[yyn];
|
|
if (0 < yyn)
|
|
break;
|
|
}
|
|
}
|
|
|
|
/* Pop the current state because it cannot handle the error token. */
|
|
if (yyssp == yyss)
|
|
YYABORT;
|
|
|
|
|
|
yydestruct ("Error: popping",
|
|
YY_ACCESSING_SYMBOL (yystate), yyvsp, pParseContext);
|
|
YYPOPSTACK (1);
|
|
yystate = *yyssp;
|
|
YY_STACK_PRINT (yyss, yyssp);
|
|
}
|
|
|
|
YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
|
|
*++yyvsp = yylval;
|
|
YY_IGNORE_MAYBE_UNINITIALIZED_END
|
|
|
|
|
|
/* Shift the error token. */
|
|
YY_SYMBOL_PRINT ("Shifting", YY_ACCESSING_SYMBOL (yyn), yyvsp, yylsp);
|
|
|
|
yystate = yyn;
|
|
goto yynewstate;
|
|
|
|
|
|
/*-------------------------------------.
|
|
| yyacceptlab -- YYACCEPT comes here. |
|
|
`-------------------------------------*/
|
|
yyacceptlab:
|
|
yyresult = 0;
|
|
goto yyreturn;
|
|
|
|
|
|
/*-----------------------------------.
|
|
| yyabortlab -- YYABORT comes here. |
|
|
`-----------------------------------*/
|
|
yyabortlab:
|
|
yyresult = 1;
|
|
goto yyreturn;
|
|
|
|
|
|
#if 1
|
|
/*-------------------------------------------------.
|
|
| yyexhaustedlab -- memory exhaustion comes here. |
|
|
`-------------------------------------------------*/
|
|
yyexhaustedlab:
|
|
yyerror (pParseContext, YY_("memory exhausted"));
|
|
yyresult = 2;
|
|
goto yyreturn;
|
|
#endif
|
|
|
|
|
|
/*-------------------------------------------------------.
|
|
| yyreturn -- parsing is finished, clean up and return. |
|
|
`-------------------------------------------------------*/
|
|
yyreturn:
|
|
if (yychar != YYEMPTY)
|
|
{
|
|
/* Make sure we have latest lookahead translation. See comments at
|
|
user semantic actions for why this is necessary. */
|
|
yytoken = YYTRANSLATE (yychar);
|
|
yydestruct ("Cleanup: discarding lookahead",
|
|
yytoken, &yylval, pParseContext);
|
|
}
|
|
/* Do not reclaim the symbols of the rule whose action triggered
|
|
this YYABORT or YYACCEPT. */
|
|
YYPOPSTACK (yylen);
|
|
YY_STACK_PRINT (yyss, yyssp);
|
|
while (yyssp != yyss)
|
|
{
|
|
yydestruct ("Cleanup: popping",
|
|
YY_ACCESSING_SYMBOL (+*yyssp), yyvsp, pParseContext);
|
|
YYPOPSTACK (1);
|
|
}
|
|
#ifndef yyoverflow
|
|
if (yyss != yyssa)
|
|
YYSTACK_FREE (yyss);
|
|
#endif
|
|
if (yymsg != yymsgbuf)
|
|
YYSTACK_FREE (yymsg);
|
|
return yyresult;
|
|
}
|
|
|
|
#line 4405 "MachineIndependent/glslang.y"
|
|
|