OLD | NEW |
(Empty) | |
| 1 Terminals unused in grammar |
| 2 |
| 3 DOT |
| 4 |
| 5 |
| 6 Grammar |
| 7 |
| 8 0 $accept: program $end |
| 9 |
| 10 1 program: language optionSequence statementSequence END |
| 11 |
| 12 2 language: ARBvp_10 |
| 13 3 | ARBfp_10 |
| 14 |
| 15 4 optionSequence: optionSequence option |
| 16 5 | /* empty */ |
| 17 |
| 18 6 option: OPTION string ';' |
| 19 |
| 20 7 statementSequence: statementSequence statement |
| 21 8 | /* empty */ |
| 22 |
| 23 9 statement: instruction ';' |
| 24 10 | namingStatement ';' |
| 25 |
| 26 11 instruction: ALU_instruction |
| 27 12 | TexInstruction |
| 28 |
| 29 13 ALU_instruction: ARL_instruction |
| 30 14 | VECTORop_instruction |
| 31 15 | SCALARop_instruction |
| 32 16 | BINSCop_instruction |
| 33 17 | BINop_instruction |
| 34 18 | TRIop_instruction |
| 35 19 | SWZ_instruction |
| 36 |
| 37 20 TexInstruction: SAMPLE_instruction |
| 38 21 | KIL_instruction |
| 39 22 | TXD_instruction |
| 40 |
| 41 23 ARL_instruction: ARL maskedAddrReg ',' scalarSrcReg |
| 42 |
| 43 24 VECTORop_instruction: VECTOR_OP maskedDstReg ',' swizzleSrcReg |
| 44 |
| 45 25 SCALARop_instruction: SCALAR_OP maskedDstReg ',' scalarSrcReg |
| 46 |
| 47 26 BINSCop_instruction: BINSC_OP maskedDstReg ',' scalarSrcReg ',' scalarSrcR
eg |
| 48 |
| 49 27 BINop_instruction: BIN_OP maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg |
| 50 |
| 51 28 TRIop_instruction: TRI_OP maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg
',' swizzleSrcReg |
| 52 |
| 53 29 SAMPLE_instruction: SAMPLE_OP maskedDstReg ',' swizzleSrcReg ',' texImageU
nit ',' texTarget |
| 54 |
| 55 30 KIL_instruction: KIL swizzleSrcReg |
| 56 31 | KIL ccTest |
| 57 |
| 58 32 TXD_instruction: TXD_OP maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg '
,' swizzleSrcReg ',' texImageUnit ',' texTarget |
| 59 |
| 60 33 texImageUnit: TEXTURE_UNIT optTexImageUnitNum |
| 61 |
| 62 34 texTarget: TEX_1D |
| 63 35 | TEX_2D |
| 64 36 | TEX_3D |
| 65 37 | TEX_CUBE |
| 66 38 | TEX_RECT |
| 67 39 | TEX_SHADOW1D |
| 68 40 | TEX_SHADOW2D |
| 69 41 | TEX_SHADOWRECT |
| 70 42 | TEX_ARRAY1D |
| 71 43 | TEX_ARRAY2D |
| 72 44 | TEX_ARRAYSHADOW1D |
| 73 45 | TEX_ARRAYSHADOW2D |
| 74 |
| 75 46 SWZ_instruction: SWZ maskedDstReg ',' srcReg ',' extendedSwizzle |
| 76 |
| 77 47 scalarSrcReg: optionalSign scalarUse |
| 78 48 | optionalSign '|' scalarUse '|' |
| 79 |
| 80 49 scalarUse: srcReg scalarSuffix |
| 81 50 | paramConstScalarUse |
| 82 |
| 83 51 swizzleSrcReg: optionalSign srcReg swizzleSuffix |
| 84 52 | optionalSign '|' srcReg swizzleSuffix '|' |
| 85 |
| 86 53 maskedDstReg: dstReg optionalMask optionalCcMask |
| 87 |
| 88 54 maskedAddrReg: addrReg addrWriteMask |
| 89 |
| 90 55 extendedSwizzle: extSwizComp ',' extSwizComp ',' extSwizComp ',' extSwizCo
mp |
| 91 |
| 92 56 extSwizComp: optionalSign extSwizSel |
| 93 |
| 94 57 extSwizSel: INTEGER |
| 95 58 | string |
| 96 |
| 97 59 srcReg: USED_IDENTIFIER |
| 98 60 | attribBinding |
| 99 61 | progParamArray '[' progParamArrayMem ']' |
| 100 62 | paramSingleItemUse |
| 101 |
| 102 63 dstReg: resultBinding |
| 103 64 | USED_IDENTIFIER |
| 104 |
| 105 65 progParamArray: USED_IDENTIFIER |
| 106 |
| 107 66 progParamArrayMem: progParamArrayAbs |
| 108 67 | progParamArrayRel |
| 109 |
| 110 68 progParamArrayAbs: INTEGER |
| 111 |
| 112 69 progParamArrayRel: addrReg addrComponent addrRegRelOffset |
| 113 |
| 114 70 addrRegRelOffset: /* empty */ |
| 115 71 | '+' addrRegPosOffset |
| 116 72 | '-' addrRegNegOffset |
| 117 |
| 118 73 addrRegPosOffset: INTEGER |
| 119 |
| 120 74 addrRegNegOffset: INTEGER |
| 121 |
| 122 75 addrReg: USED_IDENTIFIER |
| 123 |
| 124 76 addrComponent: MASK1 |
| 125 |
| 126 77 addrWriteMask: MASK1 |
| 127 |
| 128 78 scalarSuffix: MASK1 |
| 129 |
| 130 79 swizzleSuffix: MASK1 |
| 131 80 | MASK4 |
| 132 81 | SWIZZLE |
| 133 82 | /* empty */ |
| 134 |
| 135 83 optionalMask: MASK4 |
| 136 84 | MASK3 |
| 137 85 | MASK2 |
| 138 86 | MASK1 |
| 139 87 | /* empty */ |
| 140 |
| 141 88 optionalCcMask: '(' ccTest ')' |
| 142 89 | '(' ccTest2 ')' |
| 143 90 | /* empty */ |
| 144 |
| 145 91 ccTest: ccMaskRule swizzleSuffix |
| 146 |
| 147 92 ccTest2: ccMaskRule2 swizzleSuffix |
| 148 |
| 149 93 ccMaskRule: IDENTIFIER |
| 150 |
| 151 94 ccMaskRule2: USED_IDENTIFIER |
| 152 |
| 153 95 namingStatement: ATTRIB_statement |
| 154 96 | PARAM_statement |
| 155 97 | TEMP_statement |
| 156 98 | ADDRESS_statement |
| 157 99 | OUTPUT_statement |
| 158 100 | ALIAS_statement |
| 159 |
| 160 101 ATTRIB_statement: ATTRIB IDENTIFIER '=' attribBinding |
| 161 |
| 162 102 attribBinding: VERTEX vtxAttribItem |
| 163 103 | FRAGMENT fragAttribItem |
| 164 |
| 165 104 vtxAttribItem: POSITION |
| 166 105 | WEIGHT vtxOptWeightNum |
| 167 106 | NORMAL |
| 168 107 | COLOR optColorType |
| 169 108 | FOGCOORD |
| 170 109 | TEXCOORD optTexCoordUnitNum |
| 171 110 | MATRIXINDEX '[' vtxWeightNum ']' |
| 172 111 | VTXATTRIB '[' vtxAttribNum ']' |
| 173 |
| 174 112 vtxAttribNum: INTEGER |
| 175 |
| 176 113 vtxOptWeightNum: /* empty */ |
| 177 114 | '[' vtxWeightNum ']' |
| 178 |
| 179 115 vtxWeightNum: INTEGER |
| 180 |
| 181 116 fragAttribItem: POSITION |
| 182 117 | COLOR optColorType |
| 183 118 | FOGCOORD |
| 184 119 | TEXCOORD optTexCoordUnitNum |
| 185 |
| 186 120 PARAM_statement: PARAM_singleStmt |
| 187 121 | PARAM_multipleStmt |
| 188 |
| 189 122 PARAM_singleStmt: PARAM IDENTIFIER paramSingleInit |
| 190 |
| 191 123 PARAM_multipleStmt: PARAM IDENTIFIER '[' optArraySize ']' paramMultipleIni
t |
| 192 |
| 193 124 optArraySize: /* empty */ |
| 194 125 | INTEGER |
| 195 |
| 196 126 paramSingleInit: '=' paramSingleItemDecl |
| 197 |
| 198 127 paramMultipleInit: '=' '{' paramMultInitList '}' |
| 199 |
| 200 128 paramMultInitList: paramMultipleItem |
| 201 129 | paramMultInitList ',' paramMultipleItem |
| 202 |
| 203 130 paramSingleItemDecl: stateSingleItem |
| 204 131 | programSingleItem |
| 205 132 | paramConstDecl |
| 206 |
| 207 133 paramSingleItemUse: stateSingleItem |
| 208 134 | programSingleItem |
| 209 135 | paramConstUse |
| 210 |
| 211 136 paramMultipleItem: stateMultipleItem |
| 212 137 | programMultipleItem |
| 213 138 | paramConstDecl |
| 214 |
| 215 139 stateMultipleItem: stateSingleItem |
| 216 140 | STATE stateMatrixRows |
| 217 |
| 218 141 stateSingleItem: STATE stateMaterialItem |
| 219 142 | STATE stateLightItem |
| 220 143 | STATE stateLightModelItem |
| 221 144 | STATE stateLightProdItem |
| 222 145 | STATE stateTexGenItem |
| 223 146 | STATE stateTexEnvItem |
| 224 147 | STATE stateFogItem |
| 225 148 | STATE stateClipPlaneItem |
| 226 149 | STATE statePointItem |
| 227 150 | STATE stateMatrixRow |
| 228 151 | STATE stateDepthItem |
| 229 |
| 230 152 stateMaterialItem: MATERIAL optFaceType stateMatProperty |
| 231 |
| 232 153 stateMatProperty: ambDiffSpecProperty |
| 233 154 | EMISSION |
| 234 155 | SHININESS |
| 235 |
| 236 156 stateLightItem: LIGHT '[' stateLightNumber ']' stateLightProperty |
| 237 |
| 238 157 stateLightProperty: ambDiffSpecProperty |
| 239 158 | POSITION |
| 240 159 | ATTENUATION |
| 241 160 | SPOT stateSpotProperty |
| 242 161 | HALF |
| 243 |
| 244 162 stateSpotProperty: DIRECTION |
| 245 |
| 246 163 stateLightModelItem: LIGHTMODEL stateLModProperty |
| 247 |
| 248 164 stateLModProperty: AMBIENT |
| 249 165 | optFaceType SCENECOLOR |
| 250 |
| 251 166 stateLightProdItem: LIGHTPROD '[' stateLightNumber ']' optFaceType stateLP
rodProperty |
| 252 |
| 253 167 stateLProdProperty: ambDiffSpecProperty |
| 254 |
| 255 168 stateTexEnvItem: TEXENV optLegacyTexUnitNum stateTexEnvProperty |
| 256 |
| 257 169 stateTexEnvProperty: COLOR |
| 258 |
| 259 170 ambDiffSpecProperty: AMBIENT |
| 260 171 | DIFFUSE |
| 261 172 | SPECULAR |
| 262 |
| 263 173 stateLightNumber: INTEGER |
| 264 |
| 265 174 stateTexGenItem: TEXGEN optTexCoordUnitNum stateTexGenType stateTexGenCoor
d |
| 266 |
| 267 175 stateTexGenType: EYE |
| 268 176 | OBJECT |
| 269 |
| 270 177 stateTexGenCoord: TEXGEN_S |
| 271 178 | TEXGEN_T |
| 272 179 | TEXGEN_R |
| 273 180 | TEXGEN_Q |
| 274 |
| 275 181 stateFogItem: FOG stateFogProperty |
| 276 |
| 277 182 stateFogProperty: COLOR |
| 278 183 | PARAMS |
| 279 |
| 280 184 stateClipPlaneItem: CLIP '[' stateClipPlaneNum ']' PLANE |
| 281 |
| 282 185 stateClipPlaneNum: INTEGER |
| 283 |
| 284 186 statePointItem: POINT_TOK statePointProperty |
| 285 |
| 286 187 statePointProperty: SIZE_TOK |
| 287 188 | ATTENUATION |
| 288 |
| 289 189 stateMatrixRow: stateMatrixItem ROW '[' stateMatrixRowNum ']' |
| 290 |
| 291 190 stateMatrixRows: stateMatrixItem optMatrixRows |
| 292 |
| 293 191 optMatrixRows: /* empty */ |
| 294 192 | ROW '[' stateMatrixRowNum DOT_DOT stateMatrixRowNum ']' |
| 295 |
| 296 193 stateMatrixItem: MATRIX stateMatrixName stateOptMatModifier |
| 297 |
| 298 194 stateOptMatModifier: /* empty */ |
| 299 195 | stateMatModifier |
| 300 |
| 301 196 stateMatModifier: INVERSE |
| 302 197 | TRANSPOSE |
| 303 198 | INVTRANS |
| 304 |
| 305 199 stateMatrixRowNum: INTEGER |
| 306 |
| 307 200 stateMatrixName: MODELVIEW stateOptModMatNum |
| 308 201 | PROJECTION |
| 309 202 | MVP |
| 310 203 | TEXTURE optTexCoordUnitNum |
| 311 204 | PALETTE '[' statePaletteMatNum ']' |
| 312 205 | MAT_PROGRAM '[' stateProgramMatNum ']' |
| 313 |
| 314 206 stateOptModMatNum: /* empty */ |
| 315 207 | '[' stateModMatNum ']' |
| 316 |
| 317 208 stateModMatNum: INTEGER |
| 318 |
| 319 209 statePaletteMatNum: INTEGER |
| 320 |
| 321 210 stateProgramMatNum: INTEGER |
| 322 |
| 323 211 stateDepthItem: DEPTH RANGE |
| 324 |
| 325 212 programSingleItem: progEnvParam |
| 326 213 | progLocalParam |
| 327 |
| 328 214 programMultipleItem: progEnvParams |
| 329 215 | progLocalParams |
| 330 |
| 331 216 progEnvParams: PROGRAM ENV '[' progEnvParamNums ']' |
| 332 |
| 333 217 progEnvParamNums: progEnvParamNum |
| 334 218 | progEnvParamNum DOT_DOT progEnvParamNum |
| 335 |
| 336 219 progEnvParam: PROGRAM ENV '[' progEnvParamNum ']' |
| 337 |
| 338 220 progLocalParams: PROGRAM LOCAL '[' progLocalParamNums ']' |
| 339 |
| 340 221 progLocalParamNums: progLocalParamNum |
| 341 222 | progLocalParamNum DOT_DOT progLocalParamNum |
| 342 |
| 343 223 progLocalParam: PROGRAM LOCAL '[' progLocalParamNum ']' |
| 344 |
| 345 224 progEnvParamNum: INTEGER |
| 346 |
| 347 225 progLocalParamNum: INTEGER |
| 348 |
| 349 226 paramConstDecl: paramConstScalarDecl |
| 350 227 | paramConstVector |
| 351 |
| 352 228 paramConstUse: paramConstScalarUse |
| 353 229 | paramConstVector |
| 354 |
| 355 230 paramConstScalarDecl: signedFloatConstant |
| 356 |
| 357 231 paramConstScalarUse: REAL |
| 358 232 | INTEGER |
| 359 |
| 360 233 paramConstVector: '{' signedFloatConstant '}' |
| 361 234 | '{' signedFloatConstant ',' signedFloatConstant '}' |
| 362 235 | '{' signedFloatConstant ',' signedFloatConstant ',' sign
edFloatConstant '}' |
| 363 236 | '{' signedFloatConstant ',' signedFloatConstant ',' sign
edFloatConstant ',' signedFloatConstant '}' |
| 364 |
| 365 237 signedFloatConstant: optionalSign REAL |
| 366 238 | optionalSign INTEGER |
| 367 |
| 368 239 optionalSign: '+' |
| 369 240 | '-' |
| 370 241 | /* empty */ |
| 371 |
| 372 242 @1: /* empty */ |
| 373 |
| 374 243 TEMP_statement: optVarSize TEMP @1 varNameList |
| 375 |
| 376 244 optVarSize: string |
| 377 245 | /* empty */ |
| 378 |
| 379 246 @2: /* empty */ |
| 380 |
| 381 247 ADDRESS_statement: ADDRESS @2 varNameList |
| 382 |
| 383 248 varNameList: varNameList ',' IDENTIFIER |
| 384 249 | IDENTIFIER |
| 385 |
| 386 250 OUTPUT_statement: optVarSize OUTPUT IDENTIFIER '=' resultBinding |
| 387 |
| 388 251 resultBinding: RESULT POSITION |
| 389 252 | RESULT FOGCOORD |
| 390 253 | RESULT resultColBinding |
| 391 254 | RESULT POINTSIZE |
| 392 255 | RESULT TEXCOORD optTexCoordUnitNum |
| 393 256 | RESULT DEPTH |
| 394 |
| 395 257 resultColBinding: COLOR optResultFaceType optResultColorType |
| 396 |
| 397 258 optResultFaceType: /* empty */ |
| 398 259 | '[' INTEGER ']' |
| 399 260 | FRONT |
| 400 261 | BACK |
| 401 |
| 402 262 optResultColorType: /* empty */ |
| 403 263 | PRIMARY |
| 404 264 | SECONDARY |
| 405 |
| 406 265 optFaceType: /* empty */ |
| 407 266 | FRONT |
| 408 267 | BACK |
| 409 |
| 410 268 optColorType: /* empty */ |
| 411 269 | PRIMARY |
| 412 270 | SECONDARY |
| 413 |
| 414 271 optTexCoordUnitNum: /* empty */ |
| 415 272 | '[' texCoordUnitNum ']' |
| 416 |
| 417 273 optTexImageUnitNum: /* empty */ |
| 418 274 | '[' texImageUnitNum ']' |
| 419 |
| 420 275 optLegacyTexUnitNum: /* empty */ |
| 421 276 | '[' legacyTexUnitNum ']' |
| 422 |
| 423 277 texCoordUnitNum: INTEGER |
| 424 |
| 425 278 texImageUnitNum: INTEGER |
| 426 |
| 427 279 legacyTexUnitNum: INTEGER |
| 428 |
| 429 280 ALIAS_statement: ALIAS IDENTIFIER '=' USED_IDENTIFIER |
| 430 |
| 431 281 string: IDENTIFIER |
| 432 282 | USED_IDENTIFIER |
| 433 |
| 434 |
| 435 Terminals, with rules where they appear |
| 436 |
| 437 $end (0) 0 |
| 438 '(' (40) 88 89 |
| 439 ')' (41) 88 89 |
| 440 '+' (43) 71 239 |
| 441 ',' (44) 23 24 25 26 27 28 29 32 46 55 129 234 235 236 248 |
| 442 '-' (45) 72 240 |
| 443 ';' (59) 6 9 10 |
| 444 '=' (61) 101 126 127 250 280 |
| 445 '[' (91) 61 110 111 114 123 156 166 184 189 192 204 205 207 216 219 |
| 446 220 223 259 272 274 276 |
| 447 ']' (93) 61 110 111 114 123 156 166 184 189 192 204 205 207 216 219 |
| 448 220 223 259 272 274 276 |
| 449 '{' (123) 127 233 234 235 236 |
| 450 '|' (124) 48 52 |
| 451 '}' (125) 127 233 234 235 236 |
| 452 error (256) |
| 453 ARBvp_10 (258) 2 |
| 454 ARBfp_10 (259) 3 |
| 455 ADDRESS (260) 247 |
| 456 ALIAS (261) 280 |
| 457 ATTRIB (262) 101 |
| 458 OPTION (263) 6 |
| 459 OUTPUT (264) 250 |
| 460 PARAM (265) 122 123 |
| 461 TEMP (266) 243 |
| 462 END (267) 1 |
| 463 BIN_OP (268) 27 |
| 464 BINSC_OP (269) 26 |
| 465 SAMPLE_OP (270) 29 |
| 466 SCALAR_OP (271) 25 |
| 467 TRI_OP (272) 28 |
| 468 VECTOR_OP (273) 24 |
| 469 ARL (274) 23 |
| 470 KIL (275) 30 31 |
| 471 SWZ (276) 46 |
| 472 TXD_OP (277) 32 |
| 473 INTEGER (278) 57 68 73 74 112 115 125 173 185 199 208 209 210 224 225 |
| 474 232 238 259 277 278 279 |
| 475 REAL (279) 231 237 |
| 476 AMBIENT (280) 164 170 |
| 477 ATTENUATION (281) 159 188 |
| 478 BACK (282) 261 267 |
| 479 CLIP (283) 184 |
| 480 COLOR (284) 107 117 169 182 257 |
| 481 DEPTH (285) 211 256 |
| 482 DIFFUSE (286) 171 |
| 483 DIRECTION (287) 162 |
| 484 EMISSION (288) 154 |
| 485 ENV (289) 216 219 |
| 486 EYE (290) 175 |
| 487 FOG (291) 181 |
| 488 FOGCOORD (292) 108 118 252 |
| 489 FRAGMENT (293) 103 |
| 490 FRONT (294) 260 266 |
| 491 HALF (295) 161 |
| 492 INVERSE (296) 196 |
| 493 INVTRANS (297) 198 |
| 494 LIGHT (298) 156 |
| 495 LIGHTMODEL (299) 163 |
| 496 LIGHTPROD (300) 166 |
| 497 LOCAL (301) 220 223 |
| 498 MATERIAL (302) 152 |
| 499 MAT_PROGRAM (303) 205 |
| 500 MATRIX (304) 193 |
| 501 MATRIXINDEX (305) 110 |
| 502 MODELVIEW (306) 200 |
| 503 MVP (307) 202 |
| 504 NORMAL (308) 106 |
| 505 OBJECT (309) 176 |
| 506 PALETTE (310) 204 |
| 507 PARAMS (311) 183 |
| 508 PLANE (312) 184 |
| 509 POINT_TOK (313) 186 |
| 510 POINTSIZE (314) 254 |
| 511 POSITION (315) 104 116 158 251 |
| 512 PRIMARY (316) 263 269 |
| 513 PROGRAM (317) 216 219 220 223 |
| 514 PROJECTION (318) 201 |
| 515 RANGE (319) 211 |
| 516 RESULT (320) 251 252 253 254 255 256 |
| 517 ROW (321) 189 192 |
| 518 SCENECOLOR (322) 165 |
| 519 SECONDARY (323) 264 270 |
| 520 SHININESS (324) 155 |
| 521 SIZE_TOK (325) 187 |
| 522 SPECULAR (326) 172 |
| 523 SPOT (327) 160 |
| 524 STATE (328) 140 141 142 143 144 145 146 147 148 149 150 151 |
| 525 TEXCOORD (329) 109 119 255 |
| 526 TEXENV (330) 168 |
| 527 TEXGEN (331) 174 |
| 528 TEXGEN_Q (332) 180 |
| 529 TEXGEN_R (333) 179 |
| 530 TEXGEN_S (334) 177 |
| 531 TEXGEN_T (335) 178 |
| 532 TEXTURE (336) 203 |
| 533 TRANSPOSE (337) 197 |
| 534 TEXTURE_UNIT (338) 33 |
| 535 TEX_1D (339) 34 |
| 536 TEX_2D (340) 35 |
| 537 TEX_3D (341) 36 |
| 538 TEX_CUBE (342) 37 |
| 539 TEX_RECT (343) 38 |
| 540 TEX_SHADOW1D (344) 39 |
| 541 TEX_SHADOW2D (345) 40 |
| 542 TEX_SHADOWRECT (346) 41 |
| 543 TEX_ARRAY1D (347) 42 |
| 544 TEX_ARRAY2D (348) 43 |
| 545 TEX_ARRAYSHADOW1D (349) 44 |
| 546 TEX_ARRAYSHADOW2D (350) 45 |
| 547 VERTEX (351) 102 |
| 548 VTXATTRIB (352) 111 |
| 549 WEIGHT (353) 105 |
| 550 IDENTIFIER (354) 93 101 122 123 248 249 250 280 281 |
| 551 USED_IDENTIFIER (355) 59 64 65 75 94 280 282 |
| 552 MASK4 (356) 80 83 |
| 553 MASK3 (357) 84 |
| 554 MASK2 (358) 85 |
| 555 MASK1 (359) 76 77 78 79 86 |
| 556 SWIZZLE (360) 81 |
| 557 DOT_DOT (361) 192 218 222 |
| 558 DOT (362) |
| 559 |
| 560 |
| 561 Nonterminals, with rules where they appear |
| 562 |
| 563 $accept (120) |
| 564 on left: 0 |
| 565 program (121) |
| 566 on left: 1, on right: 0 |
| 567 language (122) |
| 568 on left: 2 3, on right: 1 |
| 569 optionSequence (123) |
| 570 on left: 4 5, on right: 1 4 |
| 571 option (124) |
| 572 on left: 6, on right: 4 |
| 573 statementSequence (125) |
| 574 on left: 7 8, on right: 1 7 |
| 575 statement (126) |
| 576 on left: 9 10, on right: 7 |
| 577 instruction (127) |
| 578 on left: 11 12, on right: 9 |
| 579 ALU_instruction (128) |
| 580 on left: 13 14 15 16 17 18 19, on right: 11 |
| 581 TexInstruction (129) |
| 582 on left: 20 21 22, on right: 12 |
| 583 ARL_instruction (130) |
| 584 on left: 23, on right: 13 |
| 585 VECTORop_instruction (131) |
| 586 on left: 24, on right: 14 |
| 587 SCALARop_instruction (132) |
| 588 on left: 25, on right: 15 |
| 589 BINSCop_instruction (133) |
| 590 on left: 26, on right: 16 |
| 591 BINop_instruction (134) |
| 592 on left: 27, on right: 17 |
| 593 TRIop_instruction (135) |
| 594 on left: 28, on right: 18 |
| 595 SAMPLE_instruction (136) |
| 596 on left: 29, on right: 20 |
| 597 KIL_instruction (137) |
| 598 on left: 30 31, on right: 21 |
| 599 TXD_instruction (138) |
| 600 on left: 32, on right: 22 |
| 601 texImageUnit (139) |
| 602 on left: 33, on right: 29 32 |
| 603 texTarget (140) |
| 604 on left: 34 35 36 37 38 39 40 41 42 43 44 45, on right: 29 32 |
| 605 SWZ_instruction (141) |
| 606 on left: 46, on right: 19 |
| 607 scalarSrcReg (142) |
| 608 on left: 47 48, on right: 23 25 26 |
| 609 scalarUse (143) |
| 610 on left: 49 50, on right: 47 48 |
| 611 swizzleSrcReg (144) |
| 612 on left: 51 52, on right: 24 27 28 29 30 32 |
| 613 maskedDstReg (145) |
| 614 on left: 53, on right: 24 25 26 27 28 29 32 46 |
| 615 maskedAddrReg (146) |
| 616 on left: 54, on right: 23 |
| 617 extendedSwizzle (147) |
| 618 on left: 55, on right: 46 |
| 619 extSwizComp (148) |
| 620 on left: 56, on right: 55 |
| 621 extSwizSel (149) |
| 622 on left: 57 58, on right: 56 |
| 623 srcReg (150) |
| 624 on left: 59 60 61 62, on right: 46 49 51 52 |
| 625 dstReg (151) |
| 626 on left: 63 64, on right: 53 |
| 627 progParamArray (152) |
| 628 on left: 65, on right: 61 |
| 629 progParamArrayMem (153) |
| 630 on left: 66 67, on right: 61 |
| 631 progParamArrayAbs (154) |
| 632 on left: 68, on right: 66 |
| 633 progParamArrayRel (155) |
| 634 on left: 69, on right: 67 |
| 635 addrRegRelOffset (156) |
| 636 on left: 70 71 72, on right: 69 |
| 637 addrRegPosOffset (157) |
| 638 on left: 73, on right: 71 |
| 639 addrRegNegOffset (158) |
| 640 on left: 74, on right: 72 |
| 641 addrReg (159) |
| 642 on left: 75, on right: 54 69 |
| 643 addrComponent (160) |
| 644 on left: 76, on right: 69 |
| 645 addrWriteMask (161) |
| 646 on left: 77, on right: 54 |
| 647 scalarSuffix (162) |
| 648 on left: 78, on right: 49 |
| 649 swizzleSuffix (163) |
| 650 on left: 79 80 81 82, on right: 51 52 91 92 |
| 651 optionalMask (164) |
| 652 on left: 83 84 85 86 87, on right: 53 |
| 653 optionalCcMask (165) |
| 654 on left: 88 89 90, on right: 53 |
| 655 ccTest (166) |
| 656 on left: 91, on right: 31 88 |
| 657 ccTest2 (167) |
| 658 on left: 92, on right: 89 |
| 659 ccMaskRule (168) |
| 660 on left: 93, on right: 91 |
| 661 ccMaskRule2 (169) |
| 662 on left: 94, on right: 92 |
| 663 namingStatement (170) |
| 664 on left: 95 96 97 98 99 100, on right: 10 |
| 665 ATTRIB_statement (171) |
| 666 on left: 101, on right: 95 |
| 667 attribBinding (172) |
| 668 on left: 102 103, on right: 60 101 |
| 669 vtxAttribItem (173) |
| 670 on left: 104 105 106 107 108 109 110 111, on right: 102 |
| 671 vtxAttribNum (174) |
| 672 on left: 112, on right: 111 |
| 673 vtxOptWeightNum (175) |
| 674 on left: 113 114, on right: 105 |
| 675 vtxWeightNum (176) |
| 676 on left: 115, on right: 110 114 |
| 677 fragAttribItem (177) |
| 678 on left: 116 117 118 119, on right: 103 |
| 679 PARAM_statement (178) |
| 680 on left: 120 121, on right: 96 |
| 681 PARAM_singleStmt (179) |
| 682 on left: 122, on right: 120 |
| 683 PARAM_multipleStmt (180) |
| 684 on left: 123, on right: 121 |
| 685 optArraySize (181) |
| 686 on left: 124 125, on right: 123 |
| 687 paramSingleInit (182) |
| 688 on left: 126, on right: 122 |
| 689 paramMultipleInit (183) |
| 690 on left: 127, on right: 123 |
| 691 paramMultInitList (184) |
| 692 on left: 128 129, on right: 127 129 |
| 693 paramSingleItemDecl (185) |
| 694 on left: 130 131 132, on right: 126 |
| 695 paramSingleItemUse (186) |
| 696 on left: 133 134 135, on right: 62 |
| 697 paramMultipleItem (187) |
| 698 on left: 136 137 138, on right: 128 129 |
| 699 stateMultipleItem (188) |
| 700 on left: 139 140, on right: 136 |
| 701 stateSingleItem (189) |
| 702 on left: 141 142 143 144 145 146 147 148 149 150 151, on right: |
| 703 130 133 139 |
| 704 stateMaterialItem (190) |
| 705 on left: 152, on right: 141 |
| 706 stateMatProperty (191) |
| 707 on left: 153 154 155, on right: 152 |
| 708 stateLightItem (192) |
| 709 on left: 156, on right: 142 |
| 710 stateLightProperty (193) |
| 711 on left: 157 158 159 160 161, on right: 156 |
| 712 stateSpotProperty (194) |
| 713 on left: 162, on right: 160 |
| 714 stateLightModelItem (195) |
| 715 on left: 163, on right: 143 |
| 716 stateLModProperty (196) |
| 717 on left: 164 165, on right: 163 |
| 718 stateLightProdItem (197) |
| 719 on left: 166, on right: 144 |
| 720 stateLProdProperty (198) |
| 721 on left: 167, on right: 166 |
| 722 stateTexEnvItem (199) |
| 723 on left: 168, on right: 146 |
| 724 stateTexEnvProperty (200) |
| 725 on left: 169, on right: 168 |
| 726 ambDiffSpecProperty (201) |
| 727 on left: 170 171 172, on right: 153 157 167 |
| 728 stateLightNumber (202) |
| 729 on left: 173, on right: 156 166 |
| 730 stateTexGenItem (203) |
| 731 on left: 174, on right: 145 |
| 732 stateTexGenType (204) |
| 733 on left: 175 176, on right: 174 |
| 734 stateTexGenCoord (205) |
| 735 on left: 177 178 179 180, on right: 174 |
| 736 stateFogItem (206) |
| 737 on left: 181, on right: 147 |
| 738 stateFogProperty (207) |
| 739 on left: 182 183, on right: 181 |
| 740 stateClipPlaneItem (208) |
| 741 on left: 184, on right: 148 |
| 742 stateClipPlaneNum (209) |
| 743 on left: 185, on right: 184 |
| 744 statePointItem (210) |
| 745 on left: 186, on right: 149 |
| 746 statePointProperty (211) |
| 747 on left: 187 188, on right: 186 |
| 748 stateMatrixRow (212) |
| 749 on left: 189, on right: 150 |
| 750 stateMatrixRows (213) |
| 751 on left: 190, on right: 140 |
| 752 optMatrixRows (214) |
| 753 on left: 191 192, on right: 190 |
| 754 stateMatrixItem (215) |
| 755 on left: 193, on right: 189 190 |
| 756 stateOptMatModifier (216) |
| 757 on left: 194 195, on right: 193 |
| 758 stateMatModifier (217) |
| 759 on left: 196 197 198, on right: 195 |
| 760 stateMatrixRowNum (218) |
| 761 on left: 199, on right: 189 192 |
| 762 stateMatrixName (219) |
| 763 on left: 200 201 202 203 204 205, on right: 193 |
| 764 stateOptModMatNum (220) |
| 765 on left: 206 207, on right: 200 |
| 766 stateModMatNum (221) |
| 767 on left: 208, on right: 207 |
| 768 statePaletteMatNum (222) |
| 769 on left: 209, on right: 204 |
| 770 stateProgramMatNum (223) |
| 771 on left: 210, on right: 205 |
| 772 stateDepthItem (224) |
| 773 on left: 211, on right: 151 |
| 774 programSingleItem (225) |
| 775 on left: 212 213, on right: 131 134 |
| 776 programMultipleItem (226) |
| 777 on left: 214 215, on right: 137 |
| 778 progEnvParams (227) |
| 779 on left: 216, on right: 214 |
| 780 progEnvParamNums (228) |
| 781 on left: 217 218, on right: 216 |
| 782 progEnvParam (229) |
| 783 on left: 219, on right: 212 |
| 784 progLocalParams (230) |
| 785 on left: 220, on right: 215 |
| 786 progLocalParamNums (231) |
| 787 on left: 221 222, on right: 220 |
| 788 progLocalParam (232) |
| 789 on left: 223, on right: 213 |
| 790 progEnvParamNum (233) |
| 791 on left: 224, on right: 217 218 219 |
| 792 progLocalParamNum (234) |
| 793 on left: 225, on right: 221 222 223 |
| 794 paramConstDecl (235) |
| 795 on left: 226 227, on right: 132 138 |
| 796 paramConstUse (236) |
| 797 on left: 228 229, on right: 135 |
| 798 paramConstScalarDecl (237) |
| 799 on left: 230, on right: 226 |
| 800 paramConstScalarUse (238) |
| 801 on left: 231 232, on right: 50 228 |
| 802 paramConstVector (239) |
| 803 on left: 233 234 235 236, on right: 227 229 |
| 804 signedFloatConstant (240) |
| 805 on left: 237 238, on right: 230 233 234 235 236 |
| 806 optionalSign (241) |
| 807 on left: 239 240 241, on right: 47 48 51 52 56 237 238 |
| 808 TEMP_statement (242) |
| 809 on left: 243, on right: 97 |
| 810 @1 (243) |
| 811 on left: 242, on right: 243 |
| 812 optVarSize (244) |
| 813 on left: 244 245, on right: 243 250 |
| 814 ADDRESS_statement (245) |
| 815 on left: 247, on right: 98 |
| 816 @2 (246) |
| 817 on left: 246, on right: 247 |
| 818 varNameList (247) |
| 819 on left: 248 249, on right: 243 247 248 |
| 820 OUTPUT_statement (248) |
| 821 on left: 250, on right: 99 |
| 822 resultBinding (249) |
| 823 on left: 251 252 253 254 255 256, on right: 63 250 |
| 824 resultColBinding (250) |
| 825 on left: 257, on right: 253 |
| 826 optResultFaceType (251) |
| 827 on left: 258 259 260 261, on right: 257 |
| 828 optResultColorType (252) |
| 829 on left: 262 263 264, on right: 257 |
| 830 optFaceType (253) |
| 831 on left: 265 266 267, on right: 152 165 166 |
| 832 optColorType (254) |
| 833 on left: 268 269 270, on right: 107 117 |
| 834 optTexCoordUnitNum (255) |
| 835 on left: 271 272, on right: 109 119 174 203 255 |
| 836 optTexImageUnitNum (256) |
| 837 on left: 273 274, on right: 33 |
| 838 optLegacyTexUnitNum (257) |
| 839 on left: 275 276, on right: 168 |
| 840 texCoordUnitNum (258) |
| 841 on left: 277, on right: 272 |
| 842 texImageUnitNum (259) |
| 843 on left: 278, on right: 274 |
| 844 legacyTexUnitNum (260) |
| 845 on left: 279, on right: 276 |
| 846 ALIAS_statement (261) |
| 847 on left: 280, on right: 100 |
| 848 string (262) |
| 849 on left: 281 282, on right: 6 58 244 |
| 850 |
| 851 |
| 852 state 0 |
| 853 |
| 854 0 $accept: . program $end |
| 855 |
| 856 ARBvp_10 shift, and go to state 1 |
| 857 ARBfp_10 shift, and go to state 2 |
| 858 |
| 859 program go to state 3 |
| 860 language go to state 4 |
| 861 |
| 862 |
| 863 state 1 |
| 864 |
| 865 2 language: ARBvp_10 . |
| 866 |
| 867 $default reduce using rule 2 (language) |
| 868 |
| 869 |
| 870 state 2 |
| 871 |
| 872 3 language: ARBfp_10 . |
| 873 |
| 874 $default reduce using rule 3 (language) |
| 875 |
| 876 |
| 877 state 3 |
| 878 |
| 879 0 $accept: program . $end |
| 880 |
| 881 $end shift, and go to state 5 |
| 882 |
| 883 |
| 884 state 4 |
| 885 |
| 886 1 program: language . optionSequence statementSequence END |
| 887 |
| 888 $default reduce using rule 5 (optionSequence) |
| 889 |
| 890 optionSequence go to state 6 |
| 891 |
| 892 |
| 893 state 5 |
| 894 |
| 895 0 $accept: program $end . |
| 896 |
| 897 $default accept |
| 898 |
| 899 |
| 900 state 6 |
| 901 |
| 902 1 program: language optionSequence . statementSequence END |
| 903 4 optionSequence: optionSequence . option |
| 904 |
| 905 OPTION shift, and go to state 7 |
| 906 |
| 907 $default reduce using rule 8 (statementSequence) |
| 908 |
| 909 option go to state 8 |
| 910 statementSequence go to state 9 |
| 911 |
| 912 |
| 913 state 7 |
| 914 |
| 915 6 option: OPTION . string ';' |
| 916 |
| 917 IDENTIFIER shift, and go to state 10 |
| 918 USED_IDENTIFIER shift, and go to state 11 |
| 919 |
| 920 string go to state 12 |
| 921 |
| 922 |
| 923 state 8 |
| 924 |
| 925 4 optionSequence: optionSequence option . |
| 926 |
| 927 $default reduce using rule 4 (optionSequence) |
| 928 |
| 929 |
| 930 state 9 |
| 931 |
| 932 1 program: language optionSequence statementSequence . END |
| 933 7 statementSequence: statementSequence . statement |
| 934 |
| 935 ADDRESS shift, and go to state 13 |
| 936 ALIAS shift, and go to state 14 |
| 937 ATTRIB shift, and go to state 15 |
| 938 PARAM shift, and go to state 16 |
| 939 END shift, and go to state 17 |
| 940 BIN_OP shift, and go to state 18 |
| 941 BINSC_OP shift, and go to state 19 |
| 942 SAMPLE_OP shift, and go to state 20 |
| 943 SCALAR_OP shift, and go to state 21 |
| 944 TRI_OP shift, and go to state 22 |
| 945 VECTOR_OP shift, and go to state 23 |
| 946 ARL shift, and go to state 24 |
| 947 KIL shift, and go to state 25 |
| 948 SWZ shift, and go to state 26 |
| 949 TXD_OP shift, and go to state 27 |
| 950 IDENTIFIER shift, and go to state 10 |
| 951 USED_IDENTIFIER shift, and go to state 11 |
| 952 |
| 953 $default reduce using rule 245 (optVarSize) |
| 954 |
| 955 statement go to state 28 |
| 956 instruction go to state 29 |
| 957 ALU_instruction go to state 30 |
| 958 TexInstruction go to state 31 |
| 959 ARL_instruction go to state 32 |
| 960 VECTORop_instruction go to state 33 |
| 961 SCALARop_instruction go to state 34 |
| 962 BINSCop_instruction go to state 35 |
| 963 BINop_instruction go to state 36 |
| 964 TRIop_instruction go to state 37 |
| 965 SAMPLE_instruction go to state 38 |
| 966 KIL_instruction go to state 39 |
| 967 TXD_instruction go to state 40 |
| 968 SWZ_instruction go to state 41 |
| 969 namingStatement go to state 42 |
| 970 ATTRIB_statement go to state 43 |
| 971 PARAM_statement go to state 44 |
| 972 PARAM_singleStmt go to state 45 |
| 973 PARAM_multipleStmt go to state 46 |
| 974 TEMP_statement go to state 47 |
| 975 optVarSize go to state 48 |
| 976 ADDRESS_statement go to state 49 |
| 977 OUTPUT_statement go to state 50 |
| 978 ALIAS_statement go to state 51 |
| 979 string go to state 52 |
| 980 |
| 981 |
| 982 state 10 |
| 983 |
| 984 281 string: IDENTIFIER . |
| 985 |
| 986 $default reduce using rule 281 (string) |
| 987 |
| 988 |
| 989 state 11 |
| 990 |
| 991 282 string: USED_IDENTIFIER . |
| 992 |
| 993 $default reduce using rule 282 (string) |
| 994 |
| 995 |
| 996 state 12 |
| 997 |
| 998 6 option: OPTION string . ';' |
| 999 |
| 1000 ';' shift, and go to state 53 |
| 1001 |
| 1002 |
| 1003 state 13 |
| 1004 |
| 1005 247 ADDRESS_statement: ADDRESS . @2 varNameList |
| 1006 |
| 1007 $default reduce using rule 246 (@2) |
| 1008 |
| 1009 @2 go to state 54 |
| 1010 |
| 1011 |
| 1012 state 14 |
| 1013 |
| 1014 280 ALIAS_statement: ALIAS . IDENTIFIER '=' USED_IDENTIFIER |
| 1015 |
| 1016 IDENTIFIER shift, and go to state 55 |
| 1017 |
| 1018 |
| 1019 state 15 |
| 1020 |
| 1021 101 ATTRIB_statement: ATTRIB . IDENTIFIER '=' attribBinding |
| 1022 |
| 1023 IDENTIFIER shift, and go to state 56 |
| 1024 |
| 1025 |
| 1026 state 16 |
| 1027 |
| 1028 122 PARAM_singleStmt: PARAM . IDENTIFIER paramSingleInit |
| 1029 123 PARAM_multipleStmt: PARAM . IDENTIFIER '[' optArraySize ']' paramMultipleI
nit |
| 1030 |
| 1031 IDENTIFIER shift, and go to state 57 |
| 1032 |
| 1033 |
| 1034 state 17 |
| 1035 |
| 1036 1 program: language optionSequence statementSequence END . |
| 1037 |
| 1038 $default reduce using rule 1 (program) |
| 1039 |
| 1040 |
| 1041 state 18 |
| 1042 |
| 1043 27 BINop_instruction: BIN_OP . maskedDstReg ',' swizzleSrcReg ',' swizzleSrcR
eg |
| 1044 |
| 1045 RESULT shift, and go to state 58 |
| 1046 USED_IDENTIFIER shift, and go to state 59 |
| 1047 |
| 1048 maskedDstReg go to state 60 |
| 1049 dstReg go to state 61 |
| 1050 resultBinding go to state 62 |
| 1051 |
| 1052 |
| 1053 state 19 |
| 1054 |
| 1055 26 BINSCop_instruction: BINSC_OP . maskedDstReg ',' scalarSrcReg ',' scalarSr
cReg |
| 1056 |
| 1057 RESULT shift, and go to state 58 |
| 1058 USED_IDENTIFIER shift, and go to state 59 |
| 1059 |
| 1060 maskedDstReg go to state 63 |
| 1061 dstReg go to state 61 |
| 1062 resultBinding go to state 62 |
| 1063 |
| 1064 |
| 1065 state 20 |
| 1066 |
| 1067 29 SAMPLE_instruction: SAMPLE_OP . maskedDstReg ',' swizzleSrcReg ',' texImag
eUnit ',' texTarget |
| 1068 |
| 1069 RESULT shift, and go to state 58 |
| 1070 USED_IDENTIFIER shift, and go to state 59 |
| 1071 |
| 1072 maskedDstReg go to state 64 |
| 1073 dstReg go to state 61 |
| 1074 resultBinding go to state 62 |
| 1075 |
| 1076 |
| 1077 state 21 |
| 1078 |
| 1079 25 SCALARop_instruction: SCALAR_OP . maskedDstReg ',' scalarSrcReg |
| 1080 |
| 1081 RESULT shift, and go to state 58 |
| 1082 USED_IDENTIFIER shift, and go to state 59 |
| 1083 |
| 1084 maskedDstReg go to state 65 |
| 1085 dstReg go to state 61 |
| 1086 resultBinding go to state 62 |
| 1087 |
| 1088 |
| 1089 state 22 |
| 1090 |
| 1091 28 TRIop_instruction: TRI_OP . maskedDstReg ',' swizzleSrcReg ',' swizzleSrcR
eg ',' swizzleSrcReg |
| 1092 |
| 1093 RESULT shift, and go to state 58 |
| 1094 USED_IDENTIFIER shift, and go to state 59 |
| 1095 |
| 1096 maskedDstReg go to state 66 |
| 1097 dstReg go to state 61 |
| 1098 resultBinding go to state 62 |
| 1099 |
| 1100 |
| 1101 state 23 |
| 1102 |
| 1103 24 VECTORop_instruction: VECTOR_OP . maskedDstReg ',' swizzleSrcReg |
| 1104 |
| 1105 RESULT shift, and go to state 58 |
| 1106 USED_IDENTIFIER shift, and go to state 59 |
| 1107 |
| 1108 maskedDstReg go to state 67 |
| 1109 dstReg go to state 61 |
| 1110 resultBinding go to state 62 |
| 1111 |
| 1112 |
| 1113 state 24 |
| 1114 |
| 1115 23 ARL_instruction: ARL . maskedAddrReg ',' scalarSrcReg |
| 1116 |
| 1117 USED_IDENTIFIER shift, and go to state 68 |
| 1118 |
| 1119 maskedAddrReg go to state 69 |
| 1120 addrReg go to state 70 |
| 1121 |
| 1122 |
| 1123 state 25 |
| 1124 |
| 1125 30 KIL_instruction: KIL . swizzleSrcReg |
| 1126 31 | KIL . ccTest |
| 1127 |
| 1128 IDENTIFIER shift, and go to state 71 |
| 1129 '+' shift, and go to state 72 |
| 1130 '-' shift, and go to state 73 |
| 1131 |
| 1132 $default reduce using rule 241 (optionalSign) |
| 1133 |
| 1134 swizzleSrcReg go to state 74 |
| 1135 ccTest go to state 75 |
| 1136 ccMaskRule go to state 76 |
| 1137 optionalSign go to state 77 |
| 1138 |
| 1139 |
| 1140 state 26 |
| 1141 |
| 1142 46 SWZ_instruction: SWZ . maskedDstReg ',' srcReg ',' extendedSwizzle |
| 1143 |
| 1144 RESULT shift, and go to state 58 |
| 1145 USED_IDENTIFIER shift, and go to state 59 |
| 1146 |
| 1147 maskedDstReg go to state 78 |
| 1148 dstReg go to state 61 |
| 1149 resultBinding go to state 62 |
| 1150 |
| 1151 |
| 1152 state 27 |
| 1153 |
| 1154 32 TXD_instruction: TXD_OP . maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg
',' swizzleSrcReg ',' texImageUnit ',' texTarget |
| 1155 |
| 1156 RESULT shift, and go to state 58 |
| 1157 USED_IDENTIFIER shift, and go to state 59 |
| 1158 |
| 1159 maskedDstReg go to state 79 |
| 1160 dstReg go to state 61 |
| 1161 resultBinding go to state 62 |
| 1162 |
| 1163 |
| 1164 state 28 |
| 1165 |
| 1166 7 statementSequence: statementSequence statement . |
| 1167 |
| 1168 $default reduce using rule 7 (statementSequence) |
| 1169 |
| 1170 |
| 1171 state 29 |
| 1172 |
| 1173 9 statement: instruction . ';' |
| 1174 |
| 1175 ';' shift, and go to state 80 |
| 1176 |
| 1177 |
| 1178 state 30 |
| 1179 |
| 1180 11 instruction: ALU_instruction . |
| 1181 |
| 1182 $default reduce using rule 11 (instruction) |
| 1183 |
| 1184 |
| 1185 state 31 |
| 1186 |
| 1187 12 instruction: TexInstruction . |
| 1188 |
| 1189 $default reduce using rule 12 (instruction) |
| 1190 |
| 1191 |
| 1192 state 32 |
| 1193 |
| 1194 13 ALU_instruction: ARL_instruction . |
| 1195 |
| 1196 $default reduce using rule 13 (ALU_instruction) |
| 1197 |
| 1198 |
| 1199 state 33 |
| 1200 |
| 1201 14 ALU_instruction: VECTORop_instruction . |
| 1202 |
| 1203 $default reduce using rule 14 (ALU_instruction) |
| 1204 |
| 1205 |
| 1206 state 34 |
| 1207 |
| 1208 15 ALU_instruction: SCALARop_instruction . |
| 1209 |
| 1210 $default reduce using rule 15 (ALU_instruction) |
| 1211 |
| 1212 |
| 1213 state 35 |
| 1214 |
| 1215 16 ALU_instruction: BINSCop_instruction . |
| 1216 |
| 1217 $default reduce using rule 16 (ALU_instruction) |
| 1218 |
| 1219 |
| 1220 state 36 |
| 1221 |
| 1222 17 ALU_instruction: BINop_instruction . |
| 1223 |
| 1224 $default reduce using rule 17 (ALU_instruction) |
| 1225 |
| 1226 |
| 1227 state 37 |
| 1228 |
| 1229 18 ALU_instruction: TRIop_instruction . |
| 1230 |
| 1231 $default reduce using rule 18 (ALU_instruction) |
| 1232 |
| 1233 |
| 1234 state 38 |
| 1235 |
| 1236 20 TexInstruction: SAMPLE_instruction . |
| 1237 |
| 1238 $default reduce using rule 20 (TexInstruction) |
| 1239 |
| 1240 |
| 1241 state 39 |
| 1242 |
| 1243 21 TexInstruction: KIL_instruction . |
| 1244 |
| 1245 $default reduce using rule 21 (TexInstruction) |
| 1246 |
| 1247 |
| 1248 state 40 |
| 1249 |
| 1250 22 TexInstruction: TXD_instruction . |
| 1251 |
| 1252 $default reduce using rule 22 (TexInstruction) |
| 1253 |
| 1254 |
| 1255 state 41 |
| 1256 |
| 1257 19 ALU_instruction: SWZ_instruction . |
| 1258 |
| 1259 $default reduce using rule 19 (ALU_instruction) |
| 1260 |
| 1261 |
| 1262 state 42 |
| 1263 |
| 1264 10 statement: namingStatement . ';' |
| 1265 |
| 1266 ';' shift, and go to state 81 |
| 1267 |
| 1268 |
| 1269 state 43 |
| 1270 |
| 1271 95 namingStatement: ATTRIB_statement . |
| 1272 |
| 1273 $default reduce using rule 95 (namingStatement) |
| 1274 |
| 1275 |
| 1276 state 44 |
| 1277 |
| 1278 96 namingStatement: PARAM_statement . |
| 1279 |
| 1280 $default reduce using rule 96 (namingStatement) |
| 1281 |
| 1282 |
| 1283 state 45 |
| 1284 |
| 1285 120 PARAM_statement: PARAM_singleStmt . |
| 1286 |
| 1287 $default reduce using rule 120 (PARAM_statement) |
| 1288 |
| 1289 |
| 1290 state 46 |
| 1291 |
| 1292 121 PARAM_statement: PARAM_multipleStmt . |
| 1293 |
| 1294 $default reduce using rule 121 (PARAM_statement) |
| 1295 |
| 1296 |
| 1297 state 47 |
| 1298 |
| 1299 97 namingStatement: TEMP_statement . |
| 1300 |
| 1301 $default reduce using rule 97 (namingStatement) |
| 1302 |
| 1303 |
| 1304 state 48 |
| 1305 |
| 1306 243 TEMP_statement: optVarSize . TEMP @1 varNameList |
| 1307 250 OUTPUT_statement: optVarSize . OUTPUT IDENTIFIER '=' resultBinding |
| 1308 |
| 1309 OUTPUT shift, and go to state 82 |
| 1310 TEMP shift, and go to state 83 |
| 1311 |
| 1312 |
| 1313 state 49 |
| 1314 |
| 1315 98 namingStatement: ADDRESS_statement . |
| 1316 |
| 1317 $default reduce using rule 98 (namingStatement) |
| 1318 |
| 1319 |
| 1320 state 50 |
| 1321 |
| 1322 99 namingStatement: OUTPUT_statement . |
| 1323 |
| 1324 $default reduce using rule 99 (namingStatement) |
| 1325 |
| 1326 |
| 1327 state 51 |
| 1328 |
| 1329 100 namingStatement: ALIAS_statement . |
| 1330 |
| 1331 $default reduce using rule 100 (namingStatement) |
| 1332 |
| 1333 |
| 1334 state 52 |
| 1335 |
| 1336 244 optVarSize: string . |
| 1337 |
| 1338 $default reduce using rule 244 (optVarSize) |
| 1339 |
| 1340 |
| 1341 state 53 |
| 1342 |
| 1343 6 option: OPTION string ';' . |
| 1344 |
| 1345 $default reduce using rule 6 (option) |
| 1346 |
| 1347 |
| 1348 state 54 |
| 1349 |
| 1350 247 ADDRESS_statement: ADDRESS @2 . varNameList |
| 1351 |
| 1352 IDENTIFIER shift, and go to state 84 |
| 1353 |
| 1354 varNameList go to state 85 |
| 1355 |
| 1356 |
| 1357 state 55 |
| 1358 |
| 1359 280 ALIAS_statement: ALIAS IDENTIFIER . '=' USED_IDENTIFIER |
| 1360 |
| 1361 '=' shift, and go to state 86 |
| 1362 |
| 1363 |
| 1364 state 56 |
| 1365 |
| 1366 101 ATTRIB_statement: ATTRIB IDENTIFIER . '=' attribBinding |
| 1367 |
| 1368 '=' shift, and go to state 87 |
| 1369 |
| 1370 |
| 1371 state 57 |
| 1372 |
| 1373 122 PARAM_singleStmt: PARAM IDENTIFIER . paramSingleInit |
| 1374 123 PARAM_multipleStmt: PARAM IDENTIFIER . '[' optArraySize ']' paramMultipleI
nit |
| 1375 |
| 1376 '[' shift, and go to state 88 |
| 1377 '=' shift, and go to state 89 |
| 1378 |
| 1379 paramSingleInit go to state 90 |
| 1380 |
| 1381 |
| 1382 state 58 |
| 1383 |
| 1384 251 resultBinding: RESULT . POSITION |
| 1385 252 | RESULT . FOGCOORD |
| 1386 253 | RESULT . resultColBinding |
| 1387 254 | RESULT . POINTSIZE |
| 1388 255 | RESULT . TEXCOORD optTexCoordUnitNum |
| 1389 256 | RESULT . DEPTH |
| 1390 |
| 1391 COLOR shift, and go to state 91 |
| 1392 DEPTH shift, and go to state 92 |
| 1393 FOGCOORD shift, and go to state 93 |
| 1394 POINTSIZE shift, and go to state 94 |
| 1395 POSITION shift, and go to state 95 |
| 1396 TEXCOORD shift, and go to state 96 |
| 1397 |
| 1398 resultColBinding go to state 97 |
| 1399 |
| 1400 |
| 1401 state 59 |
| 1402 |
| 1403 64 dstReg: USED_IDENTIFIER . |
| 1404 |
| 1405 $default reduce using rule 64 (dstReg) |
| 1406 |
| 1407 |
| 1408 state 60 |
| 1409 |
| 1410 27 BINop_instruction: BIN_OP maskedDstReg . ',' swizzleSrcReg ',' swizzleSrcR
eg |
| 1411 |
| 1412 ',' shift, and go to state 98 |
| 1413 |
| 1414 |
| 1415 state 61 |
| 1416 |
| 1417 53 maskedDstReg: dstReg . optionalMask optionalCcMask |
| 1418 |
| 1419 MASK4 shift, and go to state 99 |
| 1420 MASK3 shift, and go to state 100 |
| 1421 MASK2 shift, and go to state 101 |
| 1422 MASK1 shift, and go to state 102 |
| 1423 |
| 1424 $default reduce using rule 87 (optionalMask) |
| 1425 |
| 1426 optionalMask go to state 103 |
| 1427 |
| 1428 |
| 1429 state 62 |
| 1430 |
| 1431 63 dstReg: resultBinding . |
| 1432 |
| 1433 $default reduce using rule 63 (dstReg) |
| 1434 |
| 1435 |
| 1436 state 63 |
| 1437 |
| 1438 26 BINSCop_instruction: BINSC_OP maskedDstReg . ',' scalarSrcReg ',' scalarSr
cReg |
| 1439 |
| 1440 ',' shift, and go to state 104 |
| 1441 |
| 1442 |
| 1443 state 64 |
| 1444 |
| 1445 29 SAMPLE_instruction: SAMPLE_OP maskedDstReg . ',' swizzleSrcReg ',' texImag
eUnit ',' texTarget |
| 1446 |
| 1447 ',' shift, and go to state 105 |
| 1448 |
| 1449 |
| 1450 state 65 |
| 1451 |
| 1452 25 SCALARop_instruction: SCALAR_OP maskedDstReg . ',' scalarSrcReg |
| 1453 |
| 1454 ',' shift, and go to state 106 |
| 1455 |
| 1456 |
| 1457 state 66 |
| 1458 |
| 1459 28 TRIop_instruction: TRI_OP maskedDstReg . ',' swizzleSrcReg ',' swizzleSrcR
eg ',' swizzleSrcReg |
| 1460 |
| 1461 ',' shift, and go to state 107 |
| 1462 |
| 1463 |
| 1464 state 67 |
| 1465 |
| 1466 24 VECTORop_instruction: VECTOR_OP maskedDstReg . ',' swizzleSrcReg |
| 1467 |
| 1468 ',' shift, and go to state 108 |
| 1469 |
| 1470 |
| 1471 state 68 |
| 1472 |
| 1473 75 addrReg: USED_IDENTIFIER . |
| 1474 |
| 1475 $default reduce using rule 75 (addrReg) |
| 1476 |
| 1477 |
| 1478 state 69 |
| 1479 |
| 1480 23 ARL_instruction: ARL maskedAddrReg . ',' scalarSrcReg |
| 1481 |
| 1482 ',' shift, and go to state 109 |
| 1483 |
| 1484 |
| 1485 state 70 |
| 1486 |
| 1487 54 maskedAddrReg: addrReg . addrWriteMask |
| 1488 |
| 1489 MASK1 shift, and go to state 110 |
| 1490 |
| 1491 addrWriteMask go to state 111 |
| 1492 |
| 1493 |
| 1494 state 71 |
| 1495 |
| 1496 93 ccMaskRule: IDENTIFIER . |
| 1497 |
| 1498 $default reduce using rule 93 (ccMaskRule) |
| 1499 |
| 1500 |
| 1501 state 72 |
| 1502 |
| 1503 239 optionalSign: '+' . |
| 1504 |
| 1505 $default reduce using rule 239 (optionalSign) |
| 1506 |
| 1507 |
| 1508 state 73 |
| 1509 |
| 1510 240 optionalSign: '-' . |
| 1511 |
| 1512 $default reduce using rule 240 (optionalSign) |
| 1513 |
| 1514 |
| 1515 state 74 |
| 1516 |
| 1517 30 KIL_instruction: KIL swizzleSrcReg . |
| 1518 |
| 1519 $default reduce using rule 30 (KIL_instruction) |
| 1520 |
| 1521 |
| 1522 state 75 |
| 1523 |
| 1524 31 KIL_instruction: KIL ccTest . |
| 1525 |
| 1526 $default reduce using rule 31 (KIL_instruction) |
| 1527 |
| 1528 |
| 1529 state 76 |
| 1530 |
| 1531 91 ccTest: ccMaskRule . swizzleSuffix |
| 1532 |
| 1533 MASK4 shift, and go to state 112 |
| 1534 MASK1 shift, and go to state 113 |
| 1535 SWIZZLE shift, and go to state 114 |
| 1536 |
| 1537 $default reduce using rule 82 (swizzleSuffix) |
| 1538 |
| 1539 swizzleSuffix go to state 115 |
| 1540 |
| 1541 |
| 1542 state 77 |
| 1543 |
| 1544 51 swizzleSrcReg: optionalSign . srcReg swizzleSuffix |
| 1545 52 | optionalSign . '|' srcReg swizzleSuffix '|' |
| 1546 |
| 1547 INTEGER shift, and go to state 116 |
| 1548 REAL shift, and go to state 117 |
| 1549 FRAGMENT shift, and go to state 118 |
| 1550 PROGRAM shift, and go to state 119 |
| 1551 STATE shift, and go to state 120 |
| 1552 VERTEX shift, and go to state 121 |
| 1553 USED_IDENTIFIER shift, and go to state 122 |
| 1554 '|' shift, and go to state 123 |
| 1555 '{' shift, and go to state 124 |
| 1556 |
| 1557 srcReg go to state 125 |
| 1558 progParamArray go to state 126 |
| 1559 attribBinding go to state 127 |
| 1560 paramSingleItemUse go to state 128 |
| 1561 stateSingleItem go to state 129 |
| 1562 programSingleItem go to state 130 |
| 1563 progEnvParam go to state 131 |
| 1564 progLocalParam go to state 132 |
| 1565 paramConstUse go to state 133 |
| 1566 paramConstScalarUse go to state 134 |
| 1567 paramConstVector go to state 135 |
| 1568 |
| 1569 |
| 1570 state 78 |
| 1571 |
| 1572 46 SWZ_instruction: SWZ maskedDstReg . ',' srcReg ',' extendedSwizzle |
| 1573 |
| 1574 ',' shift, and go to state 136 |
| 1575 |
| 1576 |
| 1577 state 79 |
| 1578 |
| 1579 32 TXD_instruction: TXD_OP maskedDstReg . ',' swizzleSrcReg ',' swizzleSrcReg
',' swizzleSrcReg ',' texImageUnit ',' texTarget |
| 1580 |
| 1581 ',' shift, and go to state 137 |
| 1582 |
| 1583 |
| 1584 state 80 |
| 1585 |
| 1586 9 statement: instruction ';' . |
| 1587 |
| 1588 $default reduce using rule 9 (statement) |
| 1589 |
| 1590 |
| 1591 state 81 |
| 1592 |
| 1593 10 statement: namingStatement ';' . |
| 1594 |
| 1595 $default reduce using rule 10 (statement) |
| 1596 |
| 1597 |
| 1598 state 82 |
| 1599 |
| 1600 250 OUTPUT_statement: optVarSize OUTPUT . IDENTIFIER '=' resultBinding |
| 1601 |
| 1602 IDENTIFIER shift, and go to state 138 |
| 1603 |
| 1604 |
| 1605 state 83 |
| 1606 |
| 1607 243 TEMP_statement: optVarSize TEMP . @1 varNameList |
| 1608 |
| 1609 $default reduce using rule 242 (@1) |
| 1610 |
| 1611 @1 go to state 139 |
| 1612 |
| 1613 |
| 1614 state 84 |
| 1615 |
| 1616 249 varNameList: IDENTIFIER . |
| 1617 |
| 1618 $default reduce using rule 249 (varNameList) |
| 1619 |
| 1620 |
| 1621 state 85 |
| 1622 |
| 1623 247 ADDRESS_statement: ADDRESS @2 varNameList . |
| 1624 248 varNameList: varNameList . ',' IDENTIFIER |
| 1625 |
| 1626 ',' shift, and go to state 140 |
| 1627 |
| 1628 $default reduce using rule 247 (ADDRESS_statement) |
| 1629 |
| 1630 |
| 1631 state 86 |
| 1632 |
| 1633 280 ALIAS_statement: ALIAS IDENTIFIER '=' . USED_IDENTIFIER |
| 1634 |
| 1635 USED_IDENTIFIER shift, and go to state 141 |
| 1636 |
| 1637 |
| 1638 state 87 |
| 1639 |
| 1640 101 ATTRIB_statement: ATTRIB IDENTIFIER '=' . attribBinding |
| 1641 |
| 1642 FRAGMENT shift, and go to state 118 |
| 1643 VERTEX shift, and go to state 121 |
| 1644 |
| 1645 attribBinding go to state 142 |
| 1646 |
| 1647 |
| 1648 state 88 |
| 1649 |
| 1650 123 PARAM_multipleStmt: PARAM IDENTIFIER '[' . optArraySize ']' paramMultipleI
nit |
| 1651 |
| 1652 INTEGER shift, and go to state 143 |
| 1653 |
| 1654 $default reduce using rule 124 (optArraySize) |
| 1655 |
| 1656 optArraySize go to state 144 |
| 1657 |
| 1658 |
| 1659 state 89 |
| 1660 |
| 1661 126 paramSingleInit: '=' . paramSingleItemDecl |
| 1662 |
| 1663 PROGRAM shift, and go to state 119 |
| 1664 STATE shift, and go to state 120 |
| 1665 '+' shift, and go to state 72 |
| 1666 '-' shift, and go to state 73 |
| 1667 '{' shift, and go to state 124 |
| 1668 |
| 1669 $default reduce using rule 241 (optionalSign) |
| 1670 |
| 1671 paramSingleItemDecl go to state 145 |
| 1672 stateSingleItem go to state 146 |
| 1673 programSingleItem go to state 147 |
| 1674 progEnvParam go to state 131 |
| 1675 progLocalParam go to state 132 |
| 1676 paramConstDecl go to state 148 |
| 1677 paramConstScalarDecl go to state 149 |
| 1678 paramConstVector go to state 150 |
| 1679 signedFloatConstant go to state 151 |
| 1680 optionalSign go to state 152 |
| 1681 |
| 1682 |
| 1683 state 90 |
| 1684 |
| 1685 122 PARAM_singleStmt: PARAM IDENTIFIER paramSingleInit . |
| 1686 |
| 1687 $default reduce using rule 122 (PARAM_singleStmt) |
| 1688 |
| 1689 |
| 1690 state 91 |
| 1691 |
| 1692 257 resultColBinding: COLOR . optResultFaceType optResultColorType |
| 1693 |
| 1694 BACK shift, and go to state 153 |
| 1695 FRONT shift, and go to state 154 |
| 1696 '[' shift, and go to state 155 |
| 1697 |
| 1698 $default reduce using rule 258 (optResultFaceType) |
| 1699 |
| 1700 optResultFaceType go to state 156 |
| 1701 |
| 1702 |
| 1703 state 92 |
| 1704 |
| 1705 256 resultBinding: RESULT DEPTH . |
| 1706 |
| 1707 $default reduce using rule 256 (resultBinding) |
| 1708 |
| 1709 |
| 1710 state 93 |
| 1711 |
| 1712 252 resultBinding: RESULT FOGCOORD . |
| 1713 |
| 1714 $default reduce using rule 252 (resultBinding) |
| 1715 |
| 1716 |
| 1717 state 94 |
| 1718 |
| 1719 254 resultBinding: RESULT POINTSIZE . |
| 1720 |
| 1721 $default reduce using rule 254 (resultBinding) |
| 1722 |
| 1723 |
| 1724 state 95 |
| 1725 |
| 1726 251 resultBinding: RESULT POSITION . |
| 1727 |
| 1728 $default reduce using rule 251 (resultBinding) |
| 1729 |
| 1730 |
| 1731 state 96 |
| 1732 |
| 1733 255 resultBinding: RESULT TEXCOORD . optTexCoordUnitNum |
| 1734 |
| 1735 '[' shift, and go to state 157 |
| 1736 |
| 1737 $default reduce using rule 271 (optTexCoordUnitNum) |
| 1738 |
| 1739 optTexCoordUnitNum go to state 158 |
| 1740 |
| 1741 |
| 1742 state 97 |
| 1743 |
| 1744 253 resultBinding: RESULT resultColBinding . |
| 1745 |
| 1746 $default reduce using rule 253 (resultBinding) |
| 1747 |
| 1748 |
| 1749 state 98 |
| 1750 |
| 1751 27 BINop_instruction: BIN_OP maskedDstReg ',' . swizzleSrcReg ',' swizzleSrcR
eg |
| 1752 |
| 1753 '+' shift, and go to state 72 |
| 1754 '-' shift, and go to state 73 |
| 1755 |
| 1756 $default reduce using rule 241 (optionalSign) |
| 1757 |
| 1758 swizzleSrcReg go to state 159 |
| 1759 optionalSign go to state 77 |
| 1760 |
| 1761 |
| 1762 state 99 |
| 1763 |
| 1764 83 optionalMask: MASK4 . |
| 1765 |
| 1766 $default reduce using rule 83 (optionalMask) |
| 1767 |
| 1768 |
| 1769 state 100 |
| 1770 |
| 1771 84 optionalMask: MASK3 . |
| 1772 |
| 1773 $default reduce using rule 84 (optionalMask) |
| 1774 |
| 1775 |
| 1776 state 101 |
| 1777 |
| 1778 85 optionalMask: MASK2 . |
| 1779 |
| 1780 $default reduce using rule 85 (optionalMask) |
| 1781 |
| 1782 |
| 1783 state 102 |
| 1784 |
| 1785 86 optionalMask: MASK1 . |
| 1786 |
| 1787 $default reduce using rule 86 (optionalMask) |
| 1788 |
| 1789 |
| 1790 state 103 |
| 1791 |
| 1792 53 maskedDstReg: dstReg optionalMask . optionalCcMask |
| 1793 |
| 1794 '(' shift, and go to state 160 |
| 1795 |
| 1796 $default reduce using rule 90 (optionalCcMask) |
| 1797 |
| 1798 optionalCcMask go to state 161 |
| 1799 |
| 1800 |
| 1801 state 104 |
| 1802 |
| 1803 26 BINSCop_instruction: BINSC_OP maskedDstReg ',' . scalarSrcReg ',' scalarSr
cReg |
| 1804 |
| 1805 '+' shift, and go to state 72 |
| 1806 '-' shift, and go to state 73 |
| 1807 |
| 1808 $default reduce using rule 241 (optionalSign) |
| 1809 |
| 1810 scalarSrcReg go to state 162 |
| 1811 optionalSign go to state 163 |
| 1812 |
| 1813 |
| 1814 state 105 |
| 1815 |
| 1816 29 SAMPLE_instruction: SAMPLE_OP maskedDstReg ',' . swizzleSrcReg ',' texImag
eUnit ',' texTarget |
| 1817 |
| 1818 '+' shift, and go to state 72 |
| 1819 '-' shift, and go to state 73 |
| 1820 |
| 1821 $default reduce using rule 241 (optionalSign) |
| 1822 |
| 1823 swizzleSrcReg go to state 164 |
| 1824 optionalSign go to state 77 |
| 1825 |
| 1826 |
| 1827 state 106 |
| 1828 |
| 1829 25 SCALARop_instruction: SCALAR_OP maskedDstReg ',' . scalarSrcReg |
| 1830 |
| 1831 '+' shift, and go to state 72 |
| 1832 '-' shift, and go to state 73 |
| 1833 |
| 1834 $default reduce using rule 241 (optionalSign) |
| 1835 |
| 1836 scalarSrcReg go to state 165 |
| 1837 optionalSign go to state 163 |
| 1838 |
| 1839 |
| 1840 state 107 |
| 1841 |
| 1842 28 TRIop_instruction: TRI_OP maskedDstReg ',' . swizzleSrcReg ',' swizzleSrcR
eg ',' swizzleSrcReg |
| 1843 |
| 1844 '+' shift, and go to state 72 |
| 1845 '-' shift, and go to state 73 |
| 1846 |
| 1847 $default reduce using rule 241 (optionalSign) |
| 1848 |
| 1849 swizzleSrcReg go to state 166 |
| 1850 optionalSign go to state 77 |
| 1851 |
| 1852 |
| 1853 state 108 |
| 1854 |
| 1855 24 VECTORop_instruction: VECTOR_OP maskedDstReg ',' . swizzleSrcReg |
| 1856 |
| 1857 '+' shift, and go to state 72 |
| 1858 '-' shift, and go to state 73 |
| 1859 |
| 1860 $default reduce using rule 241 (optionalSign) |
| 1861 |
| 1862 swizzleSrcReg go to state 167 |
| 1863 optionalSign go to state 77 |
| 1864 |
| 1865 |
| 1866 state 109 |
| 1867 |
| 1868 23 ARL_instruction: ARL maskedAddrReg ',' . scalarSrcReg |
| 1869 |
| 1870 '+' shift, and go to state 72 |
| 1871 '-' shift, and go to state 73 |
| 1872 |
| 1873 $default reduce using rule 241 (optionalSign) |
| 1874 |
| 1875 scalarSrcReg go to state 168 |
| 1876 optionalSign go to state 163 |
| 1877 |
| 1878 |
| 1879 state 110 |
| 1880 |
| 1881 77 addrWriteMask: MASK1 . |
| 1882 |
| 1883 $default reduce using rule 77 (addrWriteMask) |
| 1884 |
| 1885 |
| 1886 state 111 |
| 1887 |
| 1888 54 maskedAddrReg: addrReg addrWriteMask . |
| 1889 |
| 1890 $default reduce using rule 54 (maskedAddrReg) |
| 1891 |
| 1892 |
| 1893 state 112 |
| 1894 |
| 1895 80 swizzleSuffix: MASK4 . |
| 1896 |
| 1897 $default reduce using rule 80 (swizzleSuffix) |
| 1898 |
| 1899 |
| 1900 state 113 |
| 1901 |
| 1902 79 swizzleSuffix: MASK1 . |
| 1903 |
| 1904 $default reduce using rule 79 (swizzleSuffix) |
| 1905 |
| 1906 |
| 1907 state 114 |
| 1908 |
| 1909 81 swizzleSuffix: SWIZZLE . |
| 1910 |
| 1911 $default reduce using rule 81 (swizzleSuffix) |
| 1912 |
| 1913 |
| 1914 state 115 |
| 1915 |
| 1916 91 ccTest: ccMaskRule swizzleSuffix . |
| 1917 |
| 1918 $default reduce using rule 91 (ccTest) |
| 1919 |
| 1920 |
| 1921 state 116 |
| 1922 |
| 1923 232 paramConstScalarUse: INTEGER . |
| 1924 |
| 1925 $default reduce using rule 232 (paramConstScalarUse) |
| 1926 |
| 1927 |
| 1928 state 117 |
| 1929 |
| 1930 231 paramConstScalarUse: REAL . |
| 1931 |
| 1932 $default reduce using rule 231 (paramConstScalarUse) |
| 1933 |
| 1934 |
| 1935 state 118 |
| 1936 |
| 1937 103 attribBinding: FRAGMENT . fragAttribItem |
| 1938 |
| 1939 COLOR shift, and go to state 169 |
| 1940 FOGCOORD shift, and go to state 170 |
| 1941 POSITION shift, and go to state 171 |
| 1942 TEXCOORD shift, and go to state 172 |
| 1943 |
| 1944 fragAttribItem go to state 173 |
| 1945 |
| 1946 |
| 1947 state 119 |
| 1948 |
| 1949 219 progEnvParam: PROGRAM . ENV '[' progEnvParamNum ']' |
| 1950 223 progLocalParam: PROGRAM . LOCAL '[' progLocalParamNum ']' |
| 1951 |
| 1952 ENV shift, and go to state 174 |
| 1953 LOCAL shift, and go to state 175 |
| 1954 |
| 1955 |
| 1956 state 120 |
| 1957 |
| 1958 141 stateSingleItem: STATE . stateMaterialItem |
| 1959 142 | STATE . stateLightItem |
| 1960 143 | STATE . stateLightModelItem |
| 1961 144 | STATE . stateLightProdItem |
| 1962 145 | STATE . stateTexGenItem |
| 1963 146 | STATE . stateTexEnvItem |
| 1964 147 | STATE . stateFogItem |
| 1965 148 | STATE . stateClipPlaneItem |
| 1966 149 | STATE . statePointItem |
| 1967 150 | STATE . stateMatrixRow |
| 1968 151 | STATE . stateDepthItem |
| 1969 |
| 1970 CLIP shift, and go to state 176 |
| 1971 DEPTH shift, and go to state 177 |
| 1972 FOG shift, and go to state 178 |
| 1973 LIGHT shift, and go to state 179 |
| 1974 LIGHTMODEL shift, and go to state 180 |
| 1975 LIGHTPROD shift, and go to state 181 |
| 1976 MATERIAL shift, and go to state 182 |
| 1977 MATRIX shift, and go to state 183 |
| 1978 POINT_TOK shift, and go to state 184 |
| 1979 TEXENV shift, and go to state 185 |
| 1980 TEXGEN shift, and go to state 186 |
| 1981 |
| 1982 stateMaterialItem go to state 187 |
| 1983 stateLightItem go to state 188 |
| 1984 stateLightModelItem go to state 189 |
| 1985 stateLightProdItem go to state 190 |
| 1986 stateTexEnvItem go to state 191 |
| 1987 stateTexGenItem go to state 192 |
| 1988 stateFogItem go to state 193 |
| 1989 stateClipPlaneItem go to state 194 |
| 1990 statePointItem go to state 195 |
| 1991 stateMatrixRow go to state 196 |
| 1992 stateMatrixItem go to state 197 |
| 1993 stateDepthItem go to state 198 |
| 1994 |
| 1995 |
| 1996 state 121 |
| 1997 |
| 1998 102 attribBinding: VERTEX . vtxAttribItem |
| 1999 |
| 2000 COLOR shift, and go to state 199 |
| 2001 FOGCOORD shift, and go to state 200 |
| 2002 MATRIXINDEX shift, and go to state 201 |
| 2003 NORMAL shift, and go to state 202 |
| 2004 POSITION shift, and go to state 203 |
| 2005 TEXCOORD shift, and go to state 204 |
| 2006 VTXATTRIB shift, and go to state 205 |
| 2007 WEIGHT shift, and go to state 206 |
| 2008 |
| 2009 vtxAttribItem go to state 207 |
| 2010 |
| 2011 |
| 2012 state 122 |
| 2013 |
| 2014 59 srcReg: USED_IDENTIFIER . |
| 2015 65 progParamArray: USED_IDENTIFIER . |
| 2016 |
| 2017 '[' reduce using rule 65 (progParamArray) |
| 2018 $default reduce using rule 59 (srcReg) |
| 2019 |
| 2020 |
| 2021 state 123 |
| 2022 |
| 2023 52 swizzleSrcReg: optionalSign '|' . srcReg swizzleSuffix '|' |
| 2024 |
| 2025 INTEGER shift, and go to state 116 |
| 2026 REAL shift, and go to state 117 |
| 2027 FRAGMENT shift, and go to state 118 |
| 2028 PROGRAM shift, and go to state 119 |
| 2029 STATE shift, and go to state 120 |
| 2030 VERTEX shift, and go to state 121 |
| 2031 USED_IDENTIFIER shift, and go to state 122 |
| 2032 '{' shift, and go to state 124 |
| 2033 |
| 2034 srcReg go to state 208 |
| 2035 progParamArray go to state 126 |
| 2036 attribBinding go to state 127 |
| 2037 paramSingleItemUse go to state 128 |
| 2038 stateSingleItem go to state 129 |
| 2039 programSingleItem go to state 130 |
| 2040 progEnvParam go to state 131 |
| 2041 progLocalParam go to state 132 |
| 2042 paramConstUse go to state 133 |
| 2043 paramConstScalarUse go to state 134 |
| 2044 paramConstVector go to state 135 |
| 2045 |
| 2046 |
| 2047 state 124 |
| 2048 |
| 2049 233 paramConstVector: '{' . signedFloatConstant '}' |
| 2050 234 | '{' . signedFloatConstant ',' signedFloatConstant '}' |
| 2051 235 | '{' . signedFloatConstant ',' signedFloatConstant ',' si
gnedFloatConstant '}' |
| 2052 236 | '{' . signedFloatConstant ',' signedFloatConstant ',' si
gnedFloatConstant ',' signedFloatConstant '}' |
| 2053 |
| 2054 '+' shift, and go to state 72 |
| 2055 '-' shift, and go to state 73 |
| 2056 |
| 2057 $default reduce using rule 241 (optionalSign) |
| 2058 |
| 2059 signedFloatConstant go to state 209 |
| 2060 optionalSign go to state 152 |
| 2061 |
| 2062 |
| 2063 state 125 |
| 2064 |
| 2065 51 swizzleSrcReg: optionalSign srcReg . swizzleSuffix |
| 2066 |
| 2067 MASK4 shift, and go to state 112 |
| 2068 MASK1 shift, and go to state 113 |
| 2069 SWIZZLE shift, and go to state 114 |
| 2070 |
| 2071 $default reduce using rule 82 (swizzleSuffix) |
| 2072 |
| 2073 swizzleSuffix go to state 210 |
| 2074 |
| 2075 |
| 2076 state 126 |
| 2077 |
| 2078 61 srcReg: progParamArray . '[' progParamArrayMem ']' |
| 2079 |
| 2080 '[' shift, and go to state 211 |
| 2081 |
| 2082 |
| 2083 state 127 |
| 2084 |
| 2085 60 srcReg: attribBinding . |
| 2086 |
| 2087 $default reduce using rule 60 (srcReg) |
| 2088 |
| 2089 |
| 2090 state 128 |
| 2091 |
| 2092 62 srcReg: paramSingleItemUse . |
| 2093 |
| 2094 $default reduce using rule 62 (srcReg) |
| 2095 |
| 2096 |
| 2097 state 129 |
| 2098 |
| 2099 133 paramSingleItemUse: stateSingleItem . |
| 2100 |
| 2101 $default reduce using rule 133 (paramSingleItemUse) |
| 2102 |
| 2103 |
| 2104 state 130 |
| 2105 |
| 2106 134 paramSingleItemUse: programSingleItem . |
| 2107 |
| 2108 $default reduce using rule 134 (paramSingleItemUse) |
| 2109 |
| 2110 |
| 2111 state 131 |
| 2112 |
| 2113 212 programSingleItem: progEnvParam . |
| 2114 |
| 2115 $default reduce using rule 212 (programSingleItem) |
| 2116 |
| 2117 |
| 2118 state 132 |
| 2119 |
| 2120 213 programSingleItem: progLocalParam . |
| 2121 |
| 2122 $default reduce using rule 213 (programSingleItem) |
| 2123 |
| 2124 |
| 2125 state 133 |
| 2126 |
| 2127 135 paramSingleItemUse: paramConstUse . |
| 2128 |
| 2129 $default reduce using rule 135 (paramSingleItemUse) |
| 2130 |
| 2131 |
| 2132 state 134 |
| 2133 |
| 2134 228 paramConstUse: paramConstScalarUse . |
| 2135 |
| 2136 $default reduce using rule 228 (paramConstUse) |
| 2137 |
| 2138 |
| 2139 state 135 |
| 2140 |
| 2141 229 paramConstUse: paramConstVector . |
| 2142 |
| 2143 $default reduce using rule 229 (paramConstUse) |
| 2144 |
| 2145 |
| 2146 state 136 |
| 2147 |
| 2148 46 SWZ_instruction: SWZ maskedDstReg ',' . srcReg ',' extendedSwizzle |
| 2149 |
| 2150 INTEGER shift, and go to state 116 |
| 2151 REAL shift, and go to state 117 |
| 2152 FRAGMENT shift, and go to state 118 |
| 2153 PROGRAM shift, and go to state 119 |
| 2154 STATE shift, and go to state 120 |
| 2155 VERTEX shift, and go to state 121 |
| 2156 USED_IDENTIFIER shift, and go to state 122 |
| 2157 '{' shift, and go to state 124 |
| 2158 |
| 2159 srcReg go to state 212 |
| 2160 progParamArray go to state 126 |
| 2161 attribBinding go to state 127 |
| 2162 paramSingleItemUse go to state 128 |
| 2163 stateSingleItem go to state 129 |
| 2164 programSingleItem go to state 130 |
| 2165 progEnvParam go to state 131 |
| 2166 progLocalParam go to state 132 |
| 2167 paramConstUse go to state 133 |
| 2168 paramConstScalarUse go to state 134 |
| 2169 paramConstVector go to state 135 |
| 2170 |
| 2171 |
| 2172 state 137 |
| 2173 |
| 2174 32 TXD_instruction: TXD_OP maskedDstReg ',' . swizzleSrcReg ',' swizzleSrcReg
',' swizzleSrcReg ',' texImageUnit ',' texTarget |
| 2175 |
| 2176 '+' shift, and go to state 72 |
| 2177 '-' shift, and go to state 73 |
| 2178 |
| 2179 $default reduce using rule 241 (optionalSign) |
| 2180 |
| 2181 swizzleSrcReg go to state 213 |
| 2182 optionalSign go to state 77 |
| 2183 |
| 2184 |
| 2185 state 138 |
| 2186 |
| 2187 250 OUTPUT_statement: optVarSize OUTPUT IDENTIFIER . '=' resultBinding |
| 2188 |
| 2189 '=' shift, and go to state 214 |
| 2190 |
| 2191 |
| 2192 state 139 |
| 2193 |
| 2194 243 TEMP_statement: optVarSize TEMP @1 . varNameList |
| 2195 |
| 2196 IDENTIFIER shift, and go to state 84 |
| 2197 |
| 2198 varNameList go to state 215 |
| 2199 |
| 2200 |
| 2201 state 140 |
| 2202 |
| 2203 248 varNameList: varNameList ',' . IDENTIFIER |
| 2204 |
| 2205 IDENTIFIER shift, and go to state 216 |
| 2206 |
| 2207 |
| 2208 state 141 |
| 2209 |
| 2210 280 ALIAS_statement: ALIAS IDENTIFIER '=' USED_IDENTIFIER . |
| 2211 |
| 2212 $default reduce using rule 280 (ALIAS_statement) |
| 2213 |
| 2214 |
| 2215 state 142 |
| 2216 |
| 2217 101 ATTRIB_statement: ATTRIB IDENTIFIER '=' attribBinding . |
| 2218 |
| 2219 $default reduce using rule 101 (ATTRIB_statement) |
| 2220 |
| 2221 |
| 2222 state 143 |
| 2223 |
| 2224 125 optArraySize: INTEGER . |
| 2225 |
| 2226 $default reduce using rule 125 (optArraySize) |
| 2227 |
| 2228 |
| 2229 state 144 |
| 2230 |
| 2231 123 PARAM_multipleStmt: PARAM IDENTIFIER '[' optArraySize . ']' paramMultipleI
nit |
| 2232 |
| 2233 ']' shift, and go to state 217 |
| 2234 |
| 2235 |
| 2236 state 145 |
| 2237 |
| 2238 126 paramSingleInit: '=' paramSingleItemDecl . |
| 2239 |
| 2240 $default reduce using rule 126 (paramSingleInit) |
| 2241 |
| 2242 |
| 2243 state 146 |
| 2244 |
| 2245 130 paramSingleItemDecl: stateSingleItem . |
| 2246 |
| 2247 $default reduce using rule 130 (paramSingleItemDecl) |
| 2248 |
| 2249 |
| 2250 state 147 |
| 2251 |
| 2252 131 paramSingleItemDecl: programSingleItem . |
| 2253 |
| 2254 $default reduce using rule 131 (paramSingleItemDecl) |
| 2255 |
| 2256 |
| 2257 state 148 |
| 2258 |
| 2259 132 paramSingleItemDecl: paramConstDecl . |
| 2260 |
| 2261 $default reduce using rule 132 (paramSingleItemDecl) |
| 2262 |
| 2263 |
| 2264 state 149 |
| 2265 |
| 2266 226 paramConstDecl: paramConstScalarDecl . |
| 2267 |
| 2268 $default reduce using rule 226 (paramConstDecl) |
| 2269 |
| 2270 |
| 2271 state 150 |
| 2272 |
| 2273 227 paramConstDecl: paramConstVector . |
| 2274 |
| 2275 $default reduce using rule 227 (paramConstDecl) |
| 2276 |
| 2277 |
| 2278 state 151 |
| 2279 |
| 2280 230 paramConstScalarDecl: signedFloatConstant . |
| 2281 |
| 2282 $default reduce using rule 230 (paramConstScalarDecl) |
| 2283 |
| 2284 |
| 2285 state 152 |
| 2286 |
| 2287 237 signedFloatConstant: optionalSign . REAL |
| 2288 238 | optionalSign . INTEGER |
| 2289 |
| 2290 INTEGER shift, and go to state 218 |
| 2291 REAL shift, and go to state 219 |
| 2292 |
| 2293 |
| 2294 state 153 |
| 2295 |
| 2296 261 optResultFaceType: BACK . |
| 2297 |
| 2298 $default reduce using rule 261 (optResultFaceType) |
| 2299 |
| 2300 |
| 2301 state 154 |
| 2302 |
| 2303 260 optResultFaceType: FRONT . |
| 2304 |
| 2305 $default reduce using rule 260 (optResultFaceType) |
| 2306 |
| 2307 |
| 2308 state 155 |
| 2309 |
| 2310 259 optResultFaceType: '[' . INTEGER ']' |
| 2311 |
| 2312 INTEGER shift, and go to state 220 |
| 2313 |
| 2314 |
| 2315 state 156 |
| 2316 |
| 2317 257 resultColBinding: COLOR optResultFaceType . optResultColorType |
| 2318 |
| 2319 PRIMARY shift, and go to state 221 |
| 2320 SECONDARY shift, and go to state 222 |
| 2321 |
| 2322 $default reduce using rule 262 (optResultColorType) |
| 2323 |
| 2324 optResultColorType go to state 223 |
| 2325 |
| 2326 |
| 2327 state 157 |
| 2328 |
| 2329 272 optTexCoordUnitNum: '[' . texCoordUnitNum ']' |
| 2330 |
| 2331 INTEGER shift, and go to state 224 |
| 2332 |
| 2333 texCoordUnitNum go to state 225 |
| 2334 |
| 2335 |
| 2336 state 158 |
| 2337 |
| 2338 255 resultBinding: RESULT TEXCOORD optTexCoordUnitNum . |
| 2339 |
| 2340 $default reduce using rule 255 (resultBinding) |
| 2341 |
| 2342 |
| 2343 state 159 |
| 2344 |
| 2345 27 BINop_instruction: BIN_OP maskedDstReg ',' swizzleSrcReg . ',' swizzleSrcR
eg |
| 2346 |
| 2347 ',' shift, and go to state 226 |
| 2348 |
| 2349 |
| 2350 state 160 |
| 2351 |
| 2352 88 optionalCcMask: '(' . ccTest ')' |
| 2353 89 | '(' . ccTest2 ')' |
| 2354 |
| 2355 IDENTIFIER shift, and go to state 71 |
| 2356 USED_IDENTIFIER shift, and go to state 227 |
| 2357 |
| 2358 ccTest go to state 228 |
| 2359 ccTest2 go to state 229 |
| 2360 ccMaskRule go to state 76 |
| 2361 ccMaskRule2 go to state 230 |
| 2362 |
| 2363 |
| 2364 state 161 |
| 2365 |
| 2366 53 maskedDstReg: dstReg optionalMask optionalCcMask . |
| 2367 |
| 2368 $default reduce using rule 53 (maskedDstReg) |
| 2369 |
| 2370 |
| 2371 state 162 |
| 2372 |
| 2373 26 BINSCop_instruction: BINSC_OP maskedDstReg ',' scalarSrcReg . ',' scalarSr
cReg |
| 2374 |
| 2375 ',' shift, and go to state 231 |
| 2376 |
| 2377 |
| 2378 state 163 |
| 2379 |
| 2380 47 scalarSrcReg: optionalSign . scalarUse |
| 2381 48 | optionalSign . '|' scalarUse '|' |
| 2382 |
| 2383 INTEGER shift, and go to state 116 |
| 2384 REAL shift, and go to state 117 |
| 2385 FRAGMENT shift, and go to state 118 |
| 2386 PROGRAM shift, and go to state 119 |
| 2387 STATE shift, and go to state 120 |
| 2388 VERTEX shift, and go to state 121 |
| 2389 USED_IDENTIFIER shift, and go to state 122 |
| 2390 '|' shift, and go to state 232 |
| 2391 '{' shift, and go to state 124 |
| 2392 |
| 2393 scalarUse go to state 233 |
| 2394 srcReg go to state 234 |
| 2395 progParamArray go to state 126 |
| 2396 attribBinding go to state 127 |
| 2397 paramSingleItemUse go to state 128 |
| 2398 stateSingleItem go to state 129 |
| 2399 programSingleItem go to state 130 |
| 2400 progEnvParam go to state 131 |
| 2401 progLocalParam go to state 132 |
| 2402 paramConstUse go to state 133 |
| 2403 paramConstScalarUse go to state 235 |
| 2404 paramConstVector go to state 135 |
| 2405 |
| 2406 |
| 2407 state 164 |
| 2408 |
| 2409 29 SAMPLE_instruction: SAMPLE_OP maskedDstReg ',' swizzleSrcReg . ',' texImag
eUnit ',' texTarget |
| 2410 |
| 2411 ',' shift, and go to state 236 |
| 2412 |
| 2413 |
| 2414 state 165 |
| 2415 |
| 2416 25 SCALARop_instruction: SCALAR_OP maskedDstReg ',' scalarSrcReg . |
| 2417 |
| 2418 $default reduce using rule 25 (SCALARop_instruction) |
| 2419 |
| 2420 |
| 2421 state 166 |
| 2422 |
| 2423 28 TRIop_instruction: TRI_OP maskedDstReg ',' swizzleSrcReg . ',' swizzleSrcR
eg ',' swizzleSrcReg |
| 2424 |
| 2425 ',' shift, and go to state 237 |
| 2426 |
| 2427 |
| 2428 state 167 |
| 2429 |
| 2430 24 VECTORop_instruction: VECTOR_OP maskedDstReg ',' swizzleSrcReg . |
| 2431 |
| 2432 $default reduce using rule 24 (VECTORop_instruction) |
| 2433 |
| 2434 |
| 2435 state 168 |
| 2436 |
| 2437 23 ARL_instruction: ARL maskedAddrReg ',' scalarSrcReg . |
| 2438 |
| 2439 $default reduce using rule 23 (ARL_instruction) |
| 2440 |
| 2441 |
| 2442 state 169 |
| 2443 |
| 2444 117 fragAttribItem: COLOR . optColorType |
| 2445 |
| 2446 PRIMARY shift, and go to state 238 |
| 2447 SECONDARY shift, and go to state 239 |
| 2448 |
| 2449 $default reduce using rule 268 (optColorType) |
| 2450 |
| 2451 optColorType go to state 240 |
| 2452 |
| 2453 |
| 2454 state 170 |
| 2455 |
| 2456 118 fragAttribItem: FOGCOORD . |
| 2457 |
| 2458 $default reduce using rule 118 (fragAttribItem) |
| 2459 |
| 2460 |
| 2461 state 171 |
| 2462 |
| 2463 116 fragAttribItem: POSITION . |
| 2464 |
| 2465 $default reduce using rule 116 (fragAttribItem) |
| 2466 |
| 2467 |
| 2468 state 172 |
| 2469 |
| 2470 119 fragAttribItem: TEXCOORD . optTexCoordUnitNum |
| 2471 |
| 2472 '[' shift, and go to state 157 |
| 2473 |
| 2474 $default reduce using rule 271 (optTexCoordUnitNum) |
| 2475 |
| 2476 optTexCoordUnitNum go to state 241 |
| 2477 |
| 2478 |
| 2479 state 173 |
| 2480 |
| 2481 103 attribBinding: FRAGMENT fragAttribItem . |
| 2482 |
| 2483 $default reduce using rule 103 (attribBinding) |
| 2484 |
| 2485 |
| 2486 state 174 |
| 2487 |
| 2488 219 progEnvParam: PROGRAM ENV . '[' progEnvParamNum ']' |
| 2489 |
| 2490 '[' shift, and go to state 242 |
| 2491 |
| 2492 |
| 2493 state 175 |
| 2494 |
| 2495 223 progLocalParam: PROGRAM LOCAL . '[' progLocalParamNum ']' |
| 2496 |
| 2497 '[' shift, and go to state 243 |
| 2498 |
| 2499 |
| 2500 state 176 |
| 2501 |
| 2502 184 stateClipPlaneItem: CLIP . '[' stateClipPlaneNum ']' PLANE |
| 2503 |
| 2504 '[' shift, and go to state 244 |
| 2505 |
| 2506 |
| 2507 state 177 |
| 2508 |
| 2509 211 stateDepthItem: DEPTH . RANGE |
| 2510 |
| 2511 RANGE shift, and go to state 245 |
| 2512 |
| 2513 |
| 2514 state 178 |
| 2515 |
| 2516 181 stateFogItem: FOG . stateFogProperty |
| 2517 |
| 2518 COLOR shift, and go to state 246 |
| 2519 PARAMS shift, and go to state 247 |
| 2520 |
| 2521 stateFogProperty go to state 248 |
| 2522 |
| 2523 |
| 2524 state 179 |
| 2525 |
| 2526 156 stateLightItem: LIGHT . '[' stateLightNumber ']' stateLightProperty |
| 2527 |
| 2528 '[' shift, and go to state 249 |
| 2529 |
| 2530 |
| 2531 state 180 |
| 2532 |
| 2533 163 stateLightModelItem: LIGHTMODEL . stateLModProperty |
| 2534 |
| 2535 AMBIENT shift, and go to state 250 |
| 2536 BACK shift, and go to state 251 |
| 2537 FRONT shift, and go to state 252 |
| 2538 |
| 2539 $default reduce using rule 265 (optFaceType) |
| 2540 |
| 2541 stateLModProperty go to state 253 |
| 2542 optFaceType go to state 254 |
| 2543 |
| 2544 |
| 2545 state 181 |
| 2546 |
| 2547 166 stateLightProdItem: LIGHTPROD . '[' stateLightNumber ']' optFaceType state
LProdProperty |
| 2548 |
| 2549 '[' shift, and go to state 255 |
| 2550 |
| 2551 |
| 2552 state 182 |
| 2553 |
| 2554 152 stateMaterialItem: MATERIAL . optFaceType stateMatProperty |
| 2555 |
| 2556 BACK shift, and go to state 251 |
| 2557 FRONT shift, and go to state 252 |
| 2558 |
| 2559 $default reduce using rule 265 (optFaceType) |
| 2560 |
| 2561 optFaceType go to state 256 |
| 2562 |
| 2563 |
| 2564 state 183 |
| 2565 |
| 2566 193 stateMatrixItem: MATRIX . stateMatrixName stateOptMatModifier |
| 2567 |
| 2568 MAT_PROGRAM shift, and go to state 257 |
| 2569 MODELVIEW shift, and go to state 258 |
| 2570 MVP shift, and go to state 259 |
| 2571 PALETTE shift, and go to state 260 |
| 2572 PROJECTION shift, and go to state 261 |
| 2573 TEXTURE shift, and go to state 262 |
| 2574 |
| 2575 stateMatrixName go to state 263 |
| 2576 |
| 2577 |
| 2578 state 184 |
| 2579 |
| 2580 186 statePointItem: POINT_TOK . statePointProperty |
| 2581 |
| 2582 ATTENUATION shift, and go to state 264 |
| 2583 SIZE_TOK shift, and go to state 265 |
| 2584 |
| 2585 statePointProperty go to state 266 |
| 2586 |
| 2587 |
| 2588 state 185 |
| 2589 |
| 2590 168 stateTexEnvItem: TEXENV . optLegacyTexUnitNum stateTexEnvProperty |
| 2591 |
| 2592 '[' shift, and go to state 267 |
| 2593 |
| 2594 $default reduce using rule 275 (optLegacyTexUnitNum) |
| 2595 |
| 2596 optLegacyTexUnitNum go to state 268 |
| 2597 |
| 2598 |
| 2599 state 186 |
| 2600 |
| 2601 174 stateTexGenItem: TEXGEN . optTexCoordUnitNum stateTexGenType stateTexGenCo
ord |
| 2602 |
| 2603 '[' shift, and go to state 157 |
| 2604 |
| 2605 $default reduce using rule 271 (optTexCoordUnitNum) |
| 2606 |
| 2607 optTexCoordUnitNum go to state 269 |
| 2608 |
| 2609 |
| 2610 state 187 |
| 2611 |
| 2612 141 stateSingleItem: STATE stateMaterialItem . |
| 2613 |
| 2614 $default reduce using rule 141 (stateSingleItem) |
| 2615 |
| 2616 |
| 2617 state 188 |
| 2618 |
| 2619 142 stateSingleItem: STATE stateLightItem . |
| 2620 |
| 2621 $default reduce using rule 142 (stateSingleItem) |
| 2622 |
| 2623 |
| 2624 state 189 |
| 2625 |
| 2626 143 stateSingleItem: STATE stateLightModelItem . |
| 2627 |
| 2628 $default reduce using rule 143 (stateSingleItem) |
| 2629 |
| 2630 |
| 2631 state 190 |
| 2632 |
| 2633 144 stateSingleItem: STATE stateLightProdItem . |
| 2634 |
| 2635 $default reduce using rule 144 (stateSingleItem) |
| 2636 |
| 2637 |
| 2638 state 191 |
| 2639 |
| 2640 146 stateSingleItem: STATE stateTexEnvItem . |
| 2641 |
| 2642 $default reduce using rule 146 (stateSingleItem) |
| 2643 |
| 2644 |
| 2645 state 192 |
| 2646 |
| 2647 145 stateSingleItem: STATE stateTexGenItem . |
| 2648 |
| 2649 $default reduce using rule 145 (stateSingleItem) |
| 2650 |
| 2651 |
| 2652 state 193 |
| 2653 |
| 2654 147 stateSingleItem: STATE stateFogItem . |
| 2655 |
| 2656 $default reduce using rule 147 (stateSingleItem) |
| 2657 |
| 2658 |
| 2659 state 194 |
| 2660 |
| 2661 148 stateSingleItem: STATE stateClipPlaneItem . |
| 2662 |
| 2663 $default reduce using rule 148 (stateSingleItem) |
| 2664 |
| 2665 |
| 2666 state 195 |
| 2667 |
| 2668 149 stateSingleItem: STATE statePointItem . |
| 2669 |
| 2670 $default reduce using rule 149 (stateSingleItem) |
| 2671 |
| 2672 |
| 2673 state 196 |
| 2674 |
| 2675 150 stateSingleItem: STATE stateMatrixRow . |
| 2676 |
| 2677 $default reduce using rule 150 (stateSingleItem) |
| 2678 |
| 2679 |
| 2680 state 197 |
| 2681 |
| 2682 189 stateMatrixRow: stateMatrixItem . ROW '[' stateMatrixRowNum ']' |
| 2683 |
| 2684 ROW shift, and go to state 270 |
| 2685 |
| 2686 |
| 2687 state 198 |
| 2688 |
| 2689 151 stateSingleItem: STATE stateDepthItem . |
| 2690 |
| 2691 $default reduce using rule 151 (stateSingleItem) |
| 2692 |
| 2693 |
| 2694 state 199 |
| 2695 |
| 2696 107 vtxAttribItem: COLOR . optColorType |
| 2697 |
| 2698 PRIMARY shift, and go to state 238 |
| 2699 SECONDARY shift, and go to state 239 |
| 2700 |
| 2701 $default reduce using rule 268 (optColorType) |
| 2702 |
| 2703 optColorType go to state 271 |
| 2704 |
| 2705 |
| 2706 state 200 |
| 2707 |
| 2708 108 vtxAttribItem: FOGCOORD . |
| 2709 |
| 2710 $default reduce using rule 108 (vtxAttribItem) |
| 2711 |
| 2712 |
| 2713 state 201 |
| 2714 |
| 2715 110 vtxAttribItem: MATRIXINDEX . '[' vtxWeightNum ']' |
| 2716 |
| 2717 '[' shift, and go to state 272 |
| 2718 |
| 2719 |
| 2720 state 202 |
| 2721 |
| 2722 106 vtxAttribItem: NORMAL . |
| 2723 |
| 2724 $default reduce using rule 106 (vtxAttribItem) |
| 2725 |
| 2726 |
| 2727 state 203 |
| 2728 |
| 2729 104 vtxAttribItem: POSITION . |
| 2730 |
| 2731 $default reduce using rule 104 (vtxAttribItem) |
| 2732 |
| 2733 |
| 2734 state 204 |
| 2735 |
| 2736 109 vtxAttribItem: TEXCOORD . optTexCoordUnitNum |
| 2737 |
| 2738 '[' shift, and go to state 157 |
| 2739 |
| 2740 $default reduce using rule 271 (optTexCoordUnitNum) |
| 2741 |
| 2742 optTexCoordUnitNum go to state 273 |
| 2743 |
| 2744 |
| 2745 state 205 |
| 2746 |
| 2747 111 vtxAttribItem: VTXATTRIB . '[' vtxAttribNum ']' |
| 2748 |
| 2749 '[' shift, and go to state 274 |
| 2750 |
| 2751 |
| 2752 state 206 |
| 2753 |
| 2754 105 vtxAttribItem: WEIGHT . vtxOptWeightNum |
| 2755 |
| 2756 '[' shift, and go to state 275 |
| 2757 |
| 2758 $default reduce using rule 113 (vtxOptWeightNum) |
| 2759 |
| 2760 vtxOptWeightNum go to state 276 |
| 2761 |
| 2762 |
| 2763 state 207 |
| 2764 |
| 2765 102 attribBinding: VERTEX vtxAttribItem . |
| 2766 |
| 2767 $default reduce using rule 102 (attribBinding) |
| 2768 |
| 2769 |
| 2770 state 208 |
| 2771 |
| 2772 52 swizzleSrcReg: optionalSign '|' srcReg . swizzleSuffix '|' |
| 2773 |
| 2774 MASK4 shift, and go to state 112 |
| 2775 MASK1 shift, and go to state 113 |
| 2776 SWIZZLE shift, and go to state 114 |
| 2777 |
| 2778 $default reduce using rule 82 (swizzleSuffix) |
| 2779 |
| 2780 swizzleSuffix go to state 277 |
| 2781 |
| 2782 |
| 2783 state 209 |
| 2784 |
| 2785 233 paramConstVector: '{' signedFloatConstant . '}' |
| 2786 234 | '{' signedFloatConstant . ',' signedFloatConstant '}' |
| 2787 235 | '{' signedFloatConstant . ',' signedFloatConstant ',' si
gnedFloatConstant '}' |
| 2788 236 | '{' signedFloatConstant . ',' signedFloatConstant ',' si
gnedFloatConstant ',' signedFloatConstant '}' |
| 2789 |
| 2790 ',' shift, and go to state 278 |
| 2791 '}' shift, and go to state 279 |
| 2792 |
| 2793 |
| 2794 state 210 |
| 2795 |
| 2796 51 swizzleSrcReg: optionalSign srcReg swizzleSuffix . |
| 2797 |
| 2798 $default reduce using rule 51 (swizzleSrcReg) |
| 2799 |
| 2800 |
| 2801 state 211 |
| 2802 |
| 2803 61 srcReg: progParamArray '[' . progParamArrayMem ']' |
| 2804 |
| 2805 INTEGER shift, and go to state 280 |
| 2806 USED_IDENTIFIER shift, and go to state 68 |
| 2807 |
| 2808 progParamArrayMem go to state 281 |
| 2809 progParamArrayAbs go to state 282 |
| 2810 progParamArrayRel go to state 283 |
| 2811 addrReg go to state 284 |
| 2812 |
| 2813 |
| 2814 state 212 |
| 2815 |
| 2816 46 SWZ_instruction: SWZ maskedDstReg ',' srcReg . ',' extendedSwizzle |
| 2817 |
| 2818 ',' shift, and go to state 285 |
| 2819 |
| 2820 |
| 2821 state 213 |
| 2822 |
| 2823 32 TXD_instruction: TXD_OP maskedDstReg ',' swizzleSrcReg . ',' swizzleSrcReg
',' swizzleSrcReg ',' texImageUnit ',' texTarget |
| 2824 |
| 2825 ',' shift, and go to state 286 |
| 2826 |
| 2827 |
| 2828 state 214 |
| 2829 |
| 2830 250 OUTPUT_statement: optVarSize OUTPUT IDENTIFIER '=' . resultBinding |
| 2831 |
| 2832 RESULT shift, and go to state 58 |
| 2833 |
| 2834 resultBinding go to state 287 |
| 2835 |
| 2836 |
| 2837 state 215 |
| 2838 |
| 2839 243 TEMP_statement: optVarSize TEMP @1 varNameList . |
| 2840 248 varNameList: varNameList . ',' IDENTIFIER |
| 2841 |
| 2842 ',' shift, and go to state 140 |
| 2843 |
| 2844 $default reduce using rule 243 (TEMP_statement) |
| 2845 |
| 2846 |
| 2847 state 216 |
| 2848 |
| 2849 248 varNameList: varNameList ',' IDENTIFIER . |
| 2850 |
| 2851 $default reduce using rule 248 (varNameList) |
| 2852 |
| 2853 |
| 2854 state 217 |
| 2855 |
| 2856 123 PARAM_multipleStmt: PARAM IDENTIFIER '[' optArraySize ']' . paramMultipleI
nit |
| 2857 |
| 2858 '=' shift, and go to state 288 |
| 2859 |
| 2860 paramMultipleInit go to state 289 |
| 2861 |
| 2862 |
| 2863 state 218 |
| 2864 |
| 2865 238 signedFloatConstant: optionalSign INTEGER . |
| 2866 |
| 2867 $default reduce using rule 238 (signedFloatConstant) |
| 2868 |
| 2869 |
| 2870 state 219 |
| 2871 |
| 2872 237 signedFloatConstant: optionalSign REAL . |
| 2873 |
| 2874 $default reduce using rule 237 (signedFloatConstant) |
| 2875 |
| 2876 |
| 2877 state 220 |
| 2878 |
| 2879 259 optResultFaceType: '[' INTEGER . ']' |
| 2880 |
| 2881 ']' shift, and go to state 290 |
| 2882 |
| 2883 |
| 2884 state 221 |
| 2885 |
| 2886 263 optResultColorType: PRIMARY . |
| 2887 |
| 2888 $default reduce using rule 263 (optResultColorType) |
| 2889 |
| 2890 |
| 2891 state 222 |
| 2892 |
| 2893 264 optResultColorType: SECONDARY . |
| 2894 |
| 2895 $default reduce using rule 264 (optResultColorType) |
| 2896 |
| 2897 |
| 2898 state 223 |
| 2899 |
| 2900 257 resultColBinding: COLOR optResultFaceType optResultColorType . |
| 2901 |
| 2902 $default reduce using rule 257 (resultColBinding) |
| 2903 |
| 2904 |
| 2905 state 224 |
| 2906 |
| 2907 277 texCoordUnitNum: INTEGER . |
| 2908 |
| 2909 $default reduce using rule 277 (texCoordUnitNum) |
| 2910 |
| 2911 |
| 2912 state 225 |
| 2913 |
| 2914 272 optTexCoordUnitNum: '[' texCoordUnitNum . ']' |
| 2915 |
| 2916 ']' shift, and go to state 291 |
| 2917 |
| 2918 |
| 2919 state 226 |
| 2920 |
| 2921 27 BINop_instruction: BIN_OP maskedDstReg ',' swizzleSrcReg ',' . swizzleSrcR
eg |
| 2922 |
| 2923 '+' shift, and go to state 72 |
| 2924 '-' shift, and go to state 73 |
| 2925 |
| 2926 $default reduce using rule 241 (optionalSign) |
| 2927 |
| 2928 swizzleSrcReg go to state 292 |
| 2929 optionalSign go to state 77 |
| 2930 |
| 2931 |
| 2932 state 227 |
| 2933 |
| 2934 94 ccMaskRule2: USED_IDENTIFIER . |
| 2935 |
| 2936 $default reduce using rule 94 (ccMaskRule2) |
| 2937 |
| 2938 |
| 2939 state 228 |
| 2940 |
| 2941 88 optionalCcMask: '(' ccTest . ')' |
| 2942 |
| 2943 ')' shift, and go to state 293 |
| 2944 |
| 2945 |
| 2946 state 229 |
| 2947 |
| 2948 89 optionalCcMask: '(' ccTest2 . ')' |
| 2949 |
| 2950 ')' shift, and go to state 294 |
| 2951 |
| 2952 |
| 2953 state 230 |
| 2954 |
| 2955 92 ccTest2: ccMaskRule2 . swizzleSuffix |
| 2956 |
| 2957 MASK4 shift, and go to state 112 |
| 2958 MASK1 shift, and go to state 113 |
| 2959 SWIZZLE shift, and go to state 114 |
| 2960 |
| 2961 $default reduce using rule 82 (swizzleSuffix) |
| 2962 |
| 2963 swizzleSuffix go to state 295 |
| 2964 |
| 2965 |
| 2966 state 231 |
| 2967 |
| 2968 26 BINSCop_instruction: BINSC_OP maskedDstReg ',' scalarSrcReg ',' . scalarSr
cReg |
| 2969 |
| 2970 '+' shift, and go to state 72 |
| 2971 '-' shift, and go to state 73 |
| 2972 |
| 2973 $default reduce using rule 241 (optionalSign) |
| 2974 |
| 2975 scalarSrcReg go to state 296 |
| 2976 optionalSign go to state 163 |
| 2977 |
| 2978 |
| 2979 state 232 |
| 2980 |
| 2981 48 scalarSrcReg: optionalSign '|' . scalarUse '|' |
| 2982 |
| 2983 INTEGER shift, and go to state 116 |
| 2984 REAL shift, and go to state 117 |
| 2985 FRAGMENT shift, and go to state 118 |
| 2986 PROGRAM shift, and go to state 119 |
| 2987 STATE shift, and go to state 120 |
| 2988 VERTEX shift, and go to state 121 |
| 2989 USED_IDENTIFIER shift, and go to state 122 |
| 2990 '{' shift, and go to state 124 |
| 2991 |
| 2992 scalarUse go to state 297 |
| 2993 srcReg go to state 234 |
| 2994 progParamArray go to state 126 |
| 2995 attribBinding go to state 127 |
| 2996 paramSingleItemUse go to state 128 |
| 2997 stateSingleItem go to state 129 |
| 2998 programSingleItem go to state 130 |
| 2999 progEnvParam go to state 131 |
| 3000 progLocalParam go to state 132 |
| 3001 paramConstUse go to state 133 |
| 3002 paramConstScalarUse go to state 235 |
| 3003 paramConstVector go to state 135 |
| 3004 |
| 3005 |
| 3006 state 233 |
| 3007 |
| 3008 47 scalarSrcReg: optionalSign scalarUse . |
| 3009 |
| 3010 $default reduce using rule 47 (scalarSrcReg) |
| 3011 |
| 3012 |
| 3013 state 234 |
| 3014 |
| 3015 49 scalarUse: srcReg . scalarSuffix |
| 3016 |
| 3017 MASK1 shift, and go to state 298 |
| 3018 |
| 3019 scalarSuffix go to state 299 |
| 3020 |
| 3021 |
| 3022 state 235 |
| 3023 |
| 3024 50 scalarUse: paramConstScalarUse . |
| 3025 228 paramConstUse: paramConstScalarUse . |
| 3026 |
| 3027 MASK1 reduce using rule 228 (paramConstUse) |
| 3028 $default reduce using rule 50 (scalarUse) |
| 3029 |
| 3030 |
| 3031 state 236 |
| 3032 |
| 3033 29 SAMPLE_instruction: SAMPLE_OP maskedDstReg ',' swizzleSrcReg ',' . texImag
eUnit ',' texTarget |
| 3034 |
| 3035 TEXTURE_UNIT shift, and go to state 300 |
| 3036 |
| 3037 texImageUnit go to state 301 |
| 3038 |
| 3039 |
| 3040 state 237 |
| 3041 |
| 3042 28 TRIop_instruction: TRI_OP maskedDstReg ',' swizzleSrcReg ',' . swizzleSrcR
eg ',' swizzleSrcReg |
| 3043 |
| 3044 '+' shift, and go to state 72 |
| 3045 '-' shift, and go to state 73 |
| 3046 |
| 3047 $default reduce using rule 241 (optionalSign) |
| 3048 |
| 3049 swizzleSrcReg go to state 302 |
| 3050 optionalSign go to state 77 |
| 3051 |
| 3052 |
| 3053 state 238 |
| 3054 |
| 3055 269 optColorType: PRIMARY . |
| 3056 |
| 3057 $default reduce using rule 269 (optColorType) |
| 3058 |
| 3059 |
| 3060 state 239 |
| 3061 |
| 3062 270 optColorType: SECONDARY . |
| 3063 |
| 3064 $default reduce using rule 270 (optColorType) |
| 3065 |
| 3066 |
| 3067 state 240 |
| 3068 |
| 3069 117 fragAttribItem: COLOR optColorType . |
| 3070 |
| 3071 $default reduce using rule 117 (fragAttribItem) |
| 3072 |
| 3073 |
| 3074 state 241 |
| 3075 |
| 3076 119 fragAttribItem: TEXCOORD optTexCoordUnitNum . |
| 3077 |
| 3078 $default reduce using rule 119 (fragAttribItem) |
| 3079 |
| 3080 |
| 3081 state 242 |
| 3082 |
| 3083 219 progEnvParam: PROGRAM ENV '[' . progEnvParamNum ']' |
| 3084 |
| 3085 INTEGER shift, and go to state 303 |
| 3086 |
| 3087 progEnvParamNum go to state 304 |
| 3088 |
| 3089 |
| 3090 state 243 |
| 3091 |
| 3092 223 progLocalParam: PROGRAM LOCAL '[' . progLocalParamNum ']' |
| 3093 |
| 3094 INTEGER shift, and go to state 305 |
| 3095 |
| 3096 progLocalParamNum go to state 306 |
| 3097 |
| 3098 |
| 3099 state 244 |
| 3100 |
| 3101 184 stateClipPlaneItem: CLIP '[' . stateClipPlaneNum ']' PLANE |
| 3102 |
| 3103 INTEGER shift, and go to state 307 |
| 3104 |
| 3105 stateClipPlaneNum go to state 308 |
| 3106 |
| 3107 |
| 3108 state 245 |
| 3109 |
| 3110 211 stateDepthItem: DEPTH RANGE . |
| 3111 |
| 3112 $default reduce using rule 211 (stateDepthItem) |
| 3113 |
| 3114 |
| 3115 state 246 |
| 3116 |
| 3117 182 stateFogProperty: COLOR . |
| 3118 |
| 3119 $default reduce using rule 182 (stateFogProperty) |
| 3120 |
| 3121 |
| 3122 state 247 |
| 3123 |
| 3124 183 stateFogProperty: PARAMS . |
| 3125 |
| 3126 $default reduce using rule 183 (stateFogProperty) |
| 3127 |
| 3128 |
| 3129 state 248 |
| 3130 |
| 3131 181 stateFogItem: FOG stateFogProperty . |
| 3132 |
| 3133 $default reduce using rule 181 (stateFogItem) |
| 3134 |
| 3135 |
| 3136 state 249 |
| 3137 |
| 3138 156 stateLightItem: LIGHT '[' . stateLightNumber ']' stateLightProperty |
| 3139 |
| 3140 INTEGER shift, and go to state 309 |
| 3141 |
| 3142 stateLightNumber go to state 310 |
| 3143 |
| 3144 |
| 3145 state 250 |
| 3146 |
| 3147 164 stateLModProperty: AMBIENT . |
| 3148 |
| 3149 $default reduce using rule 164 (stateLModProperty) |
| 3150 |
| 3151 |
| 3152 state 251 |
| 3153 |
| 3154 267 optFaceType: BACK . |
| 3155 |
| 3156 $default reduce using rule 267 (optFaceType) |
| 3157 |
| 3158 |
| 3159 state 252 |
| 3160 |
| 3161 266 optFaceType: FRONT . |
| 3162 |
| 3163 $default reduce using rule 266 (optFaceType) |
| 3164 |
| 3165 |
| 3166 state 253 |
| 3167 |
| 3168 163 stateLightModelItem: LIGHTMODEL stateLModProperty . |
| 3169 |
| 3170 $default reduce using rule 163 (stateLightModelItem) |
| 3171 |
| 3172 |
| 3173 state 254 |
| 3174 |
| 3175 165 stateLModProperty: optFaceType . SCENECOLOR |
| 3176 |
| 3177 SCENECOLOR shift, and go to state 311 |
| 3178 |
| 3179 |
| 3180 state 255 |
| 3181 |
| 3182 166 stateLightProdItem: LIGHTPROD '[' . stateLightNumber ']' optFaceType state
LProdProperty |
| 3183 |
| 3184 INTEGER shift, and go to state 309 |
| 3185 |
| 3186 stateLightNumber go to state 312 |
| 3187 |
| 3188 |
| 3189 state 256 |
| 3190 |
| 3191 152 stateMaterialItem: MATERIAL optFaceType . stateMatProperty |
| 3192 |
| 3193 AMBIENT shift, and go to state 313 |
| 3194 DIFFUSE shift, and go to state 314 |
| 3195 EMISSION shift, and go to state 315 |
| 3196 SHININESS shift, and go to state 316 |
| 3197 SPECULAR shift, and go to state 317 |
| 3198 |
| 3199 stateMatProperty go to state 318 |
| 3200 ambDiffSpecProperty go to state 319 |
| 3201 |
| 3202 |
| 3203 state 257 |
| 3204 |
| 3205 205 stateMatrixName: MAT_PROGRAM . '[' stateProgramMatNum ']' |
| 3206 |
| 3207 '[' shift, and go to state 320 |
| 3208 |
| 3209 |
| 3210 state 258 |
| 3211 |
| 3212 200 stateMatrixName: MODELVIEW . stateOptModMatNum |
| 3213 |
| 3214 '[' shift, and go to state 321 |
| 3215 |
| 3216 $default reduce using rule 206 (stateOptModMatNum) |
| 3217 |
| 3218 stateOptModMatNum go to state 322 |
| 3219 |
| 3220 |
| 3221 state 259 |
| 3222 |
| 3223 202 stateMatrixName: MVP . |
| 3224 |
| 3225 $default reduce using rule 202 (stateMatrixName) |
| 3226 |
| 3227 |
| 3228 state 260 |
| 3229 |
| 3230 204 stateMatrixName: PALETTE . '[' statePaletteMatNum ']' |
| 3231 |
| 3232 '[' shift, and go to state 323 |
| 3233 |
| 3234 |
| 3235 state 261 |
| 3236 |
| 3237 201 stateMatrixName: PROJECTION . |
| 3238 |
| 3239 $default reduce using rule 201 (stateMatrixName) |
| 3240 |
| 3241 |
| 3242 state 262 |
| 3243 |
| 3244 203 stateMatrixName: TEXTURE . optTexCoordUnitNum |
| 3245 |
| 3246 '[' shift, and go to state 157 |
| 3247 |
| 3248 $default reduce using rule 271 (optTexCoordUnitNum) |
| 3249 |
| 3250 optTexCoordUnitNum go to state 324 |
| 3251 |
| 3252 |
| 3253 state 263 |
| 3254 |
| 3255 193 stateMatrixItem: MATRIX stateMatrixName . stateOptMatModifier |
| 3256 |
| 3257 INVERSE shift, and go to state 325 |
| 3258 INVTRANS shift, and go to state 326 |
| 3259 TRANSPOSE shift, and go to state 327 |
| 3260 |
| 3261 $default reduce using rule 194 (stateOptMatModifier) |
| 3262 |
| 3263 stateOptMatModifier go to state 328 |
| 3264 stateMatModifier go to state 329 |
| 3265 |
| 3266 |
| 3267 state 264 |
| 3268 |
| 3269 188 statePointProperty: ATTENUATION . |
| 3270 |
| 3271 $default reduce using rule 188 (statePointProperty) |
| 3272 |
| 3273 |
| 3274 state 265 |
| 3275 |
| 3276 187 statePointProperty: SIZE_TOK . |
| 3277 |
| 3278 $default reduce using rule 187 (statePointProperty) |
| 3279 |
| 3280 |
| 3281 state 266 |
| 3282 |
| 3283 186 statePointItem: POINT_TOK statePointProperty . |
| 3284 |
| 3285 $default reduce using rule 186 (statePointItem) |
| 3286 |
| 3287 |
| 3288 state 267 |
| 3289 |
| 3290 276 optLegacyTexUnitNum: '[' . legacyTexUnitNum ']' |
| 3291 |
| 3292 INTEGER shift, and go to state 330 |
| 3293 |
| 3294 legacyTexUnitNum go to state 331 |
| 3295 |
| 3296 |
| 3297 state 268 |
| 3298 |
| 3299 168 stateTexEnvItem: TEXENV optLegacyTexUnitNum . stateTexEnvProperty |
| 3300 |
| 3301 COLOR shift, and go to state 332 |
| 3302 |
| 3303 stateTexEnvProperty go to state 333 |
| 3304 |
| 3305 |
| 3306 state 269 |
| 3307 |
| 3308 174 stateTexGenItem: TEXGEN optTexCoordUnitNum . stateTexGenType stateTexGenCo
ord |
| 3309 |
| 3310 EYE shift, and go to state 334 |
| 3311 OBJECT shift, and go to state 335 |
| 3312 |
| 3313 stateTexGenType go to state 336 |
| 3314 |
| 3315 |
| 3316 state 270 |
| 3317 |
| 3318 189 stateMatrixRow: stateMatrixItem ROW . '[' stateMatrixRowNum ']' |
| 3319 |
| 3320 '[' shift, and go to state 337 |
| 3321 |
| 3322 |
| 3323 state 271 |
| 3324 |
| 3325 107 vtxAttribItem: COLOR optColorType . |
| 3326 |
| 3327 $default reduce using rule 107 (vtxAttribItem) |
| 3328 |
| 3329 |
| 3330 state 272 |
| 3331 |
| 3332 110 vtxAttribItem: MATRIXINDEX '[' . vtxWeightNum ']' |
| 3333 |
| 3334 INTEGER shift, and go to state 338 |
| 3335 |
| 3336 vtxWeightNum go to state 339 |
| 3337 |
| 3338 |
| 3339 state 273 |
| 3340 |
| 3341 109 vtxAttribItem: TEXCOORD optTexCoordUnitNum . |
| 3342 |
| 3343 $default reduce using rule 109 (vtxAttribItem) |
| 3344 |
| 3345 |
| 3346 state 274 |
| 3347 |
| 3348 111 vtxAttribItem: VTXATTRIB '[' . vtxAttribNum ']' |
| 3349 |
| 3350 INTEGER shift, and go to state 340 |
| 3351 |
| 3352 vtxAttribNum go to state 341 |
| 3353 |
| 3354 |
| 3355 state 275 |
| 3356 |
| 3357 114 vtxOptWeightNum: '[' . vtxWeightNum ']' |
| 3358 |
| 3359 INTEGER shift, and go to state 338 |
| 3360 |
| 3361 vtxWeightNum go to state 342 |
| 3362 |
| 3363 |
| 3364 state 276 |
| 3365 |
| 3366 105 vtxAttribItem: WEIGHT vtxOptWeightNum . |
| 3367 |
| 3368 $default reduce using rule 105 (vtxAttribItem) |
| 3369 |
| 3370 |
| 3371 state 277 |
| 3372 |
| 3373 52 swizzleSrcReg: optionalSign '|' srcReg swizzleSuffix . '|' |
| 3374 |
| 3375 '|' shift, and go to state 343 |
| 3376 |
| 3377 |
| 3378 state 278 |
| 3379 |
| 3380 234 paramConstVector: '{' signedFloatConstant ',' . signedFloatConstant '}' |
| 3381 235 | '{' signedFloatConstant ',' . signedFloatConstant ',' si
gnedFloatConstant '}' |
| 3382 236 | '{' signedFloatConstant ',' . signedFloatConstant ',' si
gnedFloatConstant ',' signedFloatConstant '}' |
| 3383 |
| 3384 '+' shift, and go to state 72 |
| 3385 '-' shift, and go to state 73 |
| 3386 |
| 3387 $default reduce using rule 241 (optionalSign) |
| 3388 |
| 3389 signedFloatConstant go to state 344 |
| 3390 optionalSign go to state 152 |
| 3391 |
| 3392 |
| 3393 state 279 |
| 3394 |
| 3395 233 paramConstVector: '{' signedFloatConstant '}' . |
| 3396 |
| 3397 $default reduce using rule 233 (paramConstVector) |
| 3398 |
| 3399 |
| 3400 state 280 |
| 3401 |
| 3402 68 progParamArrayAbs: INTEGER . |
| 3403 |
| 3404 $default reduce using rule 68 (progParamArrayAbs) |
| 3405 |
| 3406 |
| 3407 state 281 |
| 3408 |
| 3409 61 srcReg: progParamArray '[' progParamArrayMem . ']' |
| 3410 |
| 3411 ']' shift, and go to state 345 |
| 3412 |
| 3413 |
| 3414 state 282 |
| 3415 |
| 3416 66 progParamArrayMem: progParamArrayAbs . |
| 3417 |
| 3418 $default reduce using rule 66 (progParamArrayMem) |
| 3419 |
| 3420 |
| 3421 state 283 |
| 3422 |
| 3423 67 progParamArrayMem: progParamArrayRel . |
| 3424 |
| 3425 $default reduce using rule 67 (progParamArrayMem) |
| 3426 |
| 3427 |
| 3428 state 284 |
| 3429 |
| 3430 69 progParamArrayRel: addrReg . addrComponent addrRegRelOffset |
| 3431 |
| 3432 MASK1 shift, and go to state 346 |
| 3433 |
| 3434 addrComponent go to state 347 |
| 3435 |
| 3436 |
| 3437 state 285 |
| 3438 |
| 3439 46 SWZ_instruction: SWZ maskedDstReg ',' srcReg ',' . extendedSwizzle |
| 3440 |
| 3441 '+' shift, and go to state 72 |
| 3442 '-' shift, and go to state 73 |
| 3443 |
| 3444 $default reduce using rule 241 (optionalSign) |
| 3445 |
| 3446 extendedSwizzle go to state 348 |
| 3447 extSwizComp go to state 349 |
| 3448 optionalSign go to state 350 |
| 3449 |
| 3450 |
| 3451 state 286 |
| 3452 |
| 3453 32 TXD_instruction: TXD_OP maskedDstReg ',' swizzleSrcReg ',' . swizzleSrcReg
',' swizzleSrcReg ',' texImageUnit ',' texTarget |
| 3454 |
| 3455 '+' shift, and go to state 72 |
| 3456 '-' shift, and go to state 73 |
| 3457 |
| 3458 $default reduce using rule 241 (optionalSign) |
| 3459 |
| 3460 swizzleSrcReg go to state 351 |
| 3461 optionalSign go to state 77 |
| 3462 |
| 3463 |
| 3464 state 287 |
| 3465 |
| 3466 250 OUTPUT_statement: optVarSize OUTPUT IDENTIFIER '=' resultBinding . |
| 3467 |
| 3468 $default reduce using rule 250 (OUTPUT_statement) |
| 3469 |
| 3470 |
| 3471 state 288 |
| 3472 |
| 3473 127 paramMultipleInit: '=' . '{' paramMultInitList '}' |
| 3474 |
| 3475 '{' shift, and go to state 352 |
| 3476 |
| 3477 |
| 3478 state 289 |
| 3479 |
| 3480 123 PARAM_multipleStmt: PARAM IDENTIFIER '[' optArraySize ']' paramMultipleIni
t . |
| 3481 |
| 3482 $default reduce using rule 123 (PARAM_multipleStmt) |
| 3483 |
| 3484 |
| 3485 state 290 |
| 3486 |
| 3487 259 optResultFaceType: '[' INTEGER ']' . |
| 3488 |
| 3489 $default reduce using rule 259 (optResultFaceType) |
| 3490 |
| 3491 |
| 3492 state 291 |
| 3493 |
| 3494 272 optTexCoordUnitNum: '[' texCoordUnitNum ']' . |
| 3495 |
| 3496 $default reduce using rule 272 (optTexCoordUnitNum) |
| 3497 |
| 3498 |
| 3499 state 292 |
| 3500 |
| 3501 27 BINop_instruction: BIN_OP maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg
. |
| 3502 |
| 3503 $default reduce using rule 27 (BINop_instruction) |
| 3504 |
| 3505 |
| 3506 state 293 |
| 3507 |
| 3508 88 optionalCcMask: '(' ccTest ')' . |
| 3509 |
| 3510 $default reduce using rule 88 (optionalCcMask) |
| 3511 |
| 3512 |
| 3513 state 294 |
| 3514 |
| 3515 89 optionalCcMask: '(' ccTest2 ')' . |
| 3516 |
| 3517 $default reduce using rule 89 (optionalCcMask) |
| 3518 |
| 3519 |
| 3520 state 295 |
| 3521 |
| 3522 92 ccTest2: ccMaskRule2 swizzleSuffix . |
| 3523 |
| 3524 $default reduce using rule 92 (ccTest2) |
| 3525 |
| 3526 |
| 3527 state 296 |
| 3528 |
| 3529 26 BINSCop_instruction: BINSC_OP maskedDstReg ',' scalarSrcReg ',' scalarSrcR
eg . |
| 3530 |
| 3531 $default reduce using rule 26 (BINSCop_instruction) |
| 3532 |
| 3533 |
| 3534 state 297 |
| 3535 |
| 3536 48 scalarSrcReg: optionalSign '|' scalarUse . '|' |
| 3537 |
| 3538 '|' shift, and go to state 353 |
| 3539 |
| 3540 |
| 3541 state 298 |
| 3542 |
| 3543 78 scalarSuffix: MASK1 . |
| 3544 |
| 3545 $default reduce using rule 78 (scalarSuffix) |
| 3546 |
| 3547 |
| 3548 state 299 |
| 3549 |
| 3550 49 scalarUse: srcReg scalarSuffix . |
| 3551 |
| 3552 $default reduce using rule 49 (scalarUse) |
| 3553 |
| 3554 |
| 3555 state 300 |
| 3556 |
| 3557 33 texImageUnit: TEXTURE_UNIT . optTexImageUnitNum |
| 3558 |
| 3559 '[' shift, and go to state 354 |
| 3560 |
| 3561 $default reduce using rule 273 (optTexImageUnitNum) |
| 3562 |
| 3563 optTexImageUnitNum go to state 355 |
| 3564 |
| 3565 |
| 3566 state 301 |
| 3567 |
| 3568 29 SAMPLE_instruction: SAMPLE_OP maskedDstReg ',' swizzleSrcReg ',' texImageU
nit . ',' texTarget |
| 3569 |
| 3570 ',' shift, and go to state 356 |
| 3571 |
| 3572 |
| 3573 state 302 |
| 3574 |
| 3575 28 TRIop_instruction: TRI_OP maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg
. ',' swizzleSrcReg |
| 3576 |
| 3577 ',' shift, and go to state 357 |
| 3578 |
| 3579 |
| 3580 state 303 |
| 3581 |
| 3582 224 progEnvParamNum: INTEGER . |
| 3583 |
| 3584 $default reduce using rule 224 (progEnvParamNum) |
| 3585 |
| 3586 |
| 3587 state 304 |
| 3588 |
| 3589 219 progEnvParam: PROGRAM ENV '[' progEnvParamNum . ']' |
| 3590 |
| 3591 ']' shift, and go to state 358 |
| 3592 |
| 3593 |
| 3594 state 305 |
| 3595 |
| 3596 225 progLocalParamNum: INTEGER . |
| 3597 |
| 3598 $default reduce using rule 225 (progLocalParamNum) |
| 3599 |
| 3600 |
| 3601 state 306 |
| 3602 |
| 3603 223 progLocalParam: PROGRAM LOCAL '[' progLocalParamNum . ']' |
| 3604 |
| 3605 ']' shift, and go to state 359 |
| 3606 |
| 3607 |
| 3608 state 307 |
| 3609 |
| 3610 185 stateClipPlaneNum: INTEGER . |
| 3611 |
| 3612 $default reduce using rule 185 (stateClipPlaneNum) |
| 3613 |
| 3614 |
| 3615 state 308 |
| 3616 |
| 3617 184 stateClipPlaneItem: CLIP '[' stateClipPlaneNum . ']' PLANE |
| 3618 |
| 3619 ']' shift, and go to state 360 |
| 3620 |
| 3621 |
| 3622 state 309 |
| 3623 |
| 3624 173 stateLightNumber: INTEGER . |
| 3625 |
| 3626 $default reduce using rule 173 (stateLightNumber) |
| 3627 |
| 3628 |
| 3629 state 310 |
| 3630 |
| 3631 156 stateLightItem: LIGHT '[' stateLightNumber . ']' stateLightProperty |
| 3632 |
| 3633 ']' shift, and go to state 361 |
| 3634 |
| 3635 |
| 3636 state 311 |
| 3637 |
| 3638 165 stateLModProperty: optFaceType SCENECOLOR . |
| 3639 |
| 3640 $default reduce using rule 165 (stateLModProperty) |
| 3641 |
| 3642 |
| 3643 state 312 |
| 3644 |
| 3645 166 stateLightProdItem: LIGHTPROD '[' stateLightNumber . ']' optFaceType state
LProdProperty |
| 3646 |
| 3647 ']' shift, and go to state 362 |
| 3648 |
| 3649 |
| 3650 state 313 |
| 3651 |
| 3652 170 ambDiffSpecProperty: AMBIENT . |
| 3653 |
| 3654 $default reduce using rule 170 (ambDiffSpecProperty) |
| 3655 |
| 3656 |
| 3657 state 314 |
| 3658 |
| 3659 171 ambDiffSpecProperty: DIFFUSE . |
| 3660 |
| 3661 $default reduce using rule 171 (ambDiffSpecProperty) |
| 3662 |
| 3663 |
| 3664 state 315 |
| 3665 |
| 3666 154 stateMatProperty: EMISSION . |
| 3667 |
| 3668 $default reduce using rule 154 (stateMatProperty) |
| 3669 |
| 3670 |
| 3671 state 316 |
| 3672 |
| 3673 155 stateMatProperty: SHININESS . |
| 3674 |
| 3675 $default reduce using rule 155 (stateMatProperty) |
| 3676 |
| 3677 |
| 3678 state 317 |
| 3679 |
| 3680 172 ambDiffSpecProperty: SPECULAR . |
| 3681 |
| 3682 $default reduce using rule 172 (ambDiffSpecProperty) |
| 3683 |
| 3684 |
| 3685 state 318 |
| 3686 |
| 3687 152 stateMaterialItem: MATERIAL optFaceType stateMatProperty . |
| 3688 |
| 3689 $default reduce using rule 152 (stateMaterialItem) |
| 3690 |
| 3691 |
| 3692 state 319 |
| 3693 |
| 3694 153 stateMatProperty: ambDiffSpecProperty . |
| 3695 |
| 3696 $default reduce using rule 153 (stateMatProperty) |
| 3697 |
| 3698 |
| 3699 state 320 |
| 3700 |
| 3701 205 stateMatrixName: MAT_PROGRAM '[' . stateProgramMatNum ']' |
| 3702 |
| 3703 INTEGER shift, and go to state 363 |
| 3704 |
| 3705 stateProgramMatNum go to state 364 |
| 3706 |
| 3707 |
| 3708 state 321 |
| 3709 |
| 3710 207 stateOptModMatNum: '[' . stateModMatNum ']' |
| 3711 |
| 3712 INTEGER shift, and go to state 365 |
| 3713 |
| 3714 stateModMatNum go to state 366 |
| 3715 |
| 3716 |
| 3717 state 322 |
| 3718 |
| 3719 200 stateMatrixName: MODELVIEW stateOptModMatNum . |
| 3720 |
| 3721 $default reduce using rule 200 (stateMatrixName) |
| 3722 |
| 3723 |
| 3724 state 323 |
| 3725 |
| 3726 204 stateMatrixName: PALETTE '[' . statePaletteMatNum ']' |
| 3727 |
| 3728 INTEGER shift, and go to state 367 |
| 3729 |
| 3730 statePaletteMatNum go to state 368 |
| 3731 |
| 3732 |
| 3733 state 324 |
| 3734 |
| 3735 203 stateMatrixName: TEXTURE optTexCoordUnitNum . |
| 3736 |
| 3737 $default reduce using rule 203 (stateMatrixName) |
| 3738 |
| 3739 |
| 3740 state 325 |
| 3741 |
| 3742 196 stateMatModifier: INVERSE . |
| 3743 |
| 3744 $default reduce using rule 196 (stateMatModifier) |
| 3745 |
| 3746 |
| 3747 state 326 |
| 3748 |
| 3749 198 stateMatModifier: INVTRANS . |
| 3750 |
| 3751 $default reduce using rule 198 (stateMatModifier) |
| 3752 |
| 3753 |
| 3754 state 327 |
| 3755 |
| 3756 197 stateMatModifier: TRANSPOSE . |
| 3757 |
| 3758 $default reduce using rule 197 (stateMatModifier) |
| 3759 |
| 3760 |
| 3761 state 328 |
| 3762 |
| 3763 193 stateMatrixItem: MATRIX stateMatrixName stateOptMatModifier . |
| 3764 |
| 3765 $default reduce using rule 193 (stateMatrixItem) |
| 3766 |
| 3767 |
| 3768 state 329 |
| 3769 |
| 3770 195 stateOptMatModifier: stateMatModifier . |
| 3771 |
| 3772 $default reduce using rule 195 (stateOptMatModifier) |
| 3773 |
| 3774 |
| 3775 state 330 |
| 3776 |
| 3777 279 legacyTexUnitNum: INTEGER . |
| 3778 |
| 3779 $default reduce using rule 279 (legacyTexUnitNum) |
| 3780 |
| 3781 |
| 3782 state 331 |
| 3783 |
| 3784 276 optLegacyTexUnitNum: '[' legacyTexUnitNum . ']' |
| 3785 |
| 3786 ']' shift, and go to state 369 |
| 3787 |
| 3788 |
| 3789 state 332 |
| 3790 |
| 3791 169 stateTexEnvProperty: COLOR . |
| 3792 |
| 3793 $default reduce using rule 169 (stateTexEnvProperty) |
| 3794 |
| 3795 |
| 3796 state 333 |
| 3797 |
| 3798 168 stateTexEnvItem: TEXENV optLegacyTexUnitNum stateTexEnvProperty . |
| 3799 |
| 3800 $default reduce using rule 168 (stateTexEnvItem) |
| 3801 |
| 3802 |
| 3803 state 334 |
| 3804 |
| 3805 175 stateTexGenType: EYE . |
| 3806 |
| 3807 $default reduce using rule 175 (stateTexGenType) |
| 3808 |
| 3809 |
| 3810 state 335 |
| 3811 |
| 3812 176 stateTexGenType: OBJECT . |
| 3813 |
| 3814 $default reduce using rule 176 (stateTexGenType) |
| 3815 |
| 3816 |
| 3817 state 336 |
| 3818 |
| 3819 174 stateTexGenItem: TEXGEN optTexCoordUnitNum stateTexGenType . stateTexGenCo
ord |
| 3820 |
| 3821 TEXGEN_Q shift, and go to state 370 |
| 3822 TEXGEN_R shift, and go to state 371 |
| 3823 TEXGEN_S shift, and go to state 372 |
| 3824 TEXGEN_T shift, and go to state 373 |
| 3825 |
| 3826 stateTexGenCoord go to state 374 |
| 3827 |
| 3828 |
| 3829 state 337 |
| 3830 |
| 3831 189 stateMatrixRow: stateMatrixItem ROW '[' . stateMatrixRowNum ']' |
| 3832 |
| 3833 INTEGER shift, and go to state 375 |
| 3834 |
| 3835 stateMatrixRowNum go to state 376 |
| 3836 |
| 3837 |
| 3838 state 338 |
| 3839 |
| 3840 115 vtxWeightNum: INTEGER . |
| 3841 |
| 3842 $default reduce using rule 115 (vtxWeightNum) |
| 3843 |
| 3844 |
| 3845 state 339 |
| 3846 |
| 3847 110 vtxAttribItem: MATRIXINDEX '[' vtxWeightNum . ']' |
| 3848 |
| 3849 ']' shift, and go to state 377 |
| 3850 |
| 3851 |
| 3852 state 340 |
| 3853 |
| 3854 112 vtxAttribNum: INTEGER . |
| 3855 |
| 3856 $default reduce using rule 112 (vtxAttribNum) |
| 3857 |
| 3858 |
| 3859 state 341 |
| 3860 |
| 3861 111 vtxAttribItem: VTXATTRIB '[' vtxAttribNum . ']' |
| 3862 |
| 3863 ']' shift, and go to state 378 |
| 3864 |
| 3865 |
| 3866 state 342 |
| 3867 |
| 3868 114 vtxOptWeightNum: '[' vtxWeightNum . ']' |
| 3869 |
| 3870 ']' shift, and go to state 379 |
| 3871 |
| 3872 |
| 3873 state 343 |
| 3874 |
| 3875 52 swizzleSrcReg: optionalSign '|' srcReg swizzleSuffix '|' . |
| 3876 |
| 3877 $default reduce using rule 52 (swizzleSrcReg) |
| 3878 |
| 3879 |
| 3880 state 344 |
| 3881 |
| 3882 234 paramConstVector: '{' signedFloatConstant ',' signedFloatConstant . '}' |
| 3883 235 | '{' signedFloatConstant ',' signedFloatConstant . ',' si
gnedFloatConstant '}' |
| 3884 236 | '{' signedFloatConstant ',' signedFloatConstant . ',' si
gnedFloatConstant ',' signedFloatConstant '}' |
| 3885 |
| 3886 ',' shift, and go to state 380 |
| 3887 '}' shift, and go to state 381 |
| 3888 |
| 3889 |
| 3890 state 345 |
| 3891 |
| 3892 61 srcReg: progParamArray '[' progParamArrayMem ']' . |
| 3893 |
| 3894 $default reduce using rule 61 (srcReg) |
| 3895 |
| 3896 |
| 3897 state 346 |
| 3898 |
| 3899 76 addrComponent: MASK1 . |
| 3900 |
| 3901 $default reduce using rule 76 (addrComponent) |
| 3902 |
| 3903 |
| 3904 state 347 |
| 3905 |
| 3906 69 progParamArrayRel: addrReg addrComponent . addrRegRelOffset |
| 3907 |
| 3908 '+' shift, and go to state 382 |
| 3909 '-' shift, and go to state 383 |
| 3910 |
| 3911 $default reduce using rule 70 (addrRegRelOffset) |
| 3912 |
| 3913 addrRegRelOffset go to state 384 |
| 3914 |
| 3915 |
| 3916 state 348 |
| 3917 |
| 3918 46 SWZ_instruction: SWZ maskedDstReg ',' srcReg ',' extendedSwizzle . |
| 3919 |
| 3920 $default reduce using rule 46 (SWZ_instruction) |
| 3921 |
| 3922 |
| 3923 state 349 |
| 3924 |
| 3925 55 extendedSwizzle: extSwizComp . ',' extSwizComp ',' extSwizComp ',' extSwiz
Comp |
| 3926 |
| 3927 ',' shift, and go to state 385 |
| 3928 |
| 3929 |
| 3930 state 350 |
| 3931 |
| 3932 56 extSwizComp: optionalSign . extSwizSel |
| 3933 |
| 3934 INTEGER shift, and go to state 386 |
| 3935 IDENTIFIER shift, and go to state 10 |
| 3936 USED_IDENTIFIER shift, and go to state 11 |
| 3937 |
| 3938 extSwizSel go to state 387 |
| 3939 string go to state 388 |
| 3940 |
| 3941 |
| 3942 state 351 |
| 3943 |
| 3944 32 TXD_instruction: TXD_OP maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg .
',' swizzleSrcReg ',' texImageUnit ',' texTarget |
| 3945 |
| 3946 ',' shift, and go to state 389 |
| 3947 |
| 3948 |
| 3949 state 352 |
| 3950 |
| 3951 127 paramMultipleInit: '=' '{' . paramMultInitList '}' |
| 3952 |
| 3953 PROGRAM shift, and go to state 390 |
| 3954 STATE shift, and go to state 391 |
| 3955 '+' shift, and go to state 72 |
| 3956 '-' shift, and go to state 73 |
| 3957 '{' shift, and go to state 124 |
| 3958 |
| 3959 $default reduce using rule 241 (optionalSign) |
| 3960 |
| 3961 paramMultInitList go to state 392 |
| 3962 paramMultipleItem go to state 393 |
| 3963 stateMultipleItem go to state 394 |
| 3964 stateSingleItem go to state 395 |
| 3965 programMultipleItem go to state 396 |
| 3966 progEnvParams go to state 397 |
| 3967 progLocalParams go to state 398 |
| 3968 paramConstDecl go to state 399 |
| 3969 paramConstScalarDecl go to state 149 |
| 3970 paramConstVector go to state 150 |
| 3971 signedFloatConstant go to state 151 |
| 3972 optionalSign go to state 152 |
| 3973 |
| 3974 |
| 3975 state 353 |
| 3976 |
| 3977 48 scalarSrcReg: optionalSign '|' scalarUse '|' . |
| 3978 |
| 3979 $default reduce using rule 48 (scalarSrcReg) |
| 3980 |
| 3981 |
| 3982 state 354 |
| 3983 |
| 3984 274 optTexImageUnitNum: '[' . texImageUnitNum ']' |
| 3985 |
| 3986 INTEGER shift, and go to state 400 |
| 3987 |
| 3988 texImageUnitNum go to state 401 |
| 3989 |
| 3990 |
| 3991 state 355 |
| 3992 |
| 3993 33 texImageUnit: TEXTURE_UNIT optTexImageUnitNum . |
| 3994 |
| 3995 $default reduce using rule 33 (texImageUnit) |
| 3996 |
| 3997 |
| 3998 state 356 |
| 3999 |
| 4000 29 SAMPLE_instruction: SAMPLE_OP maskedDstReg ',' swizzleSrcReg ',' texImageU
nit ',' . texTarget |
| 4001 |
| 4002 TEX_1D shift, and go to state 402 |
| 4003 TEX_2D shift, and go to state 403 |
| 4004 TEX_3D shift, and go to state 404 |
| 4005 TEX_CUBE shift, and go to state 405 |
| 4006 TEX_RECT shift, and go to state 406 |
| 4007 TEX_SHADOW1D shift, and go to state 407 |
| 4008 TEX_SHADOW2D shift, and go to state 408 |
| 4009 TEX_SHADOWRECT shift, and go to state 409 |
| 4010 TEX_ARRAY1D shift, and go to state 410 |
| 4011 TEX_ARRAY2D shift, and go to state 411 |
| 4012 TEX_ARRAYSHADOW1D shift, and go to state 412 |
| 4013 TEX_ARRAYSHADOW2D shift, and go to state 413 |
| 4014 |
| 4015 texTarget go to state 414 |
| 4016 |
| 4017 |
| 4018 state 357 |
| 4019 |
| 4020 28 TRIop_instruction: TRI_OP maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg
',' . swizzleSrcReg |
| 4021 |
| 4022 '+' shift, and go to state 72 |
| 4023 '-' shift, and go to state 73 |
| 4024 |
| 4025 $default reduce using rule 241 (optionalSign) |
| 4026 |
| 4027 swizzleSrcReg go to state 415 |
| 4028 optionalSign go to state 77 |
| 4029 |
| 4030 |
| 4031 state 358 |
| 4032 |
| 4033 219 progEnvParam: PROGRAM ENV '[' progEnvParamNum ']' . |
| 4034 |
| 4035 $default reduce using rule 219 (progEnvParam) |
| 4036 |
| 4037 |
| 4038 state 359 |
| 4039 |
| 4040 223 progLocalParam: PROGRAM LOCAL '[' progLocalParamNum ']' . |
| 4041 |
| 4042 $default reduce using rule 223 (progLocalParam) |
| 4043 |
| 4044 |
| 4045 state 360 |
| 4046 |
| 4047 184 stateClipPlaneItem: CLIP '[' stateClipPlaneNum ']' . PLANE |
| 4048 |
| 4049 PLANE shift, and go to state 416 |
| 4050 |
| 4051 |
| 4052 state 361 |
| 4053 |
| 4054 156 stateLightItem: LIGHT '[' stateLightNumber ']' . stateLightProperty |
| 4055 |
| 4056 AMBIENT shift, and go to state 313 |
| 4057 ATTENUATION shift, and go to state 417 |
| 4058 DIFFUSE shift, and go to state 314 |
| 4059 HALF shift, and go to state 418 |
| 4060 POSITION shift, and go to state 419 |
| 4061 SPECULAR shift, and go to state 317 |
| 4062 SPOT shift, and go to state 420 |
| 4063 |
| 4064 stateLightProperty go to state 421 |
| 4065 ambDiffSpecProperty go to state 422 |
| 4066 |
| 4067 |
| 4068 state 362 |
| 4069 |
| 4070 166 stateLightProdItem: LIGHTPROD '[' stateLightNumber ']' . optFaceType state
LProdProperty |
| 4071 |
| 4072 BACK shift, and go to state 251 |
| 4073 FRONT shift, and go to state 252 |
| 4074 |
| 4075 $default reduce using rule 265 (optFaceType) |
| 4076 |
| 4077 optFaceType go to state 423 |
| 4078 |
| 4079 |
| 4080 state 363 |
| 4081 |
| 4082 210 stateProgramMatNum: INTEGER . |
| 4083 |
| 4084 $default reduce using rule 210 (stateProgramMatNum) |
| 4085 |
| 4086 |
| 4087 state 364 |
| 4088 |
| 4089 205 stateMatrixName: MAT_PROGRAM '[' stateProgramMatNum . ']' |
| 4090 |
| 4091 ']' shift, and go to state 424 |
| 4092 |
| 4093 |
| 4094 state 365 |
| 4095 |
| 4096 208 stateModMatNum: INTEGER . |
| 4097 |
| 4098 $default reduce using rule 208 (stateModMatNum) |
| 4099 |
| 4100 |
| 4101 state 366 |
| 4102 |
| 4103 207 stateOptModMatNum: '[' stateModMatNum . ']' |
| 4104 |
| 4105 ']' shift, and go to state 425 |
| 4106 |
| 4107 |
| 4108 state 367 |
| 4109 |
| 4110 209 statePaletteMatNum: INTEGER . |
| 4111 |
| 4112 $default reduce using rule 209 (statePaletteMatNum) |
| 4113 |
| 4114 |
| 4115 state 368 |
| 4116 |
| 4117 204 stateMatrixName: PALETTE '[' statePaletteMatNum . ']' |
| 4118 |
| 4119 ']' shift, and go to state 426 |
| 4120 |
| 4121 |
| 4122 state 369 |
| 4123 |
| 4124 276 optLegacyTexUnitNum: '[' legacyTexUnitNum ']' . |
| 4125 |
| 4126 $default reduce using rule 276 (optLegacyTexUnitNum) |
| 4127 |
| 4128 |
| 4129 state 370 |
| 4130 |
| 4131 180 stateTexGenCoord: TEXGEN_Q . |
| 4132 |
| 4133 $default reduce using rule 180 (stateTexGenCoord) |
| 4134 |
| 4135 |
| 4136 state 371 |
| 4137 |
| 4138 179 stateTexGenCoord: TEXGEN_R . |
| 4139 |
| 4140 $default reduce using rule 179 (stateTexGenCoord) |
| 4141 |
| 4142 |
| 4143 state 372 |
| 4144 |
| 4145 177 stateTexGenCoord: TEXGEN_S . |
| 4146 |
| 4147 $default reduce using rule 177 (stateTexGenCoord) |
| 4148 |
| 4149 |
| 4150 state 373 |
| 4151 |
| 4152 178 stateTexGenCoord: TEXGEN_T . |
| 4153 |
| 4154 $default reduce using rule 178 (stateTexGenCoord) |
| 4155 |
| 4156 |
| 4157 state 374 |
| 4158 |
| 4159 174 stateTexGenItem: TEXGEN optTexCoordUnitNum stateTexGenType stateTexGenCoor
d . |
| 4160 |
| 4161 $default reduce using rule 174 (stateTexGenItem) |
| 4162 |
| 4163 |
| 4164 state 375 |
| 4165 |
| 4166 199 stateMatrixRowNum: INTEGER . |
| 4167 |
| 4168 $default reduce using rule 199 (stateMatrixRowNum) |
| 4169 |
| 4170 |
| 4171 state 376 |
| 4172 |
| 4173 189 stateMatrixRow: stateMatrixItem ROW '[' stateMatrixRowNum . ']' |
| 4174 |
| 4175 ']' shift, and go to state 427 |
| 4176 |
| 4177 |
| 4178 state 377 |
| 4179 |
| 4180 110 vtxAttribItem: MATRIXINDEX '[' vtxWeightNum ']' . |
| 4181 |
| 4182 $default reduce using rule 110 (vtxAttribItem) |
| 4183 |
| 4184 |
| 4185 state 378 |
| 4186 |
| 4187 111 vtxAttribItem: VTXATTRIB '[' vtxAttribNum ']' . |
| 4188 |
| 4189 $default reduce using rule 111 (vtxAttribItem) |
| 4190 |
| 4191 |
| 4192 state 379 |
| 4193 |
| 4194 114 vtxOptWeightNum: '[' vtxWeightNum ']' . |
| 4195 |
| 4196 $default reduce using rule 114 (vtxOptWeightNum) |
| 4197 |
| 4198 |
| 4199 state 380 |
| 4200 |
| 4201 235 paramConstVector: '{' signedFloatConstant ',' signedFloatConstant ',' . si
gnedFloatConstant '}' |
| 4202 236 | '{' signedFloatConstant ',' signedFloatConstant ',' . si
gnedFloatConstant ',' signedFloatConstant '}' |
| 4203 |
| 4204 '+' shift, and go to state 72 |
| 4205 '-' shift, and go to state 73 |
| 4206 |
| 4207 $default reduce using rule 241 (optionalSign) |
| 4208 |
| 4209 signedFloatConstant go to state 428 |
| 4210 optionalSign go to state 152 |
| 4211 |
| 4212 |
| 4213 state 381 |
| 4214 |
| 4215 234 paramConstVector: '{' signedFloatConstant ',' signedFloatConstant '}' . |
| 4216 |
| 4217 $default reduce using rule 234 (paramConstVector) |
| 4218 |
| 4219 |
| 4220 state 382 |
| 4221 |
| 4222 71 addrRegRelOffset: '+' . addrRegPosOffset |
| 4223 |
| 4224 INTEGER shift, and go to state 429 |
| 4225 |
| 4226 addrRegPosOffset go to state 430 |
| 4227 |
| 4228 |
| 4229 state 383 |
| 4230 |
| 4231 72 addrRegRelOffset: '-' . addrRegNegOffset |
| 4232 |
| 4233 INTEGER shift, and go to state 431 |
| 4234 |
| 4235 addrRegNegOffset go to state 432 |
| 4236 |
| 4237 |
| 4238 state 384 |
| 4239 |
| 4240 69 progParamArrayRel: addrReg addrComponent addrRegRelOffset . |
| 4241 |
| 4242 $default reduce using rule 69 (progParamArrayRel) |
| 4243 |
| 4244 |
| 4245 state 385 |
| 4246 |
| 4247 55 extendedSwizzle: extSwizComp ',' . extSwizComp ',' extSwizComp ',' extSwiz
Comp |
| 4248 |
| 4249 '+' shift, and go to state 72 |
| 4250 '-' shift, and go to state 73 |
| 4251 |
| 4252 $default reduce using rule 241 (optionalSign) |
| 4253 |
| 4254 extSwizComp go to state 433 |
| 4255 optionalSign go to state 350 |
| 4256 |
| 4257 |
| 4258 state 386 |
| 4259 |
| 4260 57 extSwizSel: INTEGER . |
| 4261 |
| 4262 $default reduce using rule 57 (extSwizSel) |
| 4263 |
| 4264 |
| 4265 state 387 |
| 4266 |
| 4267 56 extSwizComp: optionalSign extSwizSel . |
| 4268 |
| 4269 $default reduce using rule 56 (extSwizComp) |
| 4270 |
| 4271 |
| 4272 state 388 |
| 4273 |
| 4274 58 extSwizSel: string . |
| 4275 |
| 4276 $default reduce using rule 58 (extSwizSel) |
| 4277 |
| 4278 |
| 4279 state 389 |
| 4280 |
| 4281 32 TXD_instruction: TXD_OP maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg '
,' . swizzleSrcReg ',' texImageUnit ',' texTarget |
| 4282 |
| 4283 '+' shift, and go to state 72 |
| 4284 '-' shift, and go to state 73 |
| 4285 |
| 4286 $default reduce using rule 241 (optionalSign) |
| 4287 |
| 4288 swizzleSrcReg go to state 434 |
| 4289 optionalSign go to state 77 |
| 4290 |
| 4291 |
| 4292 state 390 |
| 4293 |
| 4294 216 progEnvParams: PROGRAM . ENV '[' progEnvParamNums ']' |
| 4295 220 progLocalParams: PROGRAM . LOCAL '[' progLocalParamNums ']' |
| 4296 |
| 4297 ENV shift, and go to state 435 |
| 4298 LOCAL shift, and go to state 436 |
| 4299 |
| 4300 |
| 4301 state 391 |
| 4302 |
| 4303 140 stateMultipleItem: STATE . stateMatrixRows |
| 4304 141 stateSingleItem: STATE . stateMaterialItem |
| 4305 142 | STATE . stateLightItem |
| 4306 143 | STATE . stateLightModelItem |
| 4307 144 | STATE . stateLightProdItem |
| 4308 145 | STATE . stateTexGenItem |
| 4309 146 | STATE . stateTexEnvItem |
| 4310 147 | STATE . stateFogItem |
| 4311 148 | STATE . stateClipPlaneItem |
| 4312 149 | STATE . statePointItem |
| 4313 150 | STATE . stateMatrixRow |
| 4314 151 | STATE . stateDepthItem |
| 4315 |
| 4316 CLIP shift, and go to state 176 |
| 4317 DEPTH shift, and go to state 177 |
| 4318 FOG shift, and go to state 178 |
| 4319 LIGHT shift, and go to state 179 |
| 4320 LIGHTMODEL shift, and go to state 180 |
| 4321 LIGHTPROD shift, and go to state 181 |
| 4322 MATERIAL shift, and go to state 182 |
| 4323 MATRIX shift, and go to state 183 |
| 4324 POINT_TOK shift, and go to state 184 |
| 4325 TEXENV shift, and go to state 185 |
| 4326 TEXGEN shift, and go to state 186 |
| 4327 |
| 4328 stateMaterialItem go to state 187 |
| 4329 stateLightItem go to state 188 |
| 4330 stateLightModelItem go to state 189 |
| 4331 stateLightProdItem go to state 190 |
| 4332 stateTexEnvItem go to state 191 |
| 4333 stateTexGenItem go to state 192 |
| 4334 stateFogItem go to state 193 |
| 4335 stateClipPlaneItem go to state 194 |
| 4336 statePointItem go to state 195 |
| 4337 stateMatrixRow go to state 196 |
| 4338 stateMatrixRows go to state 437 |
| 4339 stateMatrixItem go to state 438 |
| 4340 stateDepthItem go to state 198 |
| 4341 |
| 4342 |
| 4343 state 392 |
| 4344 |
| 4345 127 paramMultipleInit: '=' '{' paramMultInitList . '}' |
| 4346 129 paramMultInitList: paramMultInitList . ',' paramMultipleItem |
| 4347 |
| 4348 ',' shift, and go to state 439 |
| 4349 '}' shift, and go to state 440 |
| 4350 |
| 4351 |
| 4352 state 393 |
| 4353 |
| 4354 128 paramMultInitList: paramMultipleItem . |
| 4355 |
| 4356 $default reduce using rule 128 (paramMultInitList) |
| 4357 |
| 4358 |
| 4359 state 394 |
| 4360 |
| 4361 136 paramMultipleItem: stateMultipleItem . |
| 4362 |
| 4363 $default reduce using rule 136 (paramMultipleItem) |
| 4364 |
| 4365 |
| 4366 state 395 |
| 4367 |
| 4368 139 stateMultipleItem: stateSingleItem . |
| 4369 |
| 4370 $default reduce using rule 139 (stateMultipleItem) |
| 4371 |
| 4372 |
| 4373 state 396 |
| 4374 |
| 4375 137 paramMultipleItem: programMultipleItem . |
| 4376 |
| 4377 $default reduce using rule 137 (paramMultipleItem) |
| 4378 |
| 4379 |
| 4380 state 397 |
| 4381 |
| 4382 214 programMultipleItem: progEnvParams . |
| 4383 |
| 4384 $default reduce using rule 214 (programMultipleItem) |
| 4385 |
| 4386 |
| 4387 state 398 |
| 4388 |
| 4389 215 programMultipleItem: progLocalParams . |
| 4390 |
| 4391 $default reduce using rule 215 (programMultipleItem) |
| 4392 |
| 4393 |
| 4394 state 399 |
| 4395 |
| 4396 138 paramMultipleItem: paramConstDecl . |
| 4397 |
| 4398 $default reduce using rule 138 (paramMultipleItem) |
| 4399 |
| 4400 |
| 4401 state 400 |
| 4402 |
| 4403 278 texImageUnitNum: INTEGER . |
| 4404 |
| 4405 $default reduce using rule 278 (texImageUnitNum) |
| 4406 |
| 4407 |
| 4408 state 401 |
| 4409 |
| 4410 274 optTexImageUnitNum: '[' texImageUnitNum . ']' |
| 4411 |
| 4412 ']' shift, and go to state 441 |
| 4413 |
| 4414 |
| 4415 state 402 |
| 4416 |
| 4417 34 texTarget: TEX_1D . |
| 4418 |
| 4419 $default reduce using rule 34 (texTarget) |
| 4420 |
| 4421 |
| 4422 state 403 |
| 4423 |
| 4424 35 texTarget: TEX_2D . |
| 4425 |
| 4426 $default reduce using rule 35 (texTarget) |
| 4427 |
| 4428 |
| 4429 state 404 |
| 4430 |
| 4431 36 texTarget: TEX_3D . |
| 4432 |
| 4433 $default reduce using rule 36 (texTarget) |
| 4434 |
| 4435 |
| 4436 state 405 |
| 4437 |
| 4438 37 texTarget: TEX_CUBE . |
| 4439 |
| 4440 $default reduce using rule 37 (texTarget) |
| 4441 |
| 4442 |
| 4443 state 406 |
| 4444 |
| 4445 38 texTarget: TEX_RECT . |
| 4446 |
| 4447 $default reduce using rule 38 (texTarget) |
| 4448 |
| 4449 |
| 4450 state 407 |
| 4451 |
| 4452 39 texTarget: TEX_SHADOW1D . |
| 4453 |
| 4454 $default reduce using rule 39 (texTarget) |
| 4455 |
| 4456 |
| 4457 state 408 |
| 4458 |
| 4459 40 texTarget: TEX_SHADOW2D . |
| 4460 |
| 4461 $default reduce using rule 40 (texTarget) |
| 4462 |
| 4463 |
| 4464 state 409 |
| 4465 |
| 4466 41 texTarget: TEX_SHADOWRECT . |
| 4467 |
| 4468 $default reduce using rule 41 (texTarget) |
| 4469 |
| 4470 |
| 4471 state 410 |
| 4472 |
| 4473 42 texTarget: TEX_ARRAY1D . |
| 4474 |
| 4475 $default reduce using rule 42 (texTarget) |
| 4476 |
| 4477 |
| 4478 state 411 |
| 4479 |
| 4480 43 texTarget: TEX_ARRAY2D . |
| 4481 |
| 4482 $default reduce using rule 43 (texTarget) |
| 4483 |
| 4484 |
| 4485 state 412 |
| 4486 |
| 4487 44 texTarget: TEX_ARRAYSHADOW1D . |
| 4488 |
| 4489 $default reduce using rule 44 (texTarget) |
| 4490 |
| 4491 |
| 4492 state 413 |
| 4493 |
| 4494 45 texTarget: TEX_ARRAYSHADOW2D . |
| 4495 |
| 4496 $default reduce using rule 45 (texTarget) |
| 4497 |
| 4498 |
| 4499 state 414 |
| 4500 |
| 4501 29 SAMPLE_instruction: SAMPLE_OP maskedDstReg ',' swizzleSrcReg ',' texImageU
nit ',' texTarget . |
| 4502 |
| 4503 $default reduce using rule 29 (SAMPLE_instruction) |
| 4504 |
| 4505 |
| 4506 state 415 |
| 4507 |
| 4508 28 TRIop_instruction: TRI_OP maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg
',' swizzleSrcReg . |
| 4509 |
| 4510 $default reduce using rule 28 (TRIop_instruction) |
| 4511 |
| 4512 |
| 4513 state 416 |
| 4514 |
| 4515 184 stateClipPlaneItem: CLIP '[' stateClipPlaneNum ']' PLANE . |
| 4516 |
| 4517 $default reduce using rule 184 (stateClipPlaneItem) |
| 4518 |
| 4519 |
| 4520 state 417 |
| 4521 |
| 4522 159 stateLightProperty: ATTENUATION . |
| 4523 |
| 4524 $default reduce using rule 159 (stateLightProperty) |
| 4525 |
| 4526 |
| 4527 state 418 |
| 4528 |
| 4529 161 stateLightProperty: HALF . |
| 4530 |
| 4531 $default reduce using rule 161 (stateLightProperty) |
| 4532 |
| 4533 |
| 4534 state 419 |
| 4535 |
| 4536 158 stateLightProperty: POSITION . |
| 4537 |
| 4538 $default reduce using rule 158 (stateLightProperty) |
| 4539 |
| 4540 |
| 4541 state 420 |
| 4542 |
| 4543 160 stateLightProperty: SPOT . stateSpotProperty |
| 4544 |
| 4545 DIRECTION shift, and go to state 442 |
| 4546 |
| 4547 stateSpotProperty go to state 443 |
| 4548 |
| 4549 |
| 4550 state 421 |
| 4551 |
| 4552 156 stateLightItem: LIGHT '[' stateLightNumber ']' stateLightProperty . |
| 4553 |
| 4554 $default reduce using rule 156 (stateLightItem) |
| 4555 |
| 4556 |
| 4557 state 422 |
| 4558 |
| 4559 157 stateLightProperty: ambDiffSpecProperty . |
| 4560 |
| 4561 $default reduce using rule 157 (stateLightProperty) |
| 4562 |
| 4563 |
| 4564 state 423 |
| 4565 |
| 4566 166 stateLightProdItem: LIGHTPROD '[' stateLightNumber ']' optFaceType . state
LProdProperty |
| 4567 |
| 4568 AMBIENT shift, and go to state 313 |
| 4569 DIFFUSE shift, and go to state 314 |
| 4570 SPECULAR shift, and go to state 317 |
| 4571 |
| 4572 stateLProdProperty go to state 444 |
| 4573 ambDiffSpecProperty go to state 445 |
| 4574 |
| 4575 |
| 4576 state 424 |
| 4577 |
| 4578 205 stateMatrixName: MAT_PROGRAM '[' stateProgramMatNum ']' . |
| 4579 |
| 4580 $default reduce using rule 205 (stateMatrixName) |
| 4581 |
| 4582 |
| 4583 state 425 |
| 4584 |
| 4585 207 stateOptModMatNum: '[' stateModMatNum ']' . |
| 4586 |
| 4587 $default reduce using rule 207 (stateOptModMatNum) |
| 4588 |
| 4589 |
| 4590 state 426 |
| 4591 |
| 4592 204 stateMatrixName: PALETTE '[' statePaletteMatNum ']' . |
| 4593 |
| 4594 $default reduce using rule 204 (stateMatrixName) |
| 4595 |
| 4596 |
| 4597 state 427 |
| 4598 |
| 4599 189 stateMatrixRow: stateMatrixItem ROW '[' stateMatrixRowNum ']' . |
| 4600 |
| 4601 $default reduce using rule 189 (stateMatrixRow) |
| 4602 |
| 4603 |
| 4604 state 428 |
| 4605 |
| 4606 235 paramConstVector: '{' signedFloatConstant ',' signedFloatConstant ',' sign
edFloatConstant . '}' |
| 4607 236 | '{' signedFloatConstant ',' signedFloatConstant ',' sign
edFloatConstant . ',' signedFloatConstant '}' |
| 4608 |
| 4609 ',' shift, and go to state 446 |
| 4610 '}' shift, and go to state 447 |
| 4611 |
| 4612 |
| 4613 state 429 |
| 4614 |
| 4615 73 addrRegPosOffset: INTEGER . |
| 4616 |
| 4617 $default reduce using rule 73 (addrRegPosOffset) |
| 4618 |
| 4619 |
| 4620 state 430 |
| 4621 |
| 4622 71 addrRegRelOffset: '+' addrRegPosOffset . |
| 4623 |
| 4624 $default reduce using rule 71 (addrRegRelOffset) |
| 4625 |
| 4626 |
| 4627 state 431 |
| 4628 |
| 4629 74 addrRegNegOffset: INTEGER . |
| 4630 |
| 4631 $default reduce using rule 74 (addrRegNegOffset) |
| 4632 |
| 4633 |
| 4634 state 432 |
| 4635 |
| 4636 72 addrRegRelOffset: '-' addrRegNegOffset . |
| 4637 |
| 4638 $default reduce using rule 72 (addrRegRelOffset) |
| 4639 |
| 4640 |
| 4641 state 433 |
| 4642 |
| 4643 55 extendedSwizzle: extSwizComp ',' extSwizComp . ',' extSwizComp ',' extSwiz
Comp |
| 4644 |
| 4645 ',' shift, and go to state 448 |
| 4646 |
| 4647 |
| 4648 state 434 |
| 4649 |
| 4650 32 TXD_instruction: TXD_OP maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg '
,' swizzleSrcReg . ',' texImageUnit ',' texTarget |
| 4651 |
| 4652 ',' shift, and go to state 449 |
| 4653 |
| 4654 |
| 4655 state 435 |
| 4656 |
| 4657 216 progEnvParams: PROGRAM ENV . '[' progEnvParamNums ']' |
| 4658 |
| 4659 '[' shift, and go to state 450 |
| 4660 |
| 4661 |
| 4662 state 436 |
| 4663 |
| 4664 220 progLocalParams: PROGRAM LOCAL . '[' progLocalParamNums ']' |
| 4665 |
| 4666 '[' shift, and go to state 451 |
| 4667 |
| 4668 |
| 4669 state 437 |
| 4670 |
| 4671 140 stateMultipleItem: STATE stateMatrixRows . |
| 4672 |
| 4673 $default reduce using rule 140 (stateMultipleItem) |
| 4674 |
| 4675 |
| 4676 state 438 |
| 4677 |
| 4678 189 stateMatrixRow: stateMatrixItem . ROW '[' stateMatrixRowNum ']' |
| 4679 190 stateMatrixRows: stateMatrixItem . optMatrixRows |
| 4680 |
| 4681 ROW shift, and go to state 452 |
| 4682 |
| 4683 $default reduce using rule 191 (optMatrixRows) |
| 4684 |
| 4685 optMatrixRows go to state 453 |
| 4686 |
| 4687 |
| 4688 state 439 |
| 4689 |
| 4690 129 paramMultInitList: paramMultInitList ',' . paramMultipleItem |
| 4691 |
| 4692 PROGRAM shift, and go to state 390 |
| 4693 STATE shift, and go to state 391 |
| 4694 '+' shift, and go to state 72 |
| 4695 '-' shift, and go to state 73 |
| 4696 '{' shift, and go to state 124 |
| 4697 |
| 4698 $default reduce using rule 241 (optionalSign) |
| 4699 |
| 4700 paramMultipleItem go to state 454 |
| 4701 stateMultipleItem go to state 394 |
| 4702 stateSingleItem go to state 395 |
| 4703 programMultipleItem go to state 396 |
| 4704 progEnvParams go to state 397 |
| 4705 progLocalParams go to state 398 |
| 4706 paramConstDecl go to state 399 |
| 4707 paramConstScalarDecl go to state 149 |
| 4708 paramConstVector go to state 150 |
| 4709 signedFloatConstant go to state 151 |
| 4710 optionalSign go to state 152 |
| 4711 |
| 4712 |
| 4713 state 440 |
| 4714 |
| 4715 127 paramMultipleInit: '=' '{' paramMultInitList '}' . |
| 4716 |
| 4717 $default reduce using rule 127 (paramMultipleInit) |
| 4718 |
| 4719 |
| 4720 state 441 |
| 4721 |
| 4722 274 optTexImageUnitNum: '[' texImageUnitNum ']' . |
| 4723 |
| 4724 $default reduce using rule 274 (optTexImageUnitNum) |
| 4725 |
| 4726 |
| 4727 state 442 |
| 4728 |
| 4729 162 stateSpotProperty: DIRECTION . |
| 4730 |
| 4731 $default reduce using rule 162 (stateSpotProperty) |
| 4732 |
| 4733 |
| 4734 state 443 |
| 4735 |
| 4736 160 stateLightProperty: SPOT stateSpotProperty . |
| 4737 |
| 4738 $default reduce using rule 160 (stateLightProperty) |
| 4739 |
| 4740 |
| 4741 state 444 |
| 4742 |
| 4743 166 stateLightProdItem: LIGHTPROD '[' stateLightNumber ']' optFaceType stateLP
rodProperty . |
| 4744 |
| 4745 $default reduce using rule 166 (stateLightProdItem) |
| 4746 |
| 4747 |
| 4748 state 445 |
| 4749 |
| 4750 167 stateLProdProperty: ambDiffSpecProperty . |
| 4751 |
| 4752 $default reduce using rule 167 (stateLProdProperty) |
| 4753 |
| 4754 |
| 4755 state 446 |
| 4756 |
| 4757 236 paramConstVector: '{' signedFloatConstant ',' signedFloatConstant ',' sign
edFloatConstant ',' . signedFloatConstant '}' |
| 4758 |
| 4759 '+' shift, and go to state 72 |
| 4760 '-' shift, and go to state 73 |
| 4761 |
| 4762 $default reduce using rule 241 (optionalSign) |
| 4763 |
| 4764 signedFloatConstant go to state 455 |
| 4765 optionalSign go to state 152 |
| 4766 |
| 4767 |
| 4768 state 447 |
| 4769 |
| 4770 235 paramConstVector: '{' signedFloatConstant ',' signedFloatConstant ',' sign
edFloatConstant '}' . |
| 4771 |
| 4772 $default reduce using rule 235 (paramConstVector) |
| 4773 |
| 4774 |
| 4775 state 448 |
| 4776 |
| 4777 55 extendedSwizzle: extSwizComp ',' extSwizComp ',' . extSwizComp ',' extSwiz
Comp |
| 4778 |
| 4779 '+' shift, and go to state 72 |
| 4780 '-' shift, and go to state 73 |
| 4781 |
| 4782 $default reduce using rule 241 (optionalSign) |
| 4783 |
| 4784 extSwizComp go to state 456 |
| 4785 optionalSign go to state 350 |
| 4786 |
| 4787 |
| 4788 state 449 |
| 4789 |
| 4790 32 TXD_instruction: TXD_OP maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg '
,' swizzleSrcReg ',' . texImageUnit ',' texTarget |
| 4791 |
| 4792 TEXTURE_UNIT shift, and go to state 300 |
| 4793 |
| 4794 texImageUnit go to state 457 |
| 4795 |
| 4796 |
| 4797 state 450 |
| 4798 |
| 4799 216 progEnvParams: PROGRAM ENV '[' . progEnvParamNums ']' |
| 4800 |
| 4801 INTEGER shift, and go to state 303 |
| 4802 |
| 4803 progEnvParamNums go to state 458 |
| 4804 progEnvParamNum go to state 459 |
| 4805 |
| 4806 |
| 4807 state 451 |
| 4808 |
| 4809 220 progLocalParams: PROGRAM LOCAL '[' . progLocalParamNums ']' |
| 4810 |
| 4811 INTEGER shift, and go to state 305 |
| 4812 |
| 4813 progLocalParamNums go to state 460 |
| 4814 progLocalParamNum go to state 461 |
| 4815 |
| 4816 |
| 4817 state 452 |
| 4818 |
| 4819 189 stateMatrixRow: stateMatrixItem ROW . '[' stateMatrixRowNum ']' |
| 4820 192 optMatrixRows: ROW . '[' stateMatrixRowNum DOT_DOT stateMatrixRowNum ']' |
| 4821 |
| 4822 '[' shift, and go to state 462 |
| 4823 |
| 4824 |
| 4825 state 453 |
| 4826 |
| 4827 190 stateMatrixRows: stateMatrixItem optMatrixRows . |
| 4828 |
| 4829 $default reduce using rule 190 (stateMatrixRows) |
| 4830 |
| 4831 |
| 4832 state 454 |
| 4833 |
| 4834 129 paramMultInitList: paramMultInitList ',' paramMultipleItem . |
| 4835 |
| 4836 $default reduce using rule 129 (paramMultInitList) |
| 4837 |
| 4838 |
| 4839 state 455 |
| 4840 |
| 4841 236 paramConstVector: '{' signedFloatConstant ',' signedFloatConstant ',' sign
edFloatConstant ',' signedFloatConstant . '}' |
| 4842 |
| 4843 '}' shift, and go to state 463 |
| 4844 |
| 4845 |
| 4846 state 456 |
| 4847 |
| 4848 55 extendedSwizzle: extSwizComp ',' extSwizComp ',' extSwizComp . ',' extSwiz
Comp |
| 4849 |
| 4850 ',' shift, and go to state 464 |
| 4851 |
| 4852 |
| 4853 state 457 |
| 4854 |
| 4855 32 TXD_instruction: TXD_OP maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg '
,' swizzleSrcReg ',' texImageUnit . ',' texTarget |
| 4856 |
| 4857 ',' shift, and go to state 465 |
| 4858 |
| 4859 |
| 4860 state 458 |
| 4861 |
| 4862 216 progEnvParams: PROGRAM ENV '[' progEnvParamNums . ']' |
| 4863 |
| 4864 ']' shift, and go to state 466 |
| 4865 |
| 4866 |
| 4867 state 459 |
| 4868 |
| 4869 217 progEnvParamNums: progEnvParamNum . |
| 4870 218 | progEnvParamNum . DOT_DOT progEnvParamNum |
| 4871 |
| 4872 DOT_DOT shift, and go to state 467 |
| 4873 |
| 4874 $default reduce using rule 217 (progEnvParamNums) |
| 4875 |
| 4876 |
| 4877 state 460 |
| 4878 |
| 4879 220 progLocalParams: PROGRAM LOCAL '[' progLocalParamNums . ']' |
| 4880 |
| 4881 ']' shift, and go to state 468 |
| 4882 |
| 4883 |
| 4884 state 461 |
| 4885 |
| 4886 221 progLocalParamNums: progLocalParamNum . |
| 4887 222 | progLocalParamNum . DOT_DOT progLocalParamNum |
| 4888 |
| 4889 DOT_DOT shift, and go to state 469 |
| 4890 |
| 4891 $default reduce using rule 221 (progLocalParamNums) |
| 4892 |
| 4893 |
| 4894 state 462 |
| 4895 |
| 4896 189 stateMatrixRow: stateMatrixItem ROW '[' . stateMatrixRowNum ']' |
| 4897 192 optMatrixRows: ROW '[' . stateMatrixRowNum DOT_DOT stateMatrixRowNum ']' |
| 4898 |
| 4899 INTEGER shift, and go to state 375 |
| 4900 |
| 4901 stateMatrixRowNum go to state 470 |
| 4902 |
| 4903 |
| 4904 state 463 |
| 4905 |
| 4906 236 paramConstVector: '{' signedFloatConstant ',' signedFloatConstant ',' sign
edFloatConstant ',' signedFloatConstant '}' . |
| 4907 |
| 4908 $default reduce using rule 236 (paramConstVector) |
| 4909 |
| 4910 |
| 4911 state 464 |
| 4912 |
| 4913 55 extendedSwizzle: extSwizComp ',' extSwizComp ',' extSwizComp ',' . extSwiz
Comp |
| 4914 |
| 4915 '+' shift, and go to state 72 |
| 4916 '-' shift, and go to state 73 |
| 4917 |
| 4918 $default reduce using rule 241 (optionalSign) |
| 4919 |
| 4920 extSwizComp go to state 471 |
| 4921 optionalSign go to state 350 |
| 4922 |
| 4923 |
| 4924 state 465 |
| 4925 |
| 4926 32 TXD_instruction: TXD_OP maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg '
,' swizzleSrcReg ',' texImageUnit ',' . texTarget |
| 4927 |
| 4928 TEX_1D shift, and go to state 402 |
| 4929 TEX_2D shift, and go to state 403 |
| 4930 TEX_3D shift, and go to state 404 |
| 4931 TEX_CUBE shift, and go to state 405 |
| 4932 TEX_RECT shift, and go to state 406 |
| 4933 TEX_SHADOW1D shift, and go to state 407 |
| 4934 TEX_SHADOW2D shift, and go to state 408 |
| 4935 TEX_SHADOWRECT shift, and go to state 409 |
| 4936 TEX_ARRAY1D shift, and go to state 410 |
| 4937 TEX_ARRAY2D shift, and go to state 411 |
| 4938 TEX_ARRAYSHADOW1D shift, and go to state 412 |
| 4939 TEX_ARRAYSHADOW2D shift, and go to state 413 |
| 4940 |
| 4941 texTarget go to state 472 |
| 4942 |
| 4943 |
| 4944 state 466 |
| 4945 |
| 4946 216 progEnvParams: PROGRAM ENV '[' progEnvParamNums ']' . |
| 4947 |
| 4948 $default reduce using rule 216 (progEnvParams) |
| 4949 |
| 4950 |
| 4951 state 467 |
| 4952 |
| 4953 218 progEnvParamNums: progEnvParamNum DOT_DOT . progEnvParamNum |
| 4954 |
| 4955 INTEGER shift, and go to state 303 |
| 4956 |
| 4957 progEnvParamNum go to state 473 |
| 4958 |
| 4959 |
| 4960 state 468 |
| 4961 |
| 4962 220 progLocalParams: PROGRAM LOCAL '[' progLocalParamNums ']' . |
| 4963 |
| 4964 $default reduce using rule 220 (progLocalParams) |
| 4965 |
| 4966 |
| 4967 state 469 |
| 4968 |
| 4969 222 progLocalParamNums: progLocalParamNum DOT_DOT . progLocalParamNum |
| 4970 |
| 4971 INTEGER shift, and go to state 305 |
| 4972 |
| 4973 progLocalParamNum go to state 474 |
| 4974 |
| 4975 |
| 4976 state 470 |
| 4977 |
| 4978 189 stateMatrixRow: stateMatrixItem ROW '[' stateMatrixRowNum . ']' |
| 4979 192 optMatrixRows: ROW '[' stateMatrixRowNum . DOT_DOT stateMatrixRowNum ']' |
| 4980 |
| 4981 DOT_DOT shift, and go to state 475 |
| 4982 ']' shift, and go to state 427 |
| 4983 |
| 4984 |
| 4985 state 471 |
| 4986 |
| 4987 55 extendedSwizzle: extSwizComp ',' extSwizComp ',' extSwizComp ',' extSwizCo
mp . |
| 4988 |
| 4989 $default reduce using rule 55 (extendedSwizzle) |
| 4990 |
| 4991 |
| 4992 state 472 |
| 4993 |
| 4994 32 TXD_instruction: TXD_OP maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg '
,' swizzleSrcReg ',' texImageUnit ',' texTarget . |
| 4995 |
| 4996 $default reduce using rule 32 (TXD_instruction) |
| 4997 |
| 4998 |
| 4999 state 473 |
| 5000 |
| 5001 218 progEnvParamNums: progEnvParamNum DOT_DOT progEnvParamNum . |
| 5002 |
| 5003 $default reduce using rule 218 (progEnvParamNums) |
| 5004 |
| 5005 |
| 5006 state 474 |
| 5007 |
| 5008 222 progLocalParamNums: progLocalParamNum DOT_DOT progLocalParamNum . |
| 5009 |
| 5010 $default reduce using rule 222 (progLocalParamNums) |
| 5011 |
| 5012 |
| 5013 state 475 |
| 5014 |
| 5015 192 optMatrixRows: ROW '[' stateMatrixRowNum DOT_DOT . stateMatrixRowNum ']' |
| 5016 |
| 5017 INTEGER shift, and go to state 375 |
| 5018 |
| 5019 stateMatrixRowNum go to state 476 |
| 5020 |
| 5021 |
| 5022 state 476 |
| 5023 |
| 5024 192 optMatrixRows: ROW '[' stateMatrixRowNum DOT_DOT stateMatrixRowNum . ']' |
| 5025 |
| 5026 ']' shift, and go to state 477 |
| 5027 |
| 5028 |
| 5029 state 477 |
| 5030 |
| 5031 192 optMatrixRows: ROW '[' stateMatrixRowNum DOT_DOT stateMatrixRowNum ']' . |
| 5032 |
| 5033 $default reduce using rule 192 (optMatrixRows) |
OLD | NEW |