51 #define YYBISON_VERSION "3.4.1" 54 #define YYSKELETON_NAME "yacc.c" 67 #define yyparse asmshader_parse 68 #define yylex asmshader_lex 69 #define yyerror asmshader_error 70 #define yydebug asmshader_debug 71 #define yynerrs asmshader_nerrs 73 #define yylval asmshader_lval 74 #define yychar asmshader_char 77 #line 22 "asmshader.y" 112 reg->rel_reg->type = rel->
type;
123 #line 124 "asmshader.tab.c" 126 # if defined __cplusplus 127 # if 201103L <= __cplusplus 128 # define YY_NULLPTR nullptr 130 # define YY_NULLPTR 0 133 # define YY_NULLPTR ((void*)0) 138 #ifdef YYERROR_VERBOSE 139 # undef YYERROR_VERBOSE 140 # define YYERROR_VERBOSE 1 142 # define YYERROR_VERBOSE 0 147 #ifndef YY_ASMSHADER_E_REACTOSSYNC_GCC_DLL_DIRECTX_WINE_D3DCOMPILER_43_ASMSHADER_TAB_H_INCLUDED 148 # define YY_ASMSHADER_E_REACTOSSYNC_GCC_DLL_DIRECTX_WINE_D3DCOMPILER_43_ASMSHADER_TAB_H_INCLUDED 154 extern int asmshader_debug;
326 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 329 #line 68 "asmshader.y" 364 #line 365 "asmshader.tab.c" 368 # define YYSTYPE_IS_TRIVIAL 1 369 # define YYSTYPE_IS_DECLARED 1 410 # ifdef __SIZE_TYPE__ 411 # define YYSIZE_T __SIZE_TYPE__ 412 # elif defined size_t 413 # define YYSIZE_T size_t 414 # elif ! defined YYSIZE_T 416 # define YYSIZE_T size_t 418 # define YYSIZE_T unsigned 422 #define YYSIZE_MAXIMUM ((YYSIZE_T) -1) 425 # if defined YYENABLE_NLS && YYENABLE_NLS 427 # include <libintl.h> 428 # define YY_(Msgid) dgettext ("bison-runtime", Msgid) 432 # define YY_(Msgid) Msgid 437 # if (defined __GNUC__ \ 438 && (2 < __GNUC__ || (__GNUC__ == 2 && 96 <= __GNUC_MINOR__))) \ 439 || defined __SUNPRO_C && 0x5110 <= __SUNPRO_C 440 # define YY_ATTRIBUTE(Spec) __attribute__(Spec) 442 # define YY_ATTRIBUTE(Spec) 446 #ifndef YY_ATTRIBUTE_PURE 447 # define YY_ATTRIBUTE_PURE YY_ATTRIBUTE ((__pure__)) 450 #ifndef YY_ATTRIBUTE_UNUSED 451 # define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__)) 455 #if ! defined lint || defined __GNUC__ 456 # define YYUSE(E) ((void) (E)) 461 #if defined __GNUC__ && ! defined __ICC && 407 <= __GNUC__ * 100 + __GNUC_MINOR__ 463 # define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \ 464 _Pragma ("GCC diagnostic push") \ 465 _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"")\ 466 _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"") 467 # define YY_IGNORE_MAYBE_UNINITIALIZED_END \ 468 _Pragma ("GCC diagnostic pop") 470 # define YY_INITIAL_VALUE(Value) Value 472 #ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN 473 # define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN 474 # define YY_IGNORE_MAYBE_UNINITIALIZED_END 476 #ifndef YY_INITIAL_VALUE 477 # define YY_INITIAL_VALUE(Value) 481 #define YY_ASSERT(E) ((void) (0 && (E))) 483 #if ! defined yyoverflow || YYERROR_VERBOSE 487 # ifdef YYSTACK_USE_ALLOCA 488 # if YYSTACK_USE_ALLOCA 490 # define YYSTACK_ALLOC __builtin_alloca 491 # elif defined __BUILTIN_VA_ARG_INCR 494 # define YYSTACK_ALLOC __alloca 495 # elif defined _MSC_VER 497 # define alloca _alloca 499 # define YYSTACK_ALLOC alloca 500 # if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS 503 # ifndef EXIT_SUCCESS 504 # define EXIT_SUCCESS 0 511 # ifdef YYSTACK_ALLOC 513 # define YYSTACK_FREE(Ptr) do { ; } while (0) 514 # ifndef YYSTACK_ALLOC_MAXIMUM 519 # define YYSTACK_ALLOC_MAXIMUM 4032 522 # define YYSTACK_ALLOC YYMALLOC 523 # define YYSTACK_FREE YYFREE 524 # ifndef YYSTACK_ALLOC_MAXIMUM 525 # define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM 527 # if (defined __cplusplus && ! defined EXIT_SUCCESS \ 528 && ! ((defined YYMALLOC || defined malloc) \ 529 && (defined YYFREE || defined free))) 531 # ifndef EXIT_SUCCESS 532 # define EXIT_SUCCESS 0 536 # define YYMALLOC malloc 537 # if ! defined malloc && ! defined EXIT_SUCCESS 543 # if ! defined free && ! defined EXIT_SUCCESS 551 #if (! defined yyoverflow \ 552 && (! defined __cplusplus \ 553 || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) 563 # define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) 567 # define YYSTACK_BYTES(N) \ 568 ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \ 569 + YYSTACK_GAP_MAXIMUM) 571 # define YYCOPY_NEEDED 1 578 # define YYSTACK_RELOCATE(Stack_alloc, Stack) \ 581 YYSIZE_T yynewbytes; \ 582 YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ 583 Stack = &yyptr->Stack_alloc; \ 584 yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ 585 yyptr += yynewbytes / sizeof (*yyptr); \ 591 #if defined YYCOPY_NEEDED && YYCOPY_NEEDED 595 # if defined __GNUC__ && 1 < __GNUC__ 596 # define YYCOPY(Dst, Src, Count) \ 597 __builtin_memcpy (Dst, Src, (Count) * sizeof (*(Src))) 599 # define YYCOPY(Dst, Src, Count) \ 603 for (yyi = 0; yyi < (Count); yyi++) \ 604 (Dst)[yyi] = (Src)[yyi]; \ 617 #define YYNTOKENS 171 623 #define YYNSTATES 552 626 #define YYMAXUTOK 417 630 #define YYTRANSLATE(YYX) \ 631 ((unsigned) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) 637 0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
638 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
639 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
640 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
641 169, 170, 2, 163, 164, 166, 165, 2, 2, 2,
642 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
643 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
644 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
645 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
646 2, 167, 2, 168, 2, 2, 2, 2, 2, 2,
647 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
648 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
649 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
650 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
651 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
652 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
653 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
654 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
655 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
656 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
657 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
658 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
659 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
660 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
661 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
662 2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
663 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
664 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
665 25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
666 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
667 45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
668 55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
669 65, 66, 67, 68, 69, 70, 71, 72, 73, 74,
670 75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
671 85, 86, 87, 88, 89, 90, 91, 92, 93, 94,
672 95, 96, 97, 98, 99, 100, 101, 102, 103, 104,
673 105, 106, 107, 108, 109, 110, 111, 112, 113, 114,
674 115, 116, 117, 118, 119, 120, 121, 122, 123, 124,
675 125, 126, 127, 128, 129, 130, 131, 132, 133, 134,
676 135, 136, 137, 138, 139, 140, 141, 142, 143, 144,
677 145, 146, 147, 148, 149, 150, 151, 152, 153, 154,
678 155, 156, 157, 158, 159, 160, 161, 162
685 0, 309, 309, 314, 319, 324, 329, 334, 339, 344,
686 349, 354, 359, 364, 369, 374, 380, 381, 386, 390,
687 395, 401, 406, 411, 416, 421, 426, 431, 436, 441,
688 446, 451, 456, 461, 466, 471, 476, 481, 486, 491,
689 496, 501, 506, 511, 516, 521, 526, 531, 536, 541,
690 546, 551, 556, 561, 573, 585, 608, 631, 653, 675,
691 685, 700, 707, 714, 718, 722, 726, 731, 736, 741,
692 746, 751, 756, 761, 766, 771, 776, 781, 786, 791,
693 796, 801, 806, 811, 816, 821, 826, 831, 836, 841,
694 847, 852, 857, 862, 873, 878, 883, 888, 893, 898,
695 903, 908, 913, 918, 923, 928, 933, 938, 943, 948,
696 953, 958, 963, 968, 973, 978, 985, 993, 1002, 1006,
697 1010, 1014, 1020, 1026, 1032, 1036, 1040, 1046, 1050, 1054,
698 1058, 1062, 1066, 1070, 1074, 1080, 1086, 1091, 1098, 1113,
699 1119, 1135, 1139, 1161, 1166, 1180, 1184, 1197, 1202, 1207,
700 1212, 1217, 1222, 1227, 1232, 1237, 1243, 1248, 1259, 1267,
701 1275, 1283, 1308, 1322, 1336, 1346, 1350, 1355, 1363, 1371,
702 1379, 1388, 1397, 1407, 1411, 1415, 1419, 1423, 1427, 1432,
703 1436, 1441, 1445, 1451, 1455, 1459, 1463, 1467, 1471, 1477,
704 1481, 1487, 1493, 1499, 1505, 1511, 1515, 1519, 1523, 1527,
705 1531, 1536, 1537, 1538, 1539, 1540, 1541, 1543, 1549, 1555,
706 1561, 1567, 1573, 1579, 1585, 1591, 1597, 1603, 1609, 1615,
707 1621, 1628, 1632, 1637, 1641, 1645, 1649, 1654, 1662
711 #if YYDEBUG || YYERROR_VERBOSE || 0 714 static const char *
const yytname[] =
716 "$end",
"error",
"$undefined",
"INSTR_ADD",
"INSTR_NOP",
"INSTR_MOV",
717 "INSTR_SUB",
"INSTR_MAD",
"INSTR_MUL",
"INSTR_RCP",
"INSTR_RSQ",
718 "INSTR_DP3",
"INSTR_DP4",
"INSTR_MIN",
"INSTR_MAX",
"INSTR_SLT",
719 "INSTR_SGE",
"INSTR_ABS",
"INSTR_EXP",
"INSTR_LOG",
"INSTR_EXPP",
720 "INSTR_LOGP",
"INSTR_DST",
"INSTR_LRP",
"INSTR_FRC",
"INSTR_POW",
721 "INSTR_CRS",
"INSTR_SGN",
"INSTR_NRM",
"INSTR_SINCOS",
"INSTR_M4x4",
722 "INSTR_M4x3",
"INSTR_M3x4",
"INSTR_M3x3",
"INSTR_M3x2",
"INSTR_DCL",
723 "INSTR_DEF",
"INSTR_DEFB",
"INSTR_DEFI",
"INSTR_REP",
"INSTR_ENDREP",
724 "INSTR_IF",
"INSTR_ELSE",
"INSTR_ENDIF",
"INSTR_BREAK",
"INSTR_BREAKP",
725 "INSTR_CALL",
"INSTR_CALLNZ",
"INSTR_LOOP",
"INSTR_RET",
"INSTR_ENDLOOP",
726 "INSTR_LABEL",
"INSTR_SETP",
"INSTR_TEXLDL",
"INSTR_LIT",
"INSTR_MOVA",
727 "INSTR_CND",
"INSTR_CMP",
"INSTR_DP2ADD",
"INSTR_TEXCOORD",
728 "INSTR_TEXCRD",
"INSTR_TEXKILL",
"INSTR_TEX",
"INSTR_TEXLD",
729 "INSTR_TEXBEM",
"INSTR_TEXBEML",
"INSTR_TEXREG2AR",
"INSTR_TEXREG2GB",
730 "INSTR_TEXREG2RGB",
"INSTR_TEXM3x2PAD",
"INSTR_TEXM3x2TEX",
731 "INSTR_TEXM3x3PAD",
"INSTR_TEXM3x3SPEC",
"INSTR_TEXM3x3VSPEC",
732 "INSTR_TEXM3x3TEX",
"INSTR_TEXDP3TEX",
"INSTR_TEXM3x2DEPTH",
733 "INSTR_TEXDP3",
"INSTR_TEXM3x3",
"INSTR_TEXDEPTH",
"INSTR_BEM",
734 "INSTR_DSX",
"INSTR_DSY",
"INSTR_TEXLDP",
"INSTR_TEXLDB",
"INSTR_TEXLDD",
735 "INSTR_PHASE",
"REG_TEMP",
"REG_OUTPUT",
"REG_INPUT",
"REG_CONSTFLOAT",
736 "REG_CONSTINT",
"REG_CONSTBOOL",
"REG_TEXTURE",
"REG_SAMPLER",
737 "REG_TEXCRDOUT",
"REG_OPOS",
"REG_OFOG",
"REG_OPTS",
"REG_VERTEXCOLOR",
738 "REG_FRAGCOLOR",
"REG_FRAGDEPTH",
"REG_VPOS",
"REG_VFACE",
"REG_ADDRESS",
739 "REG_LOOP",
"REG_PREDICATE",
"REG_LABEL",
"VER_VS10",
"VER_VS11",
740 "VER_VS20",
"VER_VS2X",
"VER_VS30",
"VER_PS10",
"VER_PS11",
"VER_PS12",
741 "VER_PS13",
"VER_PS14",
"VER_PS20",
"VER_PS2X",
"VER_PS30",
"SHIFT_X2",
742 "SHIFT_X4",
"SHIFT_X8",
"SHIFT_D2",
"SHIFT_D4",
"SHIFT_D8",
"MOD_SAT",
743 "MOD_PP",
"MOD_CENTROID",
"COMP_GT",
"COMP_LT",
"COMP_GE",
"COMP_LE",
744 "COMP_EQ",
"COMP_NE",
"SMOD_BIAS",
"SMOD_SCALEBIAS",
"SMOD_DZ",
745 "SMOD_DW",
"SMOD_ABS",
"SMOD_NOT",
"SAMPTYPE_1D",
"SAMPTYPE_2D",
746 "SAMPTYPE_CUBE",
"SAMPTYPE_VOLUME",
"USAGE_POSITION",
747 "USAGE_BLENDWEIGHT",
"USAGE_BLENDINDICES",
"USAGE_NORMAL",
"USAGE_PSIZE",
748 "USAGE_TEXCOORD",
"USAGE_TANGENT",
"USAGE_BINORMAL",
"USAGE_TESSFACTOR",
749 "USAGE_POSITIONT",
"USAGE_COLOR",
"USAGE_FOG",
"USAGE_DEPTH",
750 "USAGE_SAMPLE",
"COMPONENT",
"IMMVAL",
"IMMBOOL",
"'+'",
"','",
"'.'",
751 "'-'",
"'['",
"']'",
"'('",
"')'",
"$accept",
"shader",
"version_marker",
752 "instructions",
"complexinstr",
"instruction",
"dreg",
"dreg_name",
753 "writemask",
"wm_components",
"swizzle",
"sw_components",
"omods",
754 "omodifier",
"sregs",
"sreg",
"rel_reg",
"immsum",
"smod",
"relreg_name",
755 "sreg_name",
"comp",
"dclusage",
"dcl_inputreg",
"sampdcl",
"predicate",
YY_NULLPTR 764 0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
765 265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
766 275, 276, 277, 278, 279, 280, 281, 282, 283, 284,
767 285, 286, 287, 288, 289, 290, 291, 292, 293, 294,
768 295, 296, 297, 298, 299, 300, 301, 302, 303, 304,
769 305, 306, 307, 308, 309, 310, 311, 312, 313, 314,
770 315, 316, 317, 318, 319, 320, 321, 322, 323, 324,
771 325, 326, 327, 328, 329, 330, 331, 332, 333, 334,
772 335, 336, 337, 338, 339, 340, 341, 342, 343, 344,
773 345, 346, 347, 348, 349, 350, 351, 352, 353, 354,
774 355, 356, 357, 358, 359, 360, 361, 362, 363, 364,
775 365, 366, 367, 368, 369, 370, 371, 372, 373, 374,
776 375, 376, 377, 378, 379, 380, 381, 382, 383, 384,
777 385, 386, 387, 388, 389, 390, 391, 392, 393, 394,
778 395, 396, 397, 398, 399, 400, 401, 402, 403, 404,
779 405, 406, 407, 408, 409, 410, 411, 412, 413, 414,
780 415, 416, 417, 43, 44, 46, 45, 91, 93, 40,
785 #define YYPACT_NINF -458 787 #define yypact_value_is_default(Yystate) \ 788 (!!((Yystate) == (-458))) 790 #define YYTABLE_NINF -1 792 #define yytable_value_is_error(Yytable_value) \ 799 386, -458, -458, -458, -458, -458, -458, -458, -458, -458,
800 -458, -458, -458, -458, 11, -458, -458, 389, -458, -458,
801 -458, -458, -458, -458, -458, -458, -458, -458, -458, -458,
802 -458, -458, -458, -458, -458, -458, -458, -458, -458, -458,
803 -458, -458, -458, -458, -458, -458, -458, -458, -458, -458,
804 334, -42, -28, -10, -34, -458, 95, -458, -458, 3,
805 -34, -34, -34, -34, -458, -458, -34, 3, -458, -458,
806 -458, -458, -458, -458, -458, -458, 247, -458, -458, -458,
807 -458, -458, -458, -458, -458, -458, -458, -458, -458, -458,
808 -458, -458, -458, -458, -458, -458, -458, -458, -458, -458,
809 -458, -458, 647, -55, -458, -458, 647, 505, 505, 505,
810 505, 505, 505, 505, 505, 505, 505, 505, 505, 505,
811 505, 505, 505, 505, 505, 505, 505, 505, 505, 505,
812 505, 505, 505, 505, 505, 505, 505, 505, -458, -458,
813 -458, -458, -458, -458, -458, -458, -458, -458, -458, -458,
814 -458, -458, -458, -458, -458, -458, 123, 2, -458, -44,
815 -40, -39, -458, -458, -458, -458, -458, -458, -458, -458,
816 -458, -458, -458, -458, -458, -458, -458, -458, -458, -458,
817 -458, -458, 185, -45, 185, -38, -458, -37, -458, -458,
818 -458, -458, -458, -458, -38, -34, -34, -38, -38, -38,
819 -38, -38, 247, 505, 505, 505, 505, 505, 505, 505,
820 505, -458, -458, -458, -458, -458, -458, -458, -458, -458,
821 -458, -458, -458, -458, -458, -458, -458, -458, -458, -458,
822 -458, -458, -76, 505, 505, 505, 505, 505, 505, 505,
823 505, 505, 505, 505, 505, 505, 505, 505, 505, 505,
824 505, 505, 505, 505, 505, 505, 505, -458, -57, 22,
825 -458, -458, -458, -458, -458, -458, -458, -458, -458, -458,
826 -35, -458, 1, 4, 8, 9, 10, 14, 16, 29,
827 49, 50, 51, 54, 55, 57, 58, 60, 68, 69,
828 70, 73, 74, 75, 76, 77, 78, 79, 89, 90,
829 91, 93, -458, -458, -458, 94, 94, 142, 82, 5,
830 96, 6, -57, 185, -37, -34, -58, -43, -38, -38,
831 98, 119, 129, 130, 131, 132, 133, -458, 134, 100,
832 -458, -458, -458, 135, 136, 137, 138, 190, 191, 192,
833 193, 194, 195, 204, 205, 343, 344, 345, 346, -458,
834 378, 379, 380, 381, 382, 383, 388, 384, -57, -34,
835 -34, -34, -34, -34, -34, -34, -34, -34, -34, -34,
836 -34, -34, -34, -34, -34, -34, -34, -34, -34, -34,
837 -34, -34, -34, -34, -34, -34, -34, -34, -34, -34,
838 -458, -458, 94, -458, -458, -458, 385, -458, 387, -458,
839 -37, -43, -458, -458, -458, -458, -154, -57, -458, -458,
840 -458, -458, -458, -458, -458, -57, -34, -34, -34, -34,
841 -34, -34, -34, -34, -458, 390, -34, -34, -34, -34,
842 -34, -34, -34, -34, -34, -34, -34, -34, -34, -34,
843 -34, -34, -34, -34, -34, -34, -34, -34, -458, 393,
844 -458, 397, -38, -38, -38, -38, -38, -38, -38, -38,
845 -38, -38, -38, -38, -38, -38, -38, -38, -38, -38,
846 -38, -38, -38, -38, -38, -38, -38, -38, -38, -38,
847 -38, -38, -38, -458, 394, 395, -43, -458, -57, -30,
848 -458, -86, -458, -38, -38, -38, -38, -38, -38, -38,
849 -38, -458, -38, -38, -38, -38, -38, -38, -38, -38,
850 -38, -38, -38, -38, -38, -38, -38, -38, -38, -38,
851 -38, -38, -38, -38, -458, -458, 448, 449, -458, -57,
852 -458, -458, -57, 396, -458, 453, 454, -458, -84, -63,
853 452, 455, 396, -458, 456, -458, 457, 459, -59, -458,
862 0, 3, 4, 5, 6, 7, 8, 9, 10, 11,
863 12, 13, 14, 15, 0, 16, 1, 2, 145, 22,
864 145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
865 145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
866 145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
867 145, 0, 0, 0, 0, 67, 0, 70, 71, 72,
868 0, 0, 0, 0, 78, 79, 0, 0, 145, 145,
869 145, 145, 145, 145, 145, 145, 0, 145, 145, 145,
870 145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
871 145, 145, 145, 145, 145, 145, 145, 145, 145, 145,
872 145, 115, 0, 0, 17, 18, 0, 0, 0, 0,
873 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
874 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
875 0, 0, 0, 0, 0, 0, 0, 0, 223, 224,
876 225, 226, 207, 208, 209, 210, 211, 212, 213, 214,
877 215, 216, 217, 218, 219, 220, 0, 145, 145, 0,
878 0, 0, 181, 182, 183, 184, 185, 186, 187, 189,
879 188, 190, 191, 192, 193, 194, 196, 197, 198, 199,
880 195, 200, 0, 0, 0, 66, 156, 165, 201, 202,
881 203, 204, 205, 206, 68, 0, 0, 74, 75, 76,
882 77, 80, 0, 0, 0, 0, 0, 0, 0, 0,
883 0, 118, 119, 120, 121, 122, 123, 124, 126, 125,
884 127, 129, 128, 130, 131, 132, 134, 135, 136, 137,
885 133, 90, 165, 0, 0, 0, 0, 0, 0, 0,
886 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
887 0, 0, 0, 0, 0, 0, 0, 20, 141, 0,
888 19, 147, 148, 149, 150, 151, 152, 153, 154, 155,
889 0, 146, 0, 0, 0, 0, 0, 0, 0, 0,
890 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
891 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
892 0, 0, 221, 222, 60, 57, 53, 0, 0, 0,
893 0, 0, 141, 0, 165, 0, 0, 141, 69, 73,
894 0, 0, 0, 0, 0, 0, 0, 88, 0, 0,
895 117, 116, 91, 0, 0, 0, 0, 0, 0, 0,
896 0, 0, 0, 0, 0, 0, 0, 0, 0, 92,
897 0, 0, 0, 0, 0, 0, 0, 0, 141, 0,
898 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
899 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
900 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
901 58, 54, 55, 62, 59, 61, 0, 65, 0, 164,
902 165, 141, 157, 179, 180, 171, 0, 141, 174, 173,
903 175, 176, 177, 178, 158, 141, 0, 0, 0, 0,
904 0, 0, 0, 0, 139, 138, 0, 0, 0, 0,
905 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
906 0, 0, 0, 0, 0, 0, 0, 0, 143, 142,
907 227, 0, 21, 23, 24, 25, 26, 27, 28, 29,
908 30, 31, 32, 33, 34, 35, 36, 37, 39, 38,
909 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
910 50, 51, 52, 56, 0, 0, 141, 160, 141, 0,
911 166, 0, 159, 81, 82, 83, 84, 85, 86, 87,
912 89, 140, 93, 96, 97, 98, 99, 100, 101, 108,
913 102, 103, 104, 105, 106, 107, 109, 110, 111, 112,
914 113, 94, 95, 114, 144, 228, 0, 0, 162, 141,
915 161, 172, 141, 0, 167, 0, 0, 163, 0, 0,
916 0, 0, 0, 168, 0, 169, 0, 0, 0, 63,
923 -458, -458, -458, -458, -458, 17, -92, -458, -293, -458,
924 -309, -458, 491, -458, -56, 306, -231, -457, -399, 146,
925 -132, 21, -458, -206, -458, -458
931 -1, 14, 15, 17, 104, 105, 231, 232, 330, 425,
932 357, 449, 107, 271, 185, 186, 317, 406, 415, 407,
933 187, 195, 157, 305, 158, 106
941 194, 331, 488, 399, 197, 198, 199, 200, 414, 489,
942 201, 16, 390, 391, 490, 270, 272, 273, 274, 275,
943 276, 277, 278, 279, 280, 281, 282, 283, 284, 285,
944 286, 287, 288, 289, 290, 291, 292, 293, 294, 295,
945 296, 297, 298, 299, 300, 301, 403, 404, 159, 451,
946 312, 258, 314, 162, 163, 164, 165, 166, 167, 168,
947 169, 170, 171, 172, 160, 173, 174, 175, 176, 177,
948 178, 179, 180, 181, 403, 404, 539, 533, 408, 542,
949 196, 161, 534, 401, 543, 548, 259, 529, 202, 329,
950 306, 316, 487, 409, 410, 411, 412, 413, 491, 483,
951 544, 392, 395, 405, 544, 545, 492, 182, 356, 551,
952 320, 321, 322, 323, 324, 325, 326, 327, 328, 257,
953 309, 313, 356, 260, 310, 311, 315, 183, 358, 359,
954 316, 531, 184, 188, 189, 190, 191, 192, 193, 318,
955 319, 332, 333, 334, 335, 336, 337, 338, 339, 340,
956 341, 342, 343, 344, 345, 346, 347, 348, 349, 350,
957 351, 352, 353, 354, 355, 360, 396, 398, 361, 486,
958 393, 302, 362, 363, 364, 303, 394, 528, 365, 530,
959 366, 400, 162, 163, 164, 165, 166, 167, 168, 169,
960 170, 171, 172, 367, 173, 174, 175, 176, 177, 178,
961 179, 180, 181, 261, 262, 263, 264, 265, 266, 267,
962 268, 269, 302, 368, 369, 370, 303, 304, 371, 372,
963 537, 373, 374, 538, 375, 188, 189, 190, 191, 192,
964 193, 302, 376, 377, 378, 303, 182, 379, 380, 381,
965 382, 383, 384, 385, 261, 262, 263, 264, 265, 266,
966 267, 268, 269, 386, 387, 388, 183, 389, 397, 329,
967 424, 184, 416, 261, 262, 263, 264, 265, 266, 267,
968 268, 269, 162, 163, 164, 165, 166, 167, 168, 169,
969 170, 171, 172, 417, 173, 174, 175, 176, 177, 178,
970 179, 180, 181, 418, 419, 420, 421, 422, 423, 426,
971 427, 428, 429, 452, 453, 454, 455, 456, 457, 458,
972 459, 460, 461, 462, 463, 464, 465, 466, 467, 468,
973 469, 470, 471, 472, 473, 474, 475, 476, 477, 478,
974 479, 480, 481, 482, 211, 212, 213, 214, 215, 216,
975 217, 218, 219, 220, 221, 222, 223, 224, 225, 226,
976 227, 228, 229, 230, 430, 431, 432, 433, 434, 435,
977 493, 494, 495, 496, 497, 498, 499, 500, 436, 437,
978 502, 503, 504, 505, 506, 507, 508, 509, 510, 511,
979 512, 513, 514, 515, 516, 517, 518, 519, 520, 521,
980 522, 523, 18, 19, 20, 21, 22, 23, 24, 25,
981 26, 27, 28, 29, 30, 31, 32, 33, 34, 35,
982 36, 37, 38, 39, 40, 41, 42, 43, 44, 45,
983 46, 47, 48, 49, 50, 51, 52, 53, 54, 55,
984 56, 57, 58, 59, 60, 61, 62, 63, 64, 65,
985 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,
986 76, 77, 78, 79, 80, 81, 82, 83, 84, 85,
987 86, 87, 88, 89, 90, 91, 92, 93, 94, 95,
988 96, 97, 98, 99, 100, 101, 138, 139, 140, 141,
989 142, 143, 144, 145, 146, 147, 148, 149, 150, 151,
990 152, 153, 154, 155, 1, 2, 3, 4, 5, 6,
991 7, 8, 9, 10, 11, 12, 13, 438, 439, 440,
992 441, 108, 109, 110, 111, 112, 113, 114, 115, 116,
993 117, 118, 119, 120, 121, 122, 123, 124, 125, 126,
994 127, 128, 129, 130, 131, 132, 133, 134, 135, 136,
995 137, 156, 442, 443, 444, 445, 446, 447, 448, 484,
996 501, 485, 102, 524, 450, 526, 527, 405, 103, 203,
997 204, 205, 206, 207, 208, 209, 210, 525, 233, 234,
998 235, 236, 237, 238, 239, 240, 241, 242, 243, 244,
999 245, 246, 247, 248, 249, 250, 251, 252, 253, 254,
1000 255, 256, 211, 212, 213, 214, 215, 216, 217, 218,
1001 219, 220, 221, 222, 223, 224, 225, 226, 227, 228,
1002 229, 230, 535, 536, 540, 541, 546, 531, 549, 547,
1003 550, 402, 0, 0, 0, 0, 261, 262, 263, 264,
1004 265, 266, 267, 268, 269, 532, 0, 0, 0, 0,
1005 0, 0, 0, 0, 0, 0, 0, 0, 307, 308,
1006 18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
1007 28, 29, 30, 31, 32, 33, 34, 35, 36, 37,
1008 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
1009 48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
1010 58, 59, 60, 61, 62, 63, 64, 65, 66, 67,
1011 68, 69, 70, 71, 72, 73, 74, 75, 76, 77,
1012 78, 79, 80, 81, 82, 83, 84, 85, 86, 87,
1013 88, 89, 90, 91, 92, 93, 94, 95, 96, 97,
1019 56, 232, 401, 312, 60, 61, 62, 63, 317, 163,
1020 66, 0, 305, 306, 168, 107, 108, 109, 110, 111,
1021 112, 113, 114, 115, 116, 117, 118, 119, 120, 121,
1022 122, 123, 124, 125, 126, 127, 128, 129, 130, 131,
1023 132, 133, 134, 135, 136, 137, 104, 105, 90, 358,
1024 182, 106, 184, 87, 88, 89, 90, 91, 92, 93,
1025 94, 95, 96, 97, 92, 99, 100, 101, 102, 103,
1026 104, 105, 106, 107, 104, 105, 533, 163, 121, 163,
1027 59, 91, 168, 314, 168, 542, 141, 486, 67, 165,
1028 88, 167, 401, 136, 137, 138, 139, 140, 407, 392,
1029 163, 307, 308, 161, 163, 168, 415, 141, 165, 168,
1030 202, 203, 204, 205, 206, 207, 208, 209, 210, 102,
1031 164, 166, 165, 106, 164, 164, 164, 161, 106, 164,
1032 167, 161, 166, 130, 131, 132, 133, 134, 135, 195,
1033 196, 233, 234, 235, 236, 237, 238, 239, 240, 241,
1034 242, 243, 244, 245, 246, 247, 248, 249, 250, 251,
1035 252, 253, 254, 255, 256, 164, 161, 161, 164, 400,
1036 88, 89, 164, 164, 164, 93, 94, 486, 164, 488,
1037 164, 313, 87, 88, 89, 90, 91, 92, 93, 94,
1038 95, 96, 97, 164, 99, 100, 101, 102, 103, 104,
1039 105, 106, 107, 121, 122, 123, 124, 125, 126, 127,
1040 128, 129, 89, 164, 164, 164, 93, 94, 164, 164,
1041 529, 164, 164, 532, 164, 130, 131, 132, 133, 134,
1042 135, 89, 164, 164, 164, 93, 141, 164, 164, 164,
1043 164, 164, 164, 164, 121, 122, 123, 124, 125, 126,
1044 127, 128, 129, 164, 164, 164, 161, 164, 162, 165,
1045 160, 166, 164, 121, 122, 123, 124, 125, 126, 127,
1046 128, 129, 87, 88, 89, 90, 91, 92, 93, 94,
1047 95, 96, 97, 164, 99, 100, 101, 102, 103, 104,
1048 105, 106, 107, 164, 164, 164, 164, 164, 164, 164,
1049 164, 164, 164, 359, 360, 361, 362, 363, 364, 365,
1050 366, 367, 368, 369, 370, 371, 372, 373, 374, 375,
1051 376, 377, 378, 379, 380, 381, 382, 383, 384, 385,
1052 386, 387, 388, 389, 87, 88, 89, 90, 91, 92,
1053 93, 94, 95, 96, 97, 98, 99, 100, 101, 102,
1054 103, 104, 105, 106, 164, 164, 164, 164, 164, 164,
1055 416, 417, 418, 419, 420, 421, 422, 423, 164, 164,
1056 426, 427, 428, 429, 430, 431, 432, 433, 434, 435,
1057 436, 437, 438, 439, 440, 441, 442, 443, 444, 445,
1058 446, 447, 3, 4, 5, 6, 7, 8, 9, 10,
1059 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
1060 21, 22, 23, 24, 25, 26, 27, 28, 29, 30,
1061 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
1062 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
1063 51, 52, 53, 54, 55, 56, 57, 58, 59, 60,
1064 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
1065 71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
1066 81, 82, 83, 84, 85, 86, 142, 143, 144, 145,
1067 146, 147, 148, 149, 150, 151, 152, 153, 154, 155,
1068 156, 157, 158, 159, 108, 109, 110, 111, 112, 113,
1069 114, 115, 116, 117, 118, 119, 120, 164, 164, 164,
1070 164, 20, 21, 22, 23, 24, 25, 26, 27, 28,
1071 29, 30, 31, 32, 33, 34, 35, 36, 37, 38,
1072 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
1073 49, 50, 164, 164, 164, 164, 164, 164, 160, 164,
1074 160, 164, 163, 160, 170, 161, 161, 161, 169, 68,
1075 69, 70, 71, 72, 73, 74, 75, 170, 77, 78,
1076 79, 80, 81, 82, 83, 84, 85, 86, 87, 88,
1077 89, 90, 91, 92, 93, 94, 95, 96, 97, 98,
1078 99, 100, 87, 88, 89, 90, 91, 92, 93, 94,
1079 95, 96, 97, 98, 99, 100, 101, 102, 103, 104,
1080 105, 106, 164, 164, 161, 161, 164, 161, 161, 164,
1081 161, 315, -1, -1, -1, -1, 121, 122, 123, 124,
1082 125, 126, 127, 128, 129, 489, -1, -1, -1, -1,
1083 -1, -1, -1, -1, -1, -1, -1, -1, 157, 158,
1084 3, 4, 5, 6, 7, 8, 9, 10, 11, 12,
1085 13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
1086 23, 24, 25, 26, 27, 28, 29, 30, 31, 32,
1087 33, 34, 35, 36, 37, 38, 39, 40, 41, 42,
1088 43, 44, 45, 46, 47, 48, 49, 50, 51, 52,
1089 53, 54, 55, 56, 57, 58, 59, 60, 61, 62,
1090 63, 64, 65, 66, 67, 68, 69, 70, 71, 72,
1091 73, 74, 75, 76, 77, 78, 79, 80, 81, 82,
1099 0, 108, 109, 110, 111, 112, 113, 114, 115, 116,
1100 117, 118, 119, 120, 172, 173, 0, 174, 3, 4,
1101 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
1102 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
1103 25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
1104 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
1105 45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
1106 55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
1107 65, 66, 67, 68, 69, 70, 71, 72, 73, 74,
1108 75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
1109 85, 86, 163, 169, 175, 176, 196, 183, 183, 183,
1110 183, 183, 183, 183, 183, 183, 183, 183, 183, 183,
1111 183, 183, 183, 183, 183, 183, 183, 183, 183, 183,
1112 183, 183, 183, 183, 183, 183, 183, 183, 142, 143,
1113 144, 145, 146, 147, 148, 149, 150, 151, 152, 153,
1114 154, 155, 156, 157, 158, 159, 183, 193, 195, 90,
1115 92, 91, 87, 88, 89, 90, 91, 92, 93, 94,
1116 95, 96, 97, 99, 100, 101, 102, 103, 104, 105,
1117 106, 107, 141, 161, 166, 185, 186, 191, 130, 131,
1118 132, 133, 134, 135, 185, 192, 192, 185, 185, 185,
1119 185, 185, 192, 183, 183, 183, 183, 183, 183, 183,
1120 183, 87, 88, 89, 90, 91, 92, 93, 94, 95,
1121 96, 97, 98, 99, 100, 101, 102, 103, 104, 105,
1122 106, 177, 178, 183, 183, 183, 183, 183, 183, 183,
1123 183, 183, 183, 183, 183, 183, 183, 183, 183, 183,
1124 183, 183, 183, 183, 183, 183, 183, 176, 106, 141,
1125 176, 121, 122, 123, 124, 125, 126, 127, 128, 129,
1126 177, 184, 177, 177, 177, 177, 177, 177, 177, 177,
1127 177, 177, 177, 177, 177, 177, 177, 177, 177, 177,
1128 177, 177, 177, 177, 177, 177, 177, 177, 177, 177,
1129 177, 177, 89, 93, 94, 194, 88, 183, 183, 164,
1130 164, 164, 191, 166, 191, 164, 167, 187, 185, 185,
1131 177, 177, 177, 177, 177, 177, 177, 177, 177, 165,
1132 179, 187, 177, 177, 177, 177, 177, 177, 177, 177,
1133 177, 177, 177, 177, 177, 177, 177, 177, 177, 177,
1134 177, 177, 177, 177, 177, 177, 165, 181, 106, 164,
1135 164, 164, 164, 164, 164, 164, 164, 164, 164, 164,
1136 164, 164, 164, 164, 164, 164, 164, 164, 164, 164,
1137 164, 164, 164, 164, 164, 164, 164, 164, 164, 164,
1138 179, 179, 194, 88, 94, 194, 161, 162, 161, 181,
1139 191, 187, 186, 104, 105, 161, 188, 190, 121, 136,
1140 137, 138, 139, 140, 181, 189, 164, 164, 164, 164,
1141 164, 164, 164, 164, 160, 180, 164, 164, 164, 164,
1142 164, 164, 164, 164, 164, 164, 164, 164, 164, 164,
1143 164, 164, 164, 164, 164, 164, 164, 164, 160, 182,
1144 170, 181, 185, 185, 185, 185, 185, 185, 185, 185,
1145 185, 185, 185, 185, 185, 185, 185, 185, 185, 185,
1146 185, 185, 185, 185, 185, 185, 185, 185, 185, 185,
1147 185, 185, 185, 179, 164, 164, 187, 181, 189, 163,
1148 168, 181, 181, 185, 185, 185, 185, 185, 185, 185,
1149 185, 160, 185, 185, 185, 185, 185, 185, 185, 185,
1150 185, 185, 185, 185, 185, 185, 185, 185, 185, 185,
1151 185, 185, 185, 185, 160, 170, 161, 161, 181, 189,
1152 181, 161, 190, 163, 168, 164, 164, 181, 181, 188,
1153 161, 161, 163, 168, 163, 168, 164, 164, 188, 161,
1160 0, 171, 172, 173, 173, 173, 173, 173, 173, 173,
1161 173, 173, 173, 173, 173, 173, 174, 174, 175, 175,
1162 175, 176, 176, 176, 176, 176, 176, 176, 176, 176,
1163 176, 176, 176, 176, 176, 176, 176, 176, 176, 176,
1164 176, 176, 176, 176, 176, 176, 176, 176, 176, 176,
1165 176, 176, 176, 176, 176, 176, 176, 176, 176, 176,
1166 176, 176, 176, 176, 176, 176, 176, 176, 176, 176,
1167 176, 176, 176, 176, 176, 176, 176, 176, 176, 176,
1168 176, 176, 176, 176, 176, 176, 176, 176, 176, 176,
1169 176, 176, 176, 176, 176, 176, 176, 176, 176, 176,
1170 176, 176, 176, 176, 176, 176, 176, 176, 176, 176,
1171 176, 176, 176, 176, 176, 176, 177, 177, 178, 178,
1172 178, 178, 178, 178, 178, 178, 178, 178, 178, 178,
1173 178, 178, 178, 178, 178, 178, 178, 178, 179, 180,
1174 180, 181, 181, 182, 182, 183, 183, 184, 184, 184,
1175 184, 184, 184, 184, 184, 184, 185, 185, 186, 186,
1176 186, 186, 186, 186, 186, 187, 187, 187, 187, 187,
1177 187, 188, 188, 189, 189, 189, 189, 189, 189, 190,
1178 190, 191, 191, 191, 191, 191, 191, 191, 191, 191,
1179 191, 191, 191, 191, 191, 191, 191, 191, 191, 191,
1180 191, 192, 192, 192, 192, 192, 192, 193, 193, 193,
1181 193, 193, 193, 193, 193, 193, 193, 193, 193, 193,
1182 193, 194, 194, 195, 195, 195, 195, 196, 196
1188 0, 2, 2, 1, 1, 1, 1, 1, 1, 1,
1189 1, 1, 1, 1, 1, 1, 0, 2, 1, 2,
1190 2, 5, 1, 5, 5, 5, 5, 5, 5, 5,
1191 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
1192 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
1193 5, 5, 5, 3, 4, 4, 5, 3, 4, 4,
1194 3, 4, 4, 10, 10, 4, 2, 1, 2, 3,
1195 1, 1, 1, 3, 2, 2, 2, 2, 1, 1,
1196 2, 5, 5, 5, 5, 5, 5, 5, 3, 5,
1197 2, 3, 3, 5, 5, 5, 5, 5, 5, 5,
1198 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
1199 5, 5, 5, 5, 5, 1, 2, 2, 1, 1,
1200 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1201 1, 1, 1, 1, 1, 1, 1, 1, 2, 1,
1202 2, 0, 2, 1, 2, 0, 2, 1, 1, 1,
1203 1, 1, 1, 1, 1, 1, 1, 3, 3, 4,
1204 4, 5, 5, 6, 3, 0, 3, 4, 6, 6,
1205 8, 1, 3, 1, 1, 1, 1, 1, 1, 1,
1206 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1207 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1208 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1209 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1210 1, 1, 1, 1, 1, 1, 1, 4, 5
1214 #define yyerrok (yyerrstatus = 0) 1215 #define yyclearin (yychar = YYEMPTY) 1216 #define YYEMPTY (-2) 1219 #define YYACCEPT goto yyacceptlab 1220 #define YYABORT goto yyabortlab 1221 #define YYERROR goto yyerrorlab 1224 #define YYRECOVERING() (!!yyerrstatus) 1226 #define YYBACKUP(Token, Value) \ 1228 if (yychar == YYEMPTY) \ 1232 YYPOPSTACK (yylen); \ 1238 yyerror (YY_("syntax error: cannot back up")); \ 1245 #define YYERRCODE 256 1254 # define YYFPRINTF fprintf 1257 # define YYDPRINTF(Args) \ 1264 #ifndef YY_LOCATION_PRINT 1265 # define YY_LOCATION_PRINT(File, Loc) ((void) 0) 1269 # define YY_SYMBOL_PRINT(Title, Type, Value, Location) \ 1273 YYFPRINTF (stderr, "%s ", Title); \ 1274 yy_symbol_print (stderr, \ 1276 YYFPRINTF (stderr, "\n"); \ 1286 yy_symbol_value_print (
FILE *yyo,
int yytype,
YYSTYPE const *
const yyvaluep)
1288 FILE *yyoutput = yyo;
1294 YYPRINT (yyo, yytoknum[yytype], *yyvaluep);
1305 yy_symbol_print (
FILE *yyo,
int yytype,
YYSTYPE const *
const yyvaluep)
1307 YYFPRINTF (yyo,
"%s %s (",
1310 yy_symbol_value_print (yyo, yytype, yyvaluep);
1311 YYFPRINTF (yyo,
")");
1322 YYFPRINTF (
stderr,
"Stack now");
1323 for (; yybottom <= yytop; yybottom++)
1325 int yybot = *yybottom;
1326 YYFPRINTF (
stderr,
" %d", yybot);
1328 YYFPRINTF (
stderr,
"\n");
1331 # define YY_STACK_PRINT(Bottom, Top) \ 1334 yy_stack_print ((Bottom), (Top)); \ 1345 unsigned long yylno = yyrline[yyrule];
1346 int yynrhs =
yyr2[yyrule];
1348 YYFPRINTF (
stderr,
"Reducing stack by rule %d (line %lu):\n",
1351 for (yyi = 0; yyi < yynrhs; yyi++)
1353 YYFPRINTF (
stderr,
" $%d = ", yyi + 1);
1355 yystos[yyssp[yyi + 1 - yynrhs]],
1356 &yyvsp[(yyi + 1) - (yynrhs)]
1358 YYFPRINTF (
stderr,
"\n");
1362 # define YY_REDUCE_PRINT(Rule) \ 1365 yy_reduce_print (yyssp, yyvsp, Rule); \ 1372 # define YYDPRINTF(Args) 1373 # define YY_SYMBOL_PRINT(Title, Type, Value, Location) 1374 # define YY_STACK_PRINT(Bottom, Top) 1375 # define YY_REDUCE_PRINT(Rule) 1381 # define YYINITDEPTH 200 1392 # define YYMAXDEPTH 10000 1399 # if defined __GLIBC__ && defined _STRING_H 1400 # define yystrlen strlen 1407 for (yylen = 0; yystr[yylen]; yylen++)
1415 # if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE 1416 # define yystpcpy stpcpy 1421 yystpcpy (
char *yydest,
const char *yysrc)
1424 const char *yys = yysrc;
1426 while ((*yyd++ = *yys++) !=
'\0')
1443 yytnamerr (
char *yyres,
const char *yystr)
1448 char const *yyp = yystr;
1455 goto do_not_strip_quotes;
1459 goto do_not_strip_quotes;
1475 do_not_strip_quotes: ;
1499 enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
1503 char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
1533 int yyn =
yypact[*yyssp];
1534 yyarg[yycount++] =
yytname[yytoken];
1540 int yyxbegin = yyn < 0 ? -yyn : 0;
1542 int yychecklim =
YYLAST - yyn + 1;
1546 for (yyx = yyxbegin; yyx < yyxend; ++yyx)
1550 if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
1556 yyarg[yycount++] =
yytname[yyx];
1570 # define YYCASE_(N, S) \ 1576 YYCASE_(1,
YY_(
"syntax error, unexpected %s"));
1577 YYCASE_(2,
YY_(
"syntax error, unexpected %s, expecting %s"));
1578 YYCASE_(3,
YY_(
"syntax error, unexpected %s, expecting %s or %s"));
1579 YYCASE_(4,
YY_(
"syntax error, unexpected %s, expecting %s or %s or %s"));
1580 YYCASE_(5,
YY_(
"syntax error, unexpected %s, expecting %s or %s or %s or %s"));
1592 if (*yymsg_alloc < yysize)
1594 *yymsg_alloc = 2 * yysize;
1595 if (! (yysize <= *yymsg_alloc
1607 while ((*yyp = *yyformat) !=
'\0')
1608 if (*yyp ==
'%' && yyformat[1] ==
's' && yyi < yycount)
1693 char *yymsg = yymsgbuf;
1694 YYSIZE_T yymsg_alloc =
sizeof yymsgbuf;
1697 #define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) 1703 yyssp = yyss = yyssa;
1704 yyvsp = yyvs = yyvsa;
1733 if (yyss + yystacksize - 1 <= yyssp)
1734 #if !defined yyoverflow && !defined YYSTACK_RELOCATE 1735 goto yyexhaustedlab;
1741 # if defined yyoverflow 1753 yyoverflow (
YY_(
"memory exhausted"),
1754 &yyss1, yysize *
sizeof (*yyssp),
1755 &yyvs1, yysize *
sizeof (*yyvsp),
1763 goto yyexhaustedlab;
1773 goto yyexhaustedlab;
1776 # undef YYSTACK_RELOCATE 1782 yyssp = yyss + yysize - 1;
1783 yyvsp = yyvs + yysize - 1;
1786 (
unsigned long) yystacksize));
1788 if (yyss + yystacksize - 1 <= yyssp)
1888 yyval = yyvsp[1-yylen];
1895 #line 310 "asmshader.y" 1899 #line 1900 "asmshader.tab.c" 1903 #line 315 "asmshader.y" 1905 TRACE(
"Vertex shader 1.0\n");
1908 #line 1909 "asmshader.tab.c" 1912 #line 320 "asmshader.y" 1914 TRACE(
"Vertex shader 1.1\n");
1917 #line 1918 "asmshader.tab.c" 1921 #line 325 "asmshader.y" 1923 TRACE(
"Vertex shader 2.0\n");
1926 #line 1927 "asmshader.tab.c" 1930 #line 330 "asmshader.y" 1932 TRACE(
"Vertex shader 2.x\n");
1935 #line 1936 "asmshader.tab.c" 1939 #line 335 "asmshader.y" 1941 TRACE(
"Vertex shader 3.0\n");
1944 #line 1945 "asmshader.tab.c" 1948 #line 340 "asmshader.y" 1950 TRACE(
"Pixel shader 1.0\n");
1953 #line 1954 "asmshader.tab.c" 1957 #line 345 "asmshader.y" 1959 TRACE(
"Pixel shader 1.1\n");
1962 #line 1963 "asmshader.tab.c" 1966 #line 350 "asmshader.y" 1968 TRACE(
"Pixel shader 1.2\n");
1971 #line 1972 "asmshader.tab.c" 1975 #line 355 "asmshader.y" 1977 TRACE(
"Pixel shader 1.3\n");
1980 #line 1981 "asmshader.tab.c" 1984 #line 360 "asmshader.y" 1986 TRACE(
"Pixel shader 1.4\n");
1989 #line 1990 "asmshader.tab.c" 1993 #line 365 "asmshader.y" 1995 TRACE(
"Pixel shader 2.0\n");
1998 #line 1999 "asmshader.tab.c" 2002 #line 370 "asmshader.y" 2004 TRACE(
"Pixel shader 2.x\n");
2007 #line 2008 "asmshader.tab.c" 2011 #line 375 "asmshader.y" 2013 TRACE(
"Pixel shader 3.0\n");
2016 #line 2017 "asmshader.tab.c" 2020 #line 382 "asmshader.y" 2024 #line 2025 "asmshader.tab.c" 2028 #line 387 "asmshader.y" 2032 #line 2033 "asmshader.tab.c" 2036 #line 391 "asmshader.y" 2038 TRACE(
"predicate\n");
2041 #line 2042 "asmshader.tab.c" 2045 #line 396 "asmshader.y" 2050 #line 2051 "asmshader.tab.c" 2054 #line 402 "asmshader.y" 2059 #line 2060 "asmshader.tab.c" 2063 #line 407 "asmshader.y" 2068 #line 2069 "asmshader.tab.c" 2072 #line 412 "asmshader.y" 2077 #line 2078 "asmshader.tab.c" 2081 #line 417 "asmshader.y" 2086 #line 2087 "asmshader.tab.c" 2090 #line 422 "asmshader.y" 2095 #line 2096 "asmshader.tab.c" 2099 #line 427 "asmshader.y" 2104 #line 2105 "asmshader.tab.c" 2108 #line 432 "asmshader.y" 2113 #line 2114 "asmshader.tab.c" 2117 #line 437 "asmshader.y" 2122 #line 2123 "asmshader.tab.c" 2126 #line 442 "asmshader.y" 2131 #line 2132 "asmshader.tab.c" 2135 #line 447 "asmshader.y" 2140 #line 2141 "asmshader.tab.c" 2144 #line 452 "asmshader.y" 2149 #line 2150 "asmshader.tab.c" 2153 #line 457 "asmshader.y" 2158 #line 2159 "asmshader.tab.c" 2162 #line 462 "asmshader.y" 2167 #line 2168 "asmshader.tab.c" 2171 #line 467 "asmshader.y" 2176 #line 2177 "asmshader.tab.c" 2180 #line 472 "asmshader.y" 2185 #line 2186 "asmshader.tab.c" 2189 #line 477 "asmshader.y" 2194 #line 2195 "asmshader.tab.c" 2198 #line 482 "asmshader.y" 2203 #line 2204 "asmshader.tab.c" 2207 #line 487 "asmshader.y" 2212 #line 2213 "asmshader.tab.c" 2216 #line 492 "asmshader.y" 2221 #line 2222 "asmshader.tab.c" 2225 #line 497 "asmshader.y" 2230 #line 2231 "asmshader.tab.c" 2234 #line 502 "asmshader.y" 2239 #line 2240 "asmshader.tab.c" 2243 #line 507 "asmshader.y" 2248 #line 2249 "asmshader.tab.c" 2252 #line 512 "asmshader.y" 2257 #line 2258 "asmshader.tab.c" 2261 #line 517 "asmshader.y" 2266 #line 2267 "asmshader.tab.c" 2270 #line 522 "asmshader.y" 2275 #line 2276 "asmshader.tab.c" 2279 #line 527 "asmshader.y" 2284 #line 2285 "asmshader.tab.c" 2288 #line 532 "asmshader.y" 2293 #line 2294 "asmshader.tab.c" 2297 #line 537 "asmshader.y" 2302 #line 2303 "asmshader.tab.c" 2306 #line 542 "asmshader.y" 2311 #line 2312 "asmshader.tab.c" 2315 #line 547 "asmshader.y" 2320 #line 2321 "asmshader.tab.c" 2324 #line 552 "asmshader.y" 2329 #line 2330 "asmshader.tab.c" 2333 #line 557 "asmshader.y" 2338 #line 2339 "asmshader.tab.c" 2342 #line 562 "asmshader.y" 2345 TRACE(
"Output reg declaration\n");
2348 reg.regnum = (yyvsp[0].regnum);
2354 #line 2355 "asmshader.tab.c" 2358 #line 574 "asmshader.y" 2361 TRACE(
"Output reg declaration\n");
2364 reg.regnum = (yyvsp[-1].regnum);
2367 reg.u.writemask = (yyvsp[0].writemask);
2370 #line 2371 "asmshader.tab.c" 2374 #line 586 "asmshader.y" 2377 TRACE(
"Input reg declaration\n");
2378 if((yyvsp[-1].modshift).
shift != 0) {
2390 reg.type = (yyvsp[0].reg).
type;
2397 #line 2398 "asmshader.tab.c" 2401 #line 609 "asmshader.y" 2404 TRACE(
"Input reg declaration\n");
2405 if((yyvsp[-2].modshift).
shift != 0) {
2417 reg.type = (yyvsp[-1].reg).
type;
2421 reg.u.writemask = (yyvsp[0].writemask);
2424 #line 2425 "asmshader.tab.c" 2428 #line 632 "asmshader.y" 2431 TRACE(
"Input reg declaration\n");
2432 if((yyvsp[-1].modshift).
shift != 0) {
2443 reg.type = (yyvsp[0].reg).
type;
2450 #line 2451 "asmshader.tab.c" 2454 #line 654 "asmshader.y" 2457 TRACE(
"Input reg declaration\n");
2458 if((yyvsp[-2].modshift).
shift != 0) {
2469 reg.type = (yyvsp[-1].reg).
type;
2473 reg.u.writemask = (yyvsp[0].writemask);
2476 #line 2477 "asmshader.tab.c" 2480 #line 676 "asmshader.y" 2482 TRACE(
"Sampler declared\n");
2483 if((yyvsp[-1].modshift).
shift != 0) {
2490 #line 2491 "asmshader.tab.c" 2494 #line 686 "asmshader.y" 2496 TRACE(
"Sampler declared\n");
2497 if((yyvsp[-1].modshift).
shift != 0) {
2509 #line 2510 "asmshader.tab.c" 2513 #line 701 "asmshader.y" 2515 TRACE(
"Error rule: sampler decl of input reg\n");
2520 #line 2521 "asmshader.tab.c" 2524 #line 708 "asmshader.y" 2526 TRACE(
"Error rule: sampler decl of output reg\n");
2531 #line 2532 "asmshader.tab.c" 2535 #line 715 "asmshader.y" 2539 #line 2540 "asmshader.tab.c" 2543 #line 719 "asmshader.y" 2547 #line 2548 "asmshader.tab.c" 2551 #line 723 "asmshader.y" 2555 #line 2556 "asmshader.tab.c" 2559 #line 727 "asmshader.y" 2564 #line 2565 "asmshader.tab.c" 2568 #line 732 "asmshader.y" 2573 #line 2574 "asmshader.tab.c" 2577 #line 737 "asmshader.y" 2582 #line 2583 "asmshader.tab.c" 2586 #line 742 "asmshader.y" 2591 #line 2592 "asmshader.tab.c" 2595 #line 747 "asmshader.y" 2600 #line 2601 "asmshader.tab.c" 2604 #line 752 "asmshader.y" 2609 #line 2610 "asmshader.tab.c" 2613 #line 757 "asmshader.y" 2618 #line 2619 "asmshader.tab.c" 2622 #line 762 "asmshader.y" 2627 #line 2628 "asmshader.tab.c" 2631 #line 767 "asmshader.y" 2636 #line 2637 "asmshader.tab.c" 2640 #line 772 "asmshader.y" 2645 #line 2646 "asmshader.tab.c" 2649 #line 777 "asmshader.y" 2654 #line 2655 "asmshader.tab.c" 2658 #line 782 "asmshader.y" 2663 #line 2664 "asmshader.tab.c" 2667 #line 787 "asmshader.y" 2672 #line 2673 "asmshader.tab.c" 2676 #line 792 "asmshader.y" 2681 #line 2682 "asmshader.tab.c" 2685 #line 797 "asmshader.y" 2690 #line 2691 "asmshader.tab.c" 2694 #line 802 "asmshader.y" 2699 #line 2700 "asmshader.tab.c" 2703 #line 807 "asmshader.y" 2708 #line 2709 "asmshader.tab.c" 2712 #line 812 "asmshader.y" 2717 #line 2718 "asmshader.tab.c" 2721 #line 817 "asmshader.y" 2726 #line 2727 "asmshader.tab.c" 2730 #line 822 "asmshader.y" 2735 #line 2736 "asmshader.tab.c" 2739 #line 827 "asmshader.y" 2744 #line 2745 "asmshader.tab.c" 2748 #line 832 "asmshader.y" 2753 #line 2754 "asmshader.tab.c" 2757 #line 837 "asmshader.y" 2759 TRACE(
"TEXCOORD\n");
2762 #line 2763 "asmshader.tab.c" 2766 #line 842 "asmshader.y" 2772 #line 2773 "asmshader.tab.c" 2776 #line 848 "asmshader.y" 2781 #line 2782 "asmshader.tab.c" 2785 #line 853 "asmshader.y" 2790 #line 2791 "asmshader.tab.c" 2794 #line 858 "asmshader.y" 2796 TRACE(
"TEXDEPTH\n");
2799 #line 2800 "asmshader.tab.c" 2803 #line 863 "asmshader.y" 2814 #line 2815 "asmshader.tab.c" 2818 #line 874 "asmshader.y" 2823 #line 2824 "asmshader.tab.c" 2827 #line 879 "asmshader.y" 2832 #line 2833 "asmshader.tab.c" 2836 #line 884 "asmshader.y" 2841 #line 2842 "asmshader.tab.c" 2845 #line 889 "asmshader.y" 2850 #line 2851 "asmshader.tab.c" 2854 #line 894 "asmshader.y" 2856 TRACE(
"TEXREG2AR\n");
2859 #line 2860 "asmshader.tab.c" 2863 #line 899 "asmshader.y" 2865 TRACE(
"TEXREG2GB\n");
2868 #line 2869 "asmshader.tab.c" 2872 #line 904 "asmshader.y" 2874 TRACE(
"TEXREG2RGB\n");
2877 #line 2878 "asmshader.tab.c" 2881 #line 909 "asmshader.y" 2883 TRACE(
"TEXM3x2PAD\n");
2886 #line 2887 "asmshader.tab.c" 2890 #line 914 "asmshader.y" 2892 TRACE(
"INSTR_TEXM3x3PAD\n");
2895 #line 2896 "asmshader.tab.c" 2899 #line 919 "asmshader.y" 2901 TRACE(
"TEXM3x3SPEC\n");
2904 #line 2905 "asmshader.tab.c" 2908 #line 924 "asmshader.y" 2910 TRACE(
"TEXM3x3VSPEC\n");
2913 #line 2914 "asmshader.tab.c" 2917 #line 929 "asmshader.y" 2919 TRACE(
"TEXM3x3TEX\n");
2922 #line 2923 "asmshader.tab.c" 2926 #line 934 "asmshader.y" 2928 TRACE(
"TEXDP3TEX\n");
2931 #line 2932 "asmshader.tab.c" 2935 #line 939 "asmshader.y" 2937 TRACE(
"TEXM3x2DEPTH\n");
2940 #line 2941 "asmshader.tab.c" 2944 #line 944 "asmshader.y" 2946 TRACE(
"TEXM3x2TEX\n");
2949 #line 2950 "asmshader.tab.c" 2953 #line 949 "asmshader.y" 2958 #line 2959 "asmshader.tab.c" 2962 #line 954 "asmshader.y" 2967 #line 2968 "asmshader.tab.c" 2971 #line 959 "asmshader.y" 2976 #line 2977 "asmshader.tab.c" 2980 #line 964 "asmshader.y" 2985 #line 2986 "asmshader.tab.c" 2989 #line 969 "asmshader.y" 2994 #line 2995 "asmshader.tab.c" 2998 #line 974 "asmshader.y" 3003 #line 3004 "asmshader.tab.c" 3007 #line 979 "asmshader.y" 3012 #line 3013 "asmshader.tab.c" 3016 #line 986 "asmshader.y" 3024 #line 3025 "asmshader.tab.c" 3028 #line 994 "asmshader.y" 3032 (yyval.
reg).
u.writemask = (yyvsp[0].writemask);
3036 #line 3037 "asmshader.tab.c" 3040 #line 1003 "asmshader.y" 3044 #line 3045 "asmshader.tab.c" 3048 #line 1007 "asmshader.y" 3052 #line 3053 "asmshader.tab.c" 3056 #line 1011 "asmshader.y" 3060 #line 3061 "asmshader.tab.c" 3064 #line 1015 "asmshader.y" 3067 asm_ctx.line_no, (yyvsp[0].regnum));
3070 #line 3071 "asmshader.tab.c" 3074 #line 1021 "asmshader.y" 3077 asm_ctx.line_no, (yyvsp[0].regnum));
3080 #line 3081 "asmshader.tab.c" 3084 #line 1027 "asmshader.y" 3087 asm_ctx.line_no, (yyvsp[0].regnum));
3090 #line 3091 "asmshader.tab.c" 3094 #line 1033 "asmshader.y" 3098 #line 3099 "asmshader.tab.c" 3102 #line 1037 "asmshader.y" 3106 #line 3107 "asmshader.tab.c" 3110 #line 1041 "asmshader.y" 3113 asm_ctx.line_no, (yyvsp[0].regnum));
3116 #line 3117 "asmshader.tab.c" 3120 #line 1047 "asmshader.y" 3124 #line 3125 "asmshader.tab.c" 3128 #line 1051 "asmshader.y" 3132 #line 3133 "asmshader.tab.c" 3136 #line 1055 "asmshader.y" 3140 #line 3141 "asmshader.tab.c" 3144 #line 1059 "asmshader.y" 3148 #line 3149 "asmshader.tab.c" 3152 #line 1063 "asmshader.y" 3156 #line 3157 "asmshader.tab.c" 3160 #line 1067 "asmshader.y" 3164 #line 3165 "asmshader.tab.c" 3168 #line 1071 "asmshader.y" 3172 #line 3173 "asmshader.tab.c" 3176 #line 1075 "asmshader.y" 3182 #line 3183 "asmshader.tab.c" 3186 #line 1081 "asmshader.y" 3192 #line 3193 "asmshader.tab.c" 3196 #line 1087 "asmshader.y" 3201 #line 3202 "asmshader.tab.c" 3205 #line 1092 "asmshader.y" 3211 #line 3212 "asmshader.tab.c" 3215 #line 1099 "asmshader.y" 3225 (yyval.
writemask) = (yyvsp[0].wm_components).writemask;
3229 #line 3230 "asmshader.tab.c" 3233 #line 1114 "asmshader.y" 3239 #line 3240 "asmshader.tab.c" 3243 #line 1120 "asmshader.y" 3245 if((yyvsp[-1].wm_components).writemask ==
SWIZZLE_ERR || (yyvsp[-1].wm_components).
idx == 4)
3249 if((yyvsp[0].component) <= (yyvsp[-1].wm_components).
last)
3257 #line 3258 "asmshader.tab.c" 3261 #line 1135 "asmshader.y" 3266 #line 3267 "asmshader.tab.c" 3270 #line 1140 "asmshader.y" 3284 last = ((yyvsp[0].sw_components).
swizzle >> 2 * ((yyvsp[0].sw_components).idx - 1)) & 0x03;
3285 for(
i = (yyvsp[0].sw_components).idx;
i < 4;
i++){
3291 #line 3292 "asmshader.tab.c" 3295 #line 1162 "asmshader.y" 3300 #line 3301 "asmshader.tab.c" 3304 #line 1167 "asmshader.y" 3306 if((yyvsp[-1].sw_components).idx == 4) {
3312 (yyval.
sw_components).
swizzle = (yyvsp[-1].sw_components).swizzle | ((yyvsp[0].component) << 2 * (yyvsp[-1].sw_components).idx);
3316 #line 3317 "asmshader.tab.c" 3320 #line 1180 "asmshader.y" 3325 #line 3326 "asmshader.tab.c" 3329 #line 1185 "asmshader.y" 3331 (yyval.
modshift).
mod = (yyvsp[-1].modshift).mod | (yyvsp[0].modshift).
mod;
3332 if((yyvsp[-1].modshift).shift && (yyvsp[0].modshift).
shift) {
3341 #line 3342 "asmshader.tab.c" 3345 #line 1198 "asmshader.y" 3350 #line 3351 "asmshader.tab.c" 3354 #line 1203 "asmshader.y" 3359 #line 3360 "asmshader.tab.c" 3363 #line 1208 "asmshader.y" 3368 #line 3369 "asmshader.tab.c" 3372 #line 1213 "asmshader.y" 3377 #line 3378 "asmshader.tab.c" 3381 #line 1218 "asmshader.y" 3386 #line 3387 "asmshader.tab.c" 3390 #line 1223 "asmshader.y" 3395 #line 3396 "asmshader.tab.c" 3399 #line 1228 "asmshader.y" 3404 #line 3405 "asmshader.tab.c" 3408 #line 1233 "asmshader.y" 3413 #line 3414 "asmshader.tab.c" 3417 #line 1238 "asmshader.y" 3422 #line 3423 "asmshader.tab.c" 3426 #line 1244 "asmshader.y" 3431 #line 3432 "asmshader.tab.c" 3435 #line 1249 "asmshader.y" 3445 #line 3446 "asmshader.tab.c" 3449 #line 1260 "asmshader.y" 3453 (yyval.
reg).
u.swizzle = (yyvsp[0].swizzle);
3457 #line 3458 "asmshader.tab.c" 3461 #line 1268 "asmshader.y" 3467 (yyval.
reg).
u.swizzle = (yyvsp[0].swizzle);
3469 #line 3470 "asmshader.tab.c" 3473 #line 1276 "asmshader.y" 3479 (yyval.
reg).
u.swizzle = (yyvsp[0].swizzle);
3481 #line 3482 "asmshader.tab.c" 3485 #line 1284 "asmshader.y" 3490 switch((yyvsp[-1].
srcmod)) {
3506 FIXME(
"Unhandled combination of NEGATE and %u\n", (yyvsp[-1].
srcmod));
3508 (yyval.
reg).
u.swizzle = (yyvsp[0].swizzle);
3510 #line 3511 "asmshader.tab.c" 3514 #line 1309 "asmshader.y" 3516 if((yyvsp[-4].immval).val != 1.0 || (!(yyvsp[-4].immval).integer)) {
3518 "%g - reg found\n",
asm_ctx.line_no, (yyvsp[-4].immval).val);
3526 (yyval.
reg).
u.swizzle = (yyvsp[0].swizzle);
3528 #line 3529 "asmshader.tab.c" 3532 #line 1323 "asmshader.y" 3535 if((yyvsp[-5].immval).val != 1.0 || (!(yyvsp[-5].immval).integer)) {
3546 #line 3547 "asmshader.tab.c" 3550 #line 1337 "asmshader.y" 3556 (yyval.
reg).
u.swizzle = (yyvsp[0].swizzle);
3558 #line 3559 "asmshader.tab.c" 3562 #line 1346 "asmshader.y" 3565 (yyval.
rel_reg).additional_offset = 0;
3567 #line 3568 "asmshader.tab.c" 3571 #line 1351 "asmshader.y" 3574 (yyval.
rel_reg).additional_offset = (yyvsp[-1].immval).val;
3576 #line 3577 "asmshader.tab.c" 3580 #line 1356 "asmshader.y" 3584 (yyval.
rel_reg).additional_offset = 0;
3585 (yyval.
rel_reg).rel_regnum = (yyvsp[-2].
reg).regnum;
3588 #line 3589 "asmshader.tab.c" 3592 #line 1364 "asmshader.y" 3596 (yyval.
rel_reg).additional_offset = (yyvsp[-4].immval).val;
3597 (yyval.
rel_reg).rel_regnum = (yyvsp[-2].
reg).regnum;
3600 #line 3601 "asmshader.tab.c" 3604 #line 1372 "asmshader.y" 3608 (yyval.
rel_reg).additional_offset = (yyvsp[-1].immval).val;
3609 (yyval.
rel_reg).rel_regnum = (yyvsp[-4].
reg).regnum;
3612 #line 3613 "asmshader.tab.c" 3616 #line 1380 "asmshader.y" 3620 (yyval.
rel_reg).additional_offset = (yyvsp[-6].immval).val + (yyvsp[-1].immval).
val;
3621 (yyval.
rel_reg).rel_regnum = (yyvsp[-4].
reg).regnum;
3624 #line 3625 "asmshader.tab.c" 3628 #line 1389 "asmshader.y" 3630 if(!(yyvsp[0].immval).integer) {
3632 asm_ctx.line_no, (yyvsp[0].immval).val);
3635 (yyval.
immval).
val = (yyvsp[0].immval).val;
3637 #line 3638 "asmshader.tab.c" 3641 #line 1398 "asmshader.y" 3643 if(!(yyvsp[0].immval).integer) {
3645 asm_ctx.line_no, (yyvsp[0].immval).val);
3648 (yyval.
immval).
val = (yyvsp[-2].immval).val + (yyvsp[0].immval).
val;
3650 #line 3651 "asmshader.tab.c" 3654 #line 1408 "asmshader.y" 3658 #line 3659 "asmshader.tab.c" 3662 #line 1412 "asmshader.y" 3666 #line 3667 "asmshader.tab.c" 3670 #line 1416 "asmshader.y" 3674 #line 3675 "asmshader.tab.c" 3678 #line 1420 "asmshader.y" 3682 #line 3683 "asmshader.tab.c" 3686 #line 1424 "asmshader.y" 3690 #line 3691 "asmshader.tab.c" 3694 #line 1428 "asmshader.y" 3698 #line 3699 "asmshader.tab.c" 3702 #line 1433 "asmshader.y" 3706 #line 3707 "asmshader.tab.c" 3710 #line 1437 "asmshader.y" 3714 #line 3715 "asmshader.tab.c" 3718 #line 1442 "asmshader.y" 3722 #line 3723 "asmshader.tab.c" 3726 #line 1446 "asmshader.y" 3729 asm_ctx.line_no, (yyvsp[0].regnum));
3732 #line 3733 "asmshader.tab.c" 3736 #line 1452 "asmshader.y" 3740 #line 3741 "asmshader.tab.c" 3744 #line 1456 "asmshader.y" 3748 #line 3749 "asmshader.tab.c" 3752 #line 1460 "asmshader.y" 3756 #line 3757 "asmshader.tab.c" 3760 #line 1464 "asmshader.y" 3764 #line 3765 "asmshader.tab.c" 3768 #line 1468 "asmshader.y" 3772 #line 3773 "asmshader.tab.c" 3776 #line 1472 "asmshader.y" 3779 asm_ctx.line_no, (yyvsp[0].regnum));
3782 #line 3783 "asmshader.tab.c" 3786 #line 1478 "asmshader.y" 3790 #line 3791 "asmshader.tab.c" 3794 #line 1482 "asmshader.y" 3800 #line 3801 "asmshader.tab.c" 3804 #line 1488 "asmshader.y" 3810 #line 3811 "asmshader.tab.c" 3814 #line 1494 "asmshader.y" 3817 asm_ctx.line_no, (yyvsp[0].regnum));
3820 #line 3821 "asmshader.tab.c" 3824 #line 1500 "asmshader.y" 3827 asm_ctx.line_no, (yyvsp[0].regnum));
3830 #line 3831 "asmshader.tab.c" 3834 #line 1506 "asmshader.y" 3840 #line 3841 "asmshader.tab.c" 3844 #line 1512 "asmshader.y" 3848 #line 3849 "asmshader.tab.c" 3852 #line 1516 "asmshader.y" 3856 #line 3857 "asmshader.tab.c" 3860 #line 1520 "asmshader.y" 3864 #line 3865 "asmshader.tab.c" 3868 #line 1524 "asmshader.y" 3872 #line 3873 "asmshader.tab.c" 3876 #line 1528 "asmshader.y" 3880 #line 3881 "asmshader.tab.c" 3884 #line 1532 "asmshader.y" 3888 #line 3889 "asmshader.tab.c" 3892 #line 1536 "asmshader.y" 3894 #line 3895 "asmshader.tab.c" 3898 #line 1537 "asmshader.y" 3900 #line 3901 "asmshader.tab.c" 3904 #line 1538 "asmshader.y" 3906 #line 3907 "asmshader.tab.c" 3910 #line 1539 "asmshader.y" 3912 #line 3913 "asmshader.tab.c" 3916 #line 1540 "asmshader.y" 3918 #line 3919 "asmshader.tab.c" 3922 #line 1541 "asmshader.y" 3924 #line 3925 "asmshader.tab.c" 3928 #line 1544 "asmshader.y" 3934 #line 3935 "asmshader.tab.c" 3938 #line 1550 "asmshader.y" 3944 #line 3945 "asmshader.tab.c" 3948 #line 1556 "asmshader.y" 3954 #line 3955 "asmshader.tab.c" 3958 #line 1562 "asmshader.y" 3964 #line 3965 "asmshader.tab.c" 3968 #line 1568 "asmshader.y" 3974 #line 3975 "asmshader.tab.c" 3978 #line 1574 "asmshader.y" 3984 #line 3985 "asmshader.tab.c" 3988 #line 1580 "asmshader.y" 3994 #line 3995 "asmshader.tab.c" 3998 #line 1586 "asmshader.y" 4004 #line 4005 "asmshader.tab.c" 4008 #line 1592 "asmshader.y" 4014 #line 4015 "asmshader.tab.c" 4018 #line 1598 "asmshader.y" 4024 #line 4025 "asmshader.tab.c" 4028 #line 1604 "asmshader.y" 4034 #line 4035 "asmshader.tab.c" 4038 #line 1610 "asmshader.y" 4044 #line 4045 "asmshader.tab.c" 4048 #line 1616 "asmshader.y" 4054 #line 4055 "asmshader.tab.c" 4058 #line 1622 "asmshader.y" 4064 #line 4065 "asmshader.tab.c" 4068 #line 1629 "asmshader.y" 4072 #line 4073 "asmshader.tab.c" 4076 #line 1633 "asmshader.y" 4080 #line 4081 "asmshader.tab.c" 4084 #line 1638 "asmshader.y" 4088 #line 4089 "asmshader.tab.c" 4092 #line 1642 "asmshader.y" 4096 #line 4097 "asmshader.tab.c" 4100 #line 1646 "asmshader.y" 4104 #line 4105 "asmshader.tab.c" 4108 #line 1650 "asmshader.y" 4112 #line 4113 "asmshader.tab.c" 4116 #line 1655 "asmshader.y" 4122 (yyval.
reg).
u.swizzle = (yyvsp[-1].swizzle);
4124 #line 4125 "asmshader.tab.c" 4128 #line 1663 "asmshader.y" 4134 (yyval.
reg).
u.swizzle = (yyvsp[-1].swizzle);
4136 #line 4137 "asmshader.tab.c" 4140 #line 4141 "asmshader.tab.c" 4168 const int yyi =
yypgoto[yylhs] + *yyssp;
4169 yystate = (0 <= yyi && yyi <=
YYLAST &&
yycheck[yyi] == *yyssp
4189 #if ! YYERROR_VERBOSE 4192 # define YYSYNTAX_ERROR yysyntax_error (&yymsg_alloc, &yymsg, \ 4195 char const *yymsgp =
YY_(
"syntax error");
4196 int yysyntax_error_status;
4198 if (yysyntax_error_status == 0)
4200 else if (yysyntax_error_status == 1)
4202 if (yymsg != yymsgbuf)
4208 yymsg_alloc =
sizeof yymsgbuf;
4209 yysyntax_error_status = 2;
4218 if (yysyntax_error_status == 2)
4219 goto yyexhaustedlab;
4221 # undef YYSYNTAX_ERROR 4227 if (yyerrstatus == 3)
4329 #if !defined yyoverflow || YYERROR_VERBOSE 4356 while (yyssp != yyss)
4367 if (yymsg != yymsgbuf)
4372 #line 1671 "asmshader.y" 4399 ERR(
"Out of memory, no messages reported\n");
4410 if (
asm_ctx.messages.capacity)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble * u
#define yypact_value_is_default(Yystate)
#define BWRITERVS_SWIZZLE_SHIFT
enum bwriter_comparison_type comptype
static int yysyntax_error(YYSIZE_T *yymsg_alloc, char **yymsg, yytype_int16 *yyssp, int yytoken)
static const yytype_uint8 yytranslate[]
static void set_rel_reg(struct shader_reg *reg, struct rel_reg *rel)
static void * d3dcompiler_realloc(void *ptr, SIZE_T size)
static static const char __ms_va_list
#define BWRITERSP_WRITEMASK_ALL
static const yytype_int16 yypgoto[]
struct asm_parser asm_ctx
static YYSIZE_T yystrlen(const char *yystr)
struct YYSTYPE::@223 modshift
static const yytype_int16 yypact[]
GLuint GLuint GLsizei count
void compilation_message(struct compilation_messages *msg, const char *fmt, __ms_va_list args) DECLSPEC_HIDDEN
#define YY_IGNORE_MAYBE_UNINITIALIZED_END
static const yytype_uint8 yyr2[]
static BOOL d3dcompiler_free(void *ptr)
void create_vs2x_parser(struct asm_parser *ret)
static const char *const yytname[]
void WINAPIV asmparser_message(struct asm_parser *ctx, const char *fmt,...)
static const yytype_int16 yycheck[]
void create_ps12_parser(struct asm_parser *ret)
int asmshader_parse(void)
static void append(struct dump_context *dc, const void *data, unsigned size)
void create_vs10_parser(struct asm_parser *ret)
static void * d3dcompiler_alloc(SIZE_T size)
void create_ps10_parser(struct asm_parser *ret)
static YYSIZE_T yytnamerr(char *yyres, const char *yystr)
struct YYSTYPE::@224 declaration
const char * debug_print_srcmod(DWORD mod) DECLSPEC_HIDDEN
#define YY_STACK_PRINT(Bottom, Top)
static const yytype_uint8 yystos[]
static const yytype_int16 yydefgoto[]
struct YYSTYPE::@220 immval
static void asmshader_error(char const *s)
void create_ps30_parser(struct asm_parser *ret)
void create_vs20_parser(struct asm_parser *ret)
static const yytype_uint8 yyr1[]
unsigned short yytype_uint16
void create_ps14_parser(struct asm_parser *ret)
void create_ps13_parser(struct asm_parser *ret)
static void yydestruct(const char *yymsg, int yytype, YYSTYPE *yyvaluep)
void create_vs11_parser(struct asm_parser *ret)
void create_ps20_parser(struct asm_parser *ret)
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
void create_vs30_parser(struct asm_parser *ret)
bwritersampler_texture_type
struct bwriter_shader * parse_asm_shader(char **messages)
static void set_parse_status(enum parse_status *current, enum parse_status update)
enum bwritersampler_texture_type samplertype
void SlDeleteShader(struct bwriter_shader *shader)
void create_ps2x_parser(struct asm_parser *ret)
static char * yystpcpy(char *yydest, const char *yysrc)
static const yytype_uint8 yydefact[]
#define BWRITERVS_NOSWIZZLE
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
WINE_DEFAULT_DEBUG_CHANNEL(asmshader)
void create_ps11_parser(struct asm_parser *ret)
struct YYSTYPE::@222 sw_components
#define YY_REDUCE_PRINT(Rule)
#define __ms_va_end(list)