| Index: third_party/mesa/chromium_gensrc/mesa/program/program_parse.output
|
| ===================================================================
|
| --- third_party/mesa/chromium_gensrc/mesa/program/program_parse.output (revision 0)
|
| +++ third_party/mesa/chromium_gensrc/mesa/program/program_parse.output (revision 0)
|
| @@ -0,0 +1,5033 @@
|
| +Terminals unused in grammar
|
| +
|
| + DOT
|
| +
|
| +
|
| +Grammar
|
| +
|
| + 0 $accept: program $end
|
| +
|
| + 1 program: language optionSequence statementSequence END
|
| +
|
| + 2 language: ARBvp_10
|
| + 3 | ARBfp_10
|
| +
|
| + 4 optionSequence: optionSequence option
|
| + 5 | /* empty */
|
| +
|
| + 6 option: OPTION string ';'
|
| +
|
| + 7 statementSequence: statementSequence statement
|
| + 8 | /* empty */
|
| +
|
| + 9 statement: instruction ';'
|
| + 10 | namingStatement ';'
|
| +
|
| + 11 instruction: ALU_instruction
|
| + 12 | TexInstruction
|
| +
|
| + 13 ALU_instruction: ARL_instruction
|
| + 14 | VECTORop_instruction
|
| + 15 | SCALARop_instruction
|
| + 16 | BINSCop_instruction
|
| + 17 | BINop_instruction
|
| + 18 | TRIop_instruction
|
| + 19 | SWZ_instruction
|
| +
|
| + 20 TexInstruction: SAMPLE_instruction
|
| + 21 | KIL_instruction
|
| + 22 | TXD_instruction
|
| +
|
| + 23 ARL_instruction: ARL maskedAddrReg ',' scalarSrcReg
|
| +
|
| + 24 VECTORop_instruction: VECTOR_OP maskedDstReg ',' swizzleSrcReg
|
| +
|
| + 25 SCALARop_instruction: SCALAR_OP maskedDstReg ',' scalarSrcReg
|
| +
|
| + 26 BINSCop_instruction: BINSC_OP maskedDstReg ',' scalarSrcReg ',' scalarSrcReg
|
| +
|
| + 27 BINop_instruction: BIN_OP maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg
|
| +
|
| + 28 TRIop_instruction: TRI_OP maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg ',' swizzleSrcReg
|
| +
|
| + 29 SAMPLE_instruction: SAMPLE_OP maskedDstReg ',' swizzleSrcReg ',' texImageUnit ',' texTarget
|
| +
|
| + 30 KIL_instruction: KIL swizzleSrcReg
|
| + 31 | KIL ccTest
|
| +
|
| + 32 TXD_instruction: TXD_OP maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg ',' swizzleSrcReg ',' texImageUnit ',' texTarget
|
| +
|
| + 33 texImageUnit: TEXTURE_UNIT optTexImageUnitNum
|
| +
|
| + 34 texTarget: TEX_1D
|
| + 35 | TEX_2D
|
| + 36 | TEX_3D
|
| + 37 | TEX_CUBE
|
| + 38 | TEX_RECT
|
| + 39 | TEX_SHADOW1D
|
| + 40 | TEX_SHADOW2D
|
| + 41 | TEX_SHADOWRECT
|
| + 42 | TEX_ARRAY1D
|
| + 43 | TEX_ARRAY2D
|
| + 44 | TEX_ARRAYSHADOW1D
|
| + 45 | TEX_ARRAYSHADOW2D
|
| +
|
| + 46 SWZ_instruction: SWZ maskedDstReg ',' srcReg ',' extendedSwizzle
|
| +
|
| + 47 scalarSrcReg: optionalSign scalarUse
|
| + 48 | optionalSign '|' scalarUse '|'
|
| +
|
| + 49 scalarUse: srcReg scalarSuffix
|
| + 50 | paramConstScalarUse
|
| +
|
| + 51 swizzleSrcReg: optionalSign srcReg swizzleSuffix
|
| + 52 | optionalSign '|' srcReg swizzleSuffix '|'
|
| +
|
| + 53 maskedDstReg: dstReg optionalMask optionalCcMask
|
| +
|
| + 54 maskedAddrReg: addrReg addrWriteMask
|
| +
|
| + 55 extendedSwizzle: extSwizComp ',' extSwizComp ',' extSwizComp ',' extSwizComp
|
| +
|
| + 56 extSwizComp: optionalSign extSwizSel
|
| +
|
| + 57 extSwizSel: INTEGER
|
| + 58 | string
|
| +
|
| + 59 srcReg: USED_IDENTIFIER
|
| + 60 | attribBinding
|
| + 61 | progParamArray '[' progParamArrayMem ']'
|
| + 62 | paramSingleItemUse
|
| +
|
| + 63 dstReg: resultBinding
|
| + 64 | USED_IDENTIFIER
|
| +
|
| + 65 progParamArray: USED_IDENTIFIER
|
| +
|
| + 66 progParamArrayMem: progParamArrayAbs
|
| + 67 | progParamArrayRel
|
| +
|
| + 68 progParamArrayAbs: INTEGER
|
| +
|
| + 69 progParamArrayRel: addrReg addrComponent addrRegRelOffset
|
| +
|
| + 70 addrRegRelOffset: /* empty */
|
| + 71 | '+' addrRegPosOffset
|
| + 72 | '-' addrRegNegOffset
|
| +
|
| + 73 addrRegPosOffset: INTEGER
|
| +
|
| + 74 addrRegNegOffset: INTEGER
|
| +
|
| + 75 addrReg: USED_IDENTIFIER
|
| +
|
| + 76 addrComponent: MASK1
|
| +
|
| + 77 addrWriteMask: MASK1
|
| +
|
| + 78 scalarSuffix: MASK1
|
| +
|
| + 79 swizzleSuffix: MASK1
|
| + 80 | MASK4
|
| + 81 | SWIZZLE
|
| + 82 | /* empty */
|
| +
|
| + 83 optionalMask: MASK4
|
| + 84 | MASK3
|
| + 85 | MASK2
|
| + 86 | MASK1
|
| + 87 | /* empty */
|
| +
|
| + 88 optionalCcMask: '(' ccTest ')'
|
| + 89 | '(' ccTest2 ')'
|
| + 90 | /* empty */
|
| +
|
| + 91 ccTest: ccMaskRule swizzleSuffix
|
| +
|
| + 92 ccTest2: ccMaskRule2 swizzleSuffix
|
| +
|
| + 93 ccMaskRule: IDENTIFIER
|
| +
|
| + 94 ccMaskRule2: USED_IDENTIFIER
|
| +
|
| + 95 namingStatement: ATTRIB_statement
|
| + 96 | PARAM_statement
|
| + 97 | TEMP_statement
|
| + 98 | ADDRESS_statement
|
| + 99 | OUTPUT_statement
|
| + 100 | ALIAS_statement
|
| +
|
| + 101 ATTRIB_statement: ATTRIB IDENTIFIER '=' attribBinding
|
| +
|
| + 102 attribBinding: VERTEX vtxAttribItem
|
| + 103 | FRAGMENT fragAttribItem
|
| +
|
| + 104 vtxAttribItem: POSITION
|
| + 105 | WEIGHT vtxOptWeightNum
|
| + 106 | NORMAL
|
| + 107 | COLOR optColorType
|
| + 108 | FOGCOORD
|
| + 109 | TEXCOORD optTexCoordUnitNum
|
| + 110 | MATRIXINDEX '[' vtxWeightNum ']'
|
| + 111 | VTXATTRIB '[' vtxAttribNum ']'
|
| +
|
| + 112 vtxAttribNum: INTEGER
|
| +
|
| + 113 vtxOptWeightNum: /* empty */
|
| + 114 | '[' vtxWeightNum ']'
|
| +
|
| + 115 vtxWeightNum: INTEGER
|
| +
|
| + 116 fragAttribItem: POSITION
|
| + 117 | COLOR optColorType
|
| + 118 | FOGCOORD
|
| + 119 | TEXCOORD optTexCoordUnitNum
|
| +
|
| + 120 PARAM_statement: PARAM_singleStmt
|
| + 121 | PARAM_multipleStmt
|
| +
|
| + 122 PARAM_singleStmt: PARAM IDENTIFIER paramSingleInit
|
| +
|
| + 123 PARAM_multipleStmt: PARAM IDENTIFIER '[' optArraySize ']' paramMultipleInit
|
| +
|
| + 124 optArraySize: /* empty */
|
| + 125 | INTEGER
|
| +
|
| + 126 paramSingleInit: '=' paramSingleItemDecl
|
| +
|
| + 127 paramMultipleInit: '=' '{' paramMultInitList '}'
|
| +
|
| + 128 paramMultInitList: paramMultipleItem
|
| + 129 | paramMultInitList ',' paramMultipleItem
|
| +
|
| + 130 paramSingleItemDecl: stateSingleItem
|
| + 131 | programSingleItem
|
| + 132 | paramConstDecl
|
| +
|
| + 133 paramSingleItemUse: stateSingleItem
|
| + 134 | programSingleItem
|
| + 135 | paramConstUse
|
| +
|
| + 136 paramMultipleItem: stateMultipleItem
|
| + 137 | programMultipleItem
|
| + 138 | paramConstDecl
|
| +
|
| + 139 stateMultipleItem: stateSingleItem
|
| + 140 | STATE stateMatrixRows
|
| +
|
| + 141 stateSingleItem: STATE stateMaterialItem
|
| + 142 | STATE stateLightItem
|
| + 143 | STATE stateLightModelItem
|
| + 144 | STATE stateLightProdItem
|
| + 145 | STATE stateTexGenItem
|
| + 146 | STATE stateTexEnvItem
|
| + 147 | STATE stateFogItem
|
| + 148 | STATE stateClipPlaneItem
|
| + 149 | STATE statePointItem
|
| + 150 | STATE stateMatrixRow
|
| + 151 | STATE stateDepthItem
|
| +
|
| + 152 stateMaterialItem: MATERIAL optFaceType stateMatProperty
|
| +
|
| + 153 stateMatProperty: ambDiffSpecProperty
|
| + 154 | EMISSION
|
| + 155 | SHININESS
|
| +
|
| + 156 stateLightItem: LIGHT '[' stateLightNumber ']' stateLightProperty
|
| +
|
| + 157 stateLightProperty: ambDiffSpecProperty
|
| + 158 | POSITION
|
| + 159 | ATTENUATION
|
| + 160 | SPOT stateSpotProperty
|
| + 161 | HALF
|
| +
|
| + 162 stateSpotProperty: DIRECTION
|
| +
|
| + 163 stateLightModelItem: LIGHTMODEL stateLModProperty
|
| +
|
| + 164 stateLModProperty: AMBIENT
|
| + 165 | optFaceType SCENECOLOR
|
| +
|
| + 166 stateLightProdItem: LIGHTPROD '[' stateLightNumber ']' optFaceType stateLProdProperty
|
| +
|
| + 167 stateLProdProperty: ambDiffSpecProperty
|
| +
|
| + 168 stateTexEnvItem: TEXENV optLegacyTexUnitNum stateTexEnvProperty
|
| +
|
| + 169 stateTexEnvProperty: COLOR
|
| +
|
| + 170 ambDiffSpecProperty: AMBIENT
|
| + 171 | DIFFUSE
|
| + 172 | SPECULAR
|
| +
|
| + 173 stateLightNumber: INTEGER
|
| +
|
| + 174 stateTexGenItem: TEXGEN optTexCoordUnitNum stateTexGenType stateTexGenCoord
|
| +
|
| + 175 stateTexGenType: EYE
|
| + 176 | OBJECT
|
| +
|
| + 177 stateTexGenCoord: TEXGEN_S
|
| + 178 | TEXGEN_T
|
| + 179 | TEXGEN_R
|
| + 180 | TEXGEN_Q
|
| +
|
| + 181 stateFogItem: FOG stateFogProperty
|
| +
|
| + 182 stateFogProperty: COLOR
|
| + 183 | PARAMS
|
| +
|
| + 184 stateClipPlaneItem: CLIP '[' stateClipPlaneNum ']' PLANE
|
| +
|
| + 185 stateClipPlaneNum: INTEGER
|
| +
|
| + 186 statePointItem: POINT_TOK statePointProperty
|
| +
|
| + 187 statePointProperty: SIZE_TOK
|
| + 188 | ATTENUATION
|
| +
|
| + 189 stateMatrixRow: stateMatrixItem ROW '[' stateMatrixRowNum ']'
|
| +
|
| + 190 stateMatrixRows: stateMatrixItem optMatrixRows
|
| +
|
| + 191 optMatrixRows: /* empty */
|
| + 192 | ROW '[' stateMatrixRowNum DOT_DOT stateMatrixRowNum ']'
|
| +
|
| + 193 stateMatrixItem: MATRIX stateMatrixName stateOptMatModifier
|
| +
|
| + 194 stateOptMatModifier: /* empty */
|
| + 195 | stateMatModifier
|
| +
|
| + 196 stateMatModifier: INVERSE
|
| + 197 | TRANSPOSE
|
| + 198 | INVTRANS
|
| +
|
| + 199 stateMatrixRowNum: INTEGER
|
| +
|
| + 200 stateMatrixName: MODELVIEW stateOptModMatNum
|
| + 201 | PROJECTION
|
| + 202 | MVP
|
| + 203 | TEXTURE optTexCoordUnitNum
|
| + 204 | PALETTE '[' statePaletteMatNum ']'
|
| + 205 | MAT_PROGRAM '[' stateProgramMatNum ']'
|
| +
|
| + 206 stateOptModMatNum: /* empty */
|
| + 207 | '[' stateModMatNum ']'
|
| +
|
| + 208 stateModMatNum: INTEGER
|
| +
|
| + 209 statePaletteMatNum: INTEGER
|
| +
|
| + 210 stateProgramMatNum: INTEGER
|
| +
|
| + 211 stateDepthItem: DEPTH RANGE
|
| +
|
| + 212 programSingleItem: progEnvParam
|
| + 213 | progLocalParam
|
| +
|
| + 214 programMultipleItem: progEnvParams
|
| + 215 | progLocalParams
|
| +
|
| + 216 progEnvParams: PROGRAM ENV '[' progEnvParamNums ']'
|
| +
|
| + 217 progEnvParamNums: progEnvParamNum
|
| + 218 | progEnvParamNum DOT_DOT progEnvParamNum
|
| +
|
| + 219 progEnvParam: PROGRAM ENV '[' progEnvParamNum ']'
|
| +
|
| + 220 progLocalParams: PROGRAM LOCAL '[' progLocalParamNums ']'
|
| +
|
| + 221 progLocalParamNums: progLocalParamNum
|
| + 222 | progLocalParamNum DOT_DOT progLocalParamNum
|
| +
|
| + 223 progLocalParam: PROGRAM LOCAL '[' progLocalParamNum ']'
|
| +
|
| + 224 progEnvParamNum: INTEGER
|
| +
|
| + 225 progLocalParamNum: INTEGER
|
| +
|
| + 226 paramConstDecl: paramConstScalarDecl
|
| + 227 | paramConstVector
|
| +
|
| + 228 paramConstUse: paramConstScalarUse
|
| + 229 | paramConstVector
|
| +
|
| + 230 paramConstScalarDecl: signedFloatConstant
|
| +
|
| + 231 paramConstScalarUse: REAL
|
| + 232 | INTEGER
|
| +
|
| + 233 paramConstVector: '{' signedFloatConstant '}'
|
| + 234 | '{' signedFloatConstant ',' signedFloatConstant '}'
|
| + 235 | '{' signedFloatConstant ',' signedFloatConstant ',' signedFloatConstant '}'
|
| + 236 | '{' signedFloatConstant ',' signedFloatConstant ',' signedFloatConstant ',' signedFloatConstant '}'
|
| +
|
| + 237 signedFloatConstant: optionalSign REAL
|
| + 238 | optionalSign INTEGER
|
| +
|
| + 239 optionalSign: '+'
|
| + 240 | '-'
|
| + 241 | /* empty */
|
| +
|
| + 242 @1: /* empty */
|
| +
|
| + 243 TEMP_statement: optVarSize TEMP @1 varNameList
|
| +
|
| + 244 optVarSize: string
|
| + 245 | /* empty */
|
| +
|
| + 246 @2: /* empty */
|
| +
|
| + 247 ADDRESS_statement: ADDRESS @2 varNameList
|
| +
|
| + 248 varNameList: varNameList ',' IDENTIFIER
|
| + 249 | IDENTIFIER
|
| +
|
| + 250 OUTPUT_statement: optVarSize OUTPUT IDENTIFIER '=' resultBinding
|
| +
|
| + 251 resultBinding: RESULT POSITION
|
| + 252 | RESULT FOGCOORD
|
| + 253 | RESULT resultColBinding
|
| + 254 | RESULT POINTSIZE
|
| + 255 | RESULT TEXCOORD optTexCoordUnitNum
|
| + 256 | RESULT DEPTH
|
| +
|
| + 257 resultColBinding: COLOR optResultFaceType optResultColorType
|
| +
|
| + 258 optResultFaceType: /* empty */
|
| + 259 | '[' INTEGER ']'
|
| + 260 | FRONT
|
| + 261 | BACK
|
| +
|
| + 262 optResultColorType: /* empty */
|
| + 263 | PRIMARY
|
| + 264 | SECONDARY
|
| +
|
| + 265 optFaceType: /* empty */
|
| + 266 | FRONT
|
| + 267 | BACK
|
| +
|
| + 268 optColorType: /* empty */
|
| + 269 | PRIMARY
|
| + 270 | SECONDARY
|
| +
|
| + 271 optTexCoordUnitNum: /* empty */
|
| + 272 | '[' texCoordUnitNum ']'
|
| +
|
| + 273 optTexImageUnitNum: /* empty */
|
| + 274 | '[' texImageUnitNum ']'
|
| +
|
| + 275 optLegacyTexUnitNum: /* empty */
|
| + 276 | '[' legacyTexUnitNum ']'
|
| +
|
| + 277 texCoordUnitNum: INTEGER
|
| +
|
| + 278 texImageUnitNum: INTEGER
|
| +
|
| + 279 legacyTexUnitNum: INTEGER
|
| +
|
| + 280 ALIAS_statement: ALIAS IDENTIFIER '=' USED_IDENTIFIER
|
| +
|
| + 281 string: IDENTIFIER
|
| + 282 | USED_IDENTIFIER
|
| +
|
| +
|
| +Terminals, with rules where they appear
|
| +
|
| +$end (0) 0
|
| +'(' (40) 88 89
|
| +')' (41) 88 89
|
| +'+' (43) 71 239
|
| +',' (44) 23 24 25 26 27 28 29 32 46 55 129 234 235 236 248
|
| +'-' (45) 72 240
|
| +';' (59) 6 9 10
|
| +'=' (61) 101 126 127 250 280
|
| +'[' (91) 61 110 111 114 123 156 166 184 189 192 204 205 207 216 219
|
| + 220 223 259 272 274 276
|
| +']' (93) 61 110 111 114 123 156 166 184 189 192 204 205 207 216 219
|
| + 220 223 259 272 274 276
|
| +'{' (123) 127 233 234 235 236
|
| +'|' (124) 48 52
|
| +'}' (125) 127 233 234 235 236
|
| +error (256)
|
| +ARBvp_10 (258) 2
|
| +ARBfp_10 (259) 3
|
| +ADDRESS (260) 247
|
| +ALIAS (261) 280
|
| +ATTRIB (262) 101
|
| +OPTION (263) 6
|
| +OUTPUT (264) 250
|
| +PARAM (265) 122 123
|
| +TEMP (266) 243
|
| +END (267) 1
|
| +BIN_OP (268) 27
|
| +BINSC_OP (269) 26
|
| +SAMPLE_OP (270) 29
|
| +SCALAR_OP (271) 25
|
| +TRI_OP (272) 28
|
| +VECTOR_OP (273) 24
|
| +ARL (274) 23
|
| +KIL (275) 30 31
|
| +SWZ (276) 46
|
| +TXD_OP (277) 32
|
| +INTEGER (278) 57 68 73 74 112 115 125 173 185 199 208 209 210 224 225
|
| + 232 238 259 277 278 279
|
| +REAL (279) 231 237
|
| +AMBIENT (280) 164 170
|
| +ATTENUATION (281) 159 188
|
| +BACK (282) 261 267
|
| +CLIP (283) 184
|
| +COLOR (284) 107 117 169 182 257
|
| +DEPTH (285) 211 256
|
| +DIFFUSE (286) 171
|
| +DIRECTION (287) 162
|
| +EMISSION (288) 154
|
| +ENV (289) 216 219
|
| +EYE (290) 175
|
| +FOG (291) 181
|
| +FOGCOORD (292) 108 118 252
|
| +FRAGMENT (293) 103
|
| +FRONT (294) 260 266
|
| +HALF (295) 161
|
| +INVERSE (296) 196
|
| +INVTRANS (297) 198
|
| +LIGHT (298) 156
|
| +LIGHTMODEL (299) 163
|
| +LIGHTPROD (300) 166
|
| +LOCAL (301) 220 223
|
| +MATERIAL (302) 152
|
| +MAT_PROGRAM (303) 205
|
| +MATRIX (304) 193
|
| +MATRIXINDEX (305) 110
|
| +MODELVIEW (306) 200
|
| +MVP (307) 202
|
| +NORMAL (308) 106
|
| +OBJECT (309) 176
|
| +PALETTE (310) 204
|
| +PARAMS (311) 183
|
| +PLANE (312) 184
|
| +POINT_TOK (313) 186
|
| +POINTSIZE (314) 254
|
| +POSITION (315) 104 116 158 251
|
| +PRIMARY (316) 263 269
|
| +PROGRAM (317) 216 219 220 223
|
| +PROJECTION (318) 201
|
| +RANGE (319) 211
|
| +RESULT (320) 251 252 253 254 255 256
|
| +ROW (321) 189 192
|
| +SCENECOLOR (322) 165
|
| +SECONDARY (323) 264 270
|
| +SHININESS (324) 155
|
| +SIZE_TOK (325) 187
|
| +SPECULAR (326) 172
|
| +SPOT (327) 160
|
| +STATE (328) 140 141 142 143 144 145 146 147 148 149 150 151
|
| +TEXCOORD (329) 109 119 255
|
| +TEXENV (330) 168
|
| +TEXGEN (331) 174
|
| +TEXGEN_Q (332) 180
|
| +TEXGEN_R (333) 179
|
| +TEXGEN_S (334) 177
|
| +TEXGEN_T (335) 178
|
| +TEXTURE (336) 203
|
| +TRANSPOSE (337) 197
|
| +TEXTURE_UNIT (338) 33
|
| +TEX_1D (339) 34
|
| +TEX_2D (340) 35
|
| +TEX_3D (341) 36
|
| +TEX_CUBE (342) 37
|
| +TEX_RECT (343) 38
|
| +TEX_SHADOW1D (344) 39
|
| +TEX_SHADOW2D (345) 40
|
| +TEX_SHADOWRECT (346) 41
|
| +TEX_ARRAY1D (347) 42
|
| +TEX_ARRAY2D (348) 43
|
| +TEX_ARRAYSHADOW1D (349) 44
|
| +TEX_ARRAYSHADOW2D (350) 45
|
| +VERTEX (351) 102
|
| +VTXATTRIB (352) 111
|
| +WEIGHT (353) 105
|
| +IDENTIFIER (354) 93 101 122 123 248 249 250 280 281
|
| +USED_IDENTIFIER (355) 59 64 65 75 94 280 282
|
| +MASK4 (356) 80 83
|
| +MASK3 (357) 84
|
| +MASK2 (358) 85
|
| +MASK1 (359) 76 77 78 79 86
|
| +SWIZZLE (360) 81
|
| +DOT_DOT (361) 192 218 222
|
| +DOT (362)
|
| +
|
| +
|
| +Nonterminals, with rules where they appear
|
| +
|
| +$accept (120)
|
| + on left: 0
|
| +program (121)
|
| + on left: 1, on right: 0
|
| +language (122)
|
| + on left: 2 3, on right: 1
|
| +optionSequence (123)
|
| + on left: 4 5, on right: 1 4
|
| +option (124)
|
| + on left: 6, on right: 4
|
| +statementSequence (125)
|
| + on left: 7 8, on right: 1 7
|
| +statement (126)
|
| + on left: 9 10, on right: 7
|
| +instruction (127)
|
| + on left: 11 12, on right: 9
|
| +ALU_instruction (128)
|
| + on left: 13 14 15 16 17 18 19, on right: 11
|
| +TexInstruction (129)
|
| + on left: 20 21 22, on right: 12
|
| +ARL_instruction (130)
|
| + on left: 23, on right: 13
|
| +VECTORop_instruction (131)
|
| + on left: 24, on right: 14
|
| +SCALARop_instruction (132)
|
| + on left: 25, on right: 15
|
| +BINSCop_instruction (133)
|
| + on left: 26, on right: 16
|
| +BINop_instruction (134)
|
| + on left: 27, on right: 17
|
| +TRIop_instruction (135)
|
| + on left: 28, on right: 18
|
| +SAMPLE_instruction (136)
|
| + on left: 29, on right: 20
|
| +KIL_instruction (137)
|
| + on left: 30 31, on right: 21
|
| +TXD_instruction (138)
|
| + on left: 32, on right: 22
|
| +texImageUnit (139)
|
| + on left: 33, on right: 29 32
|
| +texTarget (140)
|
| + on left: 34 35 36 37 38 39 40 41 42 43 44 45, on right: 29 32
|
| +SWZ_instruction (141)
|
| + on left: 46, on right: 19
|
| +scalarSrcReg (142)
|
| + on left: 47 48, on right: 23 25 26
|
| +scalarUse (143)
|
| + on left: 49 50, on right: 47 48
|
| +swizzleSrcReg (144)
|
| + on left: 51 52, on right: 24 27 28 29 30 32
|
| +maskedDstReg (145)
|
| + on left: 53, on right: 24 25 26 27 28 29 32 46
|
| +maskedAddrReg (146)
|
| + on left: 54, on right: 23
|
| +extendedSwizzle (147)
|
| + on left: 55, on right: 46
|
| +extSwizComp (148)
|
| + on left: 56, on right: 55
|
| +extSwizSel (149)
|
| + on left: 57 58, on right: 56
|
| +srcReg (150)
|
| + on left: 59 60 61 62, on right: 46 49 51 52
|
| +dstReg (151)
|
| + on left: 63 64, on right: 53
|
| +progParamArray (152)
|
| + on left: 65, on right: 61
|
| +progParamArrayMem (153)
|
| + on left: 66 67, on right: 61
|
| +progParamArrayAbs (154)
|
| + on left: 68, on right: 66
|
| +progParamArrayRel (155)
|
| + on left: 69, on right: 67
|
| +addrRegRelOffset (156)
|
| + on left: 70 71 72, on right: 69
|
| +addrRegPosOffset (157)
|
| + on left: 73, on right: 71
|
| +addrRegNegOffset (158)
|
| + on left: 74, on right: 72
|
| +addrReg (159)
|
| + on left: 75, on right: 54 69
|
| +addrComponent (160)
|
| + on left: 76, on right: 69
|
| +addrWriteMask (161)
|
| + on left: 77, on right: 54
|
| +scalarSuffix (162)
|
| + on left: 78, on right: 49
|
| +swizzleSuffix (163)
|
| + on left: 79 80 81 82, on right: 51 52 91 92
|
| +optionalMask (164)
|
| + on left: 83 84 85 86 87, on right: 53
|
| +optionalCcMask (165)
|
| + on left: 88 89 90, on right: 53
|
| +ccTest (166)
|
| + on left: 91, on right: 31 88
|
| +ccTest2 (167)
|
| + on left: 92, on right: 89
|
| +ccMaskRule (168)
|
| + on left: 93, on right: 91
|
| +ccMaskRule2 (169)
|
| + on left: 94, on right: 92
|
| +namingStatement (170)
|
| + on left: 95 96 97 98 99 100, on right: 10
|
| +ATTRIB_statement (171)
|
| + on left: 101, on right: 95
|
| +attribBinding (172)
|
| + on left: 102 103, on right: 60 101
|
| +vtxAttribItem (173)
|
| + on left: 104 105 106 107 108 109 110 111, on right: 102
|
| +vtxAttribNum (174)
|
| + on left: 112, on right: 111
|
| +vtxOptWeightNum (175)
|
| + on left: 113 114, on right: 105
|
| +vtxWeightNum (176)
|
| + on left: 115, on right: 110 114
|
| +fragAttribItem (177)
|
| + on left: 116 117 118 119, on right: 103
|
| +PARAM_statement (178)
|
| + on left: 120 121, on right: 96
|
| +PARAM_singleStmt (179)
|
| + on left: 122, on right: 120
|
| +PARAM_multipleStmt (180)
|
| + on left: 123, on right: 121
|
| +optArraySize (181)
|
| + on left: 124 125, on right: 123
|
| +paramSingleInit (182)
|
| + on left: 126, on right: 122
|
| +paramMultipleInit (183)
|
| + on left: 127, on right: 123
|
| +paramMultInitList (184)
|
| + on left: 128 129, on right: 127 129
|
| +paramSingleItemDecl (185)
|
| + on left: 130 131 132, on right: 126
|
| +paramSingleItemUse (186)
|
| + on left: 133 134 135, on right: 62
|
| +paramMultipleItem (187)
|
| + on left: 136 137 138, on right: 128 129
|
| +stateMultipleItem (188)
|
| + on left: 139 140, on right: 136
|
| +stateSingleItem (189)
|
| + on left: 141 142 143 144 145 146 147 148 149 150 151, on right:
|
| + 130 133 139
|
| +stateMaterialItem (190)
|
| + on left: 152, on right: 141
|
| +stateMatProperty (191)
|
| + on left: 153 154 155, on right: 152
|
| +stateLightItem (192)
|
| + on left: 156, on right: 142
|
| +stateLightProperty (193)
|
| + on left: 157 158 159 160 161, on right: 156
|
| +stateSpotProperty (194)
|
| + on left: 162, on right: 160
|
| +stateLightModelItem (195)
|
| + on left: 163, on right: 143
|
| +stateLModProperty (196)
|
| + on left: 164 165, on right: 163
|
| +stateLightProdItem (197)
|
| + on left: 166, on right: 144
|
| +stateLProdProperty (198)
|
| + on left: 167, on right: 166
|
| +stateTexEnvItem (199)
|
| + on left: 168, on right: 146
|
| +stateTexEnvProperty (200)
|
| + on left: 169, on right: 168
|
| +ambDiffSpecProperty (201)
|
| + on left: 170 171 172, on right: 153 157 167
|
| +stateLightNumber (202)
|
| + on left: 173, on right: 156 166
|
| +stateTexGenItem (203)
|
| + on left: 174, on right: 145
|
| +stateTexGenType (204)
|
| + on left: 175 176, on right: 174
|
| +stateTexGenCoord (205)
|
| + on left: 177 178 179 180, on right: 174
|
| +stateFogItem (206)
|
| + on left: 181, on right: 147
|
| +stateFogProperty (207)
|
| + on left: 182 183, on right: 181
|
| +stateClipPlaneItem (208)
|
| + on left: 184, on right: 148
|
| +stateClipPlaneNum (209)
|
| + on left: 185, on right: 184
|
| +statePointItem (210)
|
| + on left: 186, on right: 149
|
| +statePointProperty (211)
|
| + on left: 187 188, on right: 186
|
| +stateMatrixRow (212)
|
| + on left: 189, on right: 150
|
| +stateMatrixRows (213)
|
| + on left: 190, on right: 140
|
| +optMatrixRows (214)
|
| + on left: 191 192, on right: 190
|
| +stateMatrixItem (215)
|
| + on left: 193, on right: 189 190
|
| +stateOptMatModifier (216)
|
| + on left: 194 195, on right: 193
|
| +stateMatModifier (217)
|
| + on left: 196 197 198, on right: 195
|
| +stateMatrixRowNum (218)
|
| + on left: 199, on right: 189 192
|
| +stateMatrixName (219)
|
| + on left: 200 201 202 203 204 205, on right: 193
|
| +stateOptModMatNum (220)
|
| + on left: 206 207, on right: 200
|
| +stateModMatNum (221)
|
| + on left: 208, on right: 207
|
| +statePaletteMatNum (222)
|
| + on left: 209, on right: 204
|
| +stateProgramMatNum (223)
|
| + on left: 210, on right: 205
|
| +stateDepthItem (224)
|
| + on left: 211, on right: 151
|
| +programSingleItem (225)
|
| + on left: 212 213, on right: 131 134
|
| +programMultipleItem (226)
|
| + on left: 214 215, on right: 137
|
| +progEnvParams (227)
|
| + on left: 216, on right: 214
|
| +progEnvParamNums (228)
|
| + on left: 217 218, on right: 216
|
| +progEnvParam (229)
|
| + on left: 219, on right: 212
|
| +progLocalParams (230)
|
| + on left: 220, on right: 215
|
| +progLocalParamNums (231)
|
| + on left: 221 222, on right: 220
|
| +progLocalParam (232)
|
| + on left: 223, on right: 213
|
| +progEnvParamNum (233)
|
| + on left: 224, on right: 217 218 219
|
| +progLocalParamNum (234)
|
| + on left: 225, on right: 221 222 223
|
| +paramConstDecl (235)
|
| + on left: 226 227, on right: 132 138
|
| +paramConstUse (236)
|
| + on left: 228 229, on right: 135
|
| +paramConstScalarDecl (237)
|
| + on left: 230, on right: 226
|
| +paramConstScalarUse (238)
|
| + on left: 231 232, on right: 50 228
|
| +paramConstVector (239)
|
| + on left: 233 234 235 236, on right: 227 229
|
| +signedFloatConstant (240)
|
| + on left: 237 238, on right: 230 233 234 235 236
|
| +optionalSign (241)
|
| + on left: 239 240 241, on right: 47 48 51 52 56 237 238
|
| +TEMP_statement (242)
|
| + on left: 243, on right: 97
|
| +@1 (243)
|
| + on left: 242, on right: 243
|
| +optVarSize (244)
|
| + on left: 244 245, on right: 243 250
|
| +ADDRESS_statement (245)
|
| + on left: 247, on right: 98
|
| +@2 (246)
|
| + on left: 246, on right: 247
|
| +varNameList (247)
|
| + on left: 248 249, on right: 243 247 248
|
| +OUTPUT_statement (248)
|
| + on left: 250, on right: 99
|
| +resultBinding (249)
|
| + on left: 251 252 253 254 255 256, on right: 63 250
|
| +resultColBinding (250)
|
| + on left: 257, on right: 253
|
| +optResultFaceType (251)
|
| + on left: 258 259 260 261, on right: 257
|
| +optResultColorType (252)
|
| + on left: 262 263 264, on right: 257
|
| +optFaceType (253)
|
| + on left: 265 266 267, on right: 152 165 166
|
| +optColorType (254)
|
| + on left: 268 269 270, on right: 107 117
|
| +optTexCoordUnitNum (255)
|
| + on left: 271 272, on right: 109 119 174 203 255
|
| +optTexImageUnitNum (256)
|
| + on left: 273 274, on right: 33
|
| +optLegacyTexUnitNum (257)
|
| + on left: 275 276, on right: 168
|
| +texCoordUnitNum (258)
|
| + on left: 277, on right: 272
|
| +texImageUnitNum (259)
|
| + on left: 278, on right: 274
|
| +legacyTexUnitNum (260)
|
| + on left: 279, on right: 276
|
| +ALIAS_statement (261)
|
| + on left: 280, on right: 100
|
| +string (262)
|
| + on left: 281 282, on right: 6 58 244
|
| +
|
| +
|
| +state 0
|
| +
|
| + 0 $accept: . program $end
|
| +
|
| + ARBvp_10 shift, and go to state 1
|
| + ARBfp_10 shift, and go to state 2
|
| +
|
| + program go to state 3
|
| + language go to state 4
|
| +
|
| +
|
| +state 1
|
| +
|
| + 2 language: ARBvp_10 .
|
| +
|
| + $default reduce using rule 2 (language)
|
| +
|
| +
|
| +state 2
|
| +
|
| + 3 language: ARBfp_10 .
|
| +
|
| + $default reduce using rule 3 (language)
|
| +
|
| +
|
| +state 3
|
| +
|
| + 0 $accept: program . $end
|
| +
|
| + $end shift, and go to state 5
|
| +
|
| +
|
| +state 4
|
| +
|
| + 1 program: language . optionSequence statementSequence END
|
| +
|
| + $default reduce using rule 5 (optionSequence)
|
| +
|
| + optionSequence go to state 6
|
| +
|
| +
|
| +state 5
|
| +
|
| + 0 $accept: program $end .
|
| +
|
| + $default accept
|
| +
|
| +
|
| +state 6
|
| +
|
| + 1 program: language optionSequence . statementSequence END
|
| + 4 optionSequence: optionSequence . option
|
| +
|
| + OPTION shift, and go to state 7
|
| +
|
| + $default reduce using rule 8 (statementSequence)
|
| +
|
| + option go to state 8
|
| + statementSequence go to state 9
|
| +
|
| +
|
| +state 7
|
| +
|
| + 6 option: OPTION . string ';'
|
| +
|
| + IDENTIFIER shift, and go to state 10
|
| + USED_IDENTIFIER shift, and go to state 11
|
| +
|
| + string go to state 12
|
| +
|
| +
|
| +state 8
|
| +
|
| + 4 optionSequence: optionSequence option .
|
| +
|
| + $default reduce using rule 4 (optionSequence)
|
| +
|
| +
|
| +state 9
|
| +
|
| + 1 program: language optionSequence statementSequence . END
|
| + 7 statementSequence: statementSequence . statement
|
| +
|
| + ADDRESS shift, and go to state 13
|
| + ALIAS shift, and go to state 14
|
| + ATTRIB shift, and go to state 15
|
| + PARAM shift, and go to state 16
|
| + END shift, and go to state 17
|
| + BIN_OP shift, and go to state 18
|
| + BINSC_OP shift, and go to state 19
|
| + SAMPLE_OP shift, and go to state 20
|
| + SCALAR_OP shift, and go to state 21
|
| + TRI_OP shift, and go to state 22
|
| + VECTOR_OP shift, and go to state 23
|
| + ARL shift, and go to state 24
|
| + KIL shift, and go to state 25
|
| + SWZ shift, and go to state 26
|
| + TXD_OP shift, and go to state 27
|
| + IDENTIFIER shift, and go to state 10
|
| + USED_IDENTIFIER shift, and go to state 11
|
| +
|
| + $default reduce using rule 245 (optVarSize)
|
| +
|
| + statement go to state 28
|
| + instruction go to state 29
|
| + ALU_instruction go to state 30
|
| + TexInstruction go to state 31
|
| + ARL_instruction go to state 32
|
| + VECTORop_instruction go to state 33
|
| + SCALARop_instruction go to state 34
|
| + BINSCop_instruction go to state 35
|
| + BINop_instruction go to state 36
|
| + TRIop_instruction go to state 37
|
| + SAMPLE_instruction go to state 38
|
| + KIL_instruction go to state 39
|
| + TXD_instruction go to state 40
|
| + SWZ_instruction go to state 41
|
| + namingStatement go to state 42
|
| + ATTRIB_statement go to state 43
|
| + PARAM_statement go to state 44
|
| + PARAM_singleStmt go to state 45
|
| + PARAM_multipleStmt go to state 46
|
| + TEMP_statement go to state 47
|
| + optVarSize go to state 48
|
| + ADDRESS_statement go to state 49
|
| + OUTPUT_statement go to state 50
|
| + ALIAS_statement go to state 51
|
| + string go to state 52
|
| +
|
| +
|
| +state 10
|
| +
|
| + 281 string: IDENTIFIER .
|
| +
|
| + $default reduce using rule 281 (string)
|
| +
|
| +
|
| +state 11
|
| +
|
| + 282 string: USED_IDENTIFIER .
|
| +
|
| + $default reduce using rule 282 (string)
|
| +
|
| +
|
| +state 12
|
| +
|
| + 6 option: OPTION string . ';'
|
| +
|
| + ';' shift, and go to state 53
|
| +
|
| +
|
| +state 13
|
| +
|
| + 247 ADDRESS_statement: ADDRESS . @2 varNameList
|
| +
|
| + $default reduce using rule 246 (@2)
|
| +
|
| + @2 go to state 54
|
| +
|
| +
|
| +state 14
|
| +
|
| + 280 ALIAS_statement: ALIAS . IDENTIFIER '=' USED_IDENTIFIER
|
| +
|
| + IDENTIFIER shift, and go to state 55
|
| +
|
| +
|
| +state 15
|
| +
|
| + 101 ATTRIB_statement: ATTRIB . IDENTIFIER '=' attribBinding
|
| +
|
| + IDENTIFIER shift, and go to state 56
|
| +
|
| +
|
| +state 16
|
| +
|
| + 122 PARAM_singleStmt: PARAM . IDENTIFIER paramSingleInit
|
| + 123 PARAM_multipleStmt: PARAM . IDENTIFIER '[' optArraySize ']' paramMultipleInit
|
| +
|
| + IDENTIFIER shift, and go to state 57
|
| +
|
| +
|
| +state 17
|
| +
|
| + 1 program: language optionSequence statementSequence END .
|
| +
|
| + $default reduce using rule 1 (program)
|
| +
|
| +
|
| +state 18
|
| +
|
| + 27 BINop_instruction: BIN_OP . maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg
|
| +
|
| + RESULT shift, and go to state 58
|
| + USED_IDENTIFIER shift, and go to state 59
|
| +
|
| + maskedDstReg go to state 60
|
| + dstReg go to state 61
|
| + resultBinding go to state 62
|
| +
|
| +
|
| +state 19
|
| +
|
| + 26 BINSCop_instruction: BINSC_OP . maskedDstReg ',' scalarSrcReg ',' scalarSrcReg
|
| +
|
| + RESULT shift, and go to state 58
|
| + USED_IDENTIFIER shift, and go to state 59
|
| +
|
| + maskedDstReg go to state 63
|
| + dstReg go to state 61
|
| + resultBinding go to state 62
|
| +
|
| +
|
| +state 20
|
| +
|
| + 29 SAMPLE_instruction: SAMPLE_OP . maskedDstReg ',' swizzleSrcReg ',' texImageUnit ',' texTarget
|
| +
|
| + RESULT shift, and go to state 58
|
| + USED_IDENTIFIER shift, and go to state 59
|
| +
|
| + maskedDstReg go to state 64
|
| + dstReg go to state 61
|
| + resultBinding go to state 62
|
| +
|
| +
|
| +state 21
|
| +
|
| + 25 SCALARop_instruction: SCALAR_OP . maskedDstReg ',' scalarSrcReg
|
| +
|
| + RESULT shift, and go to state 58
|
| + USED_IDENTIFIER shift, and go to state 59
|
| +
|
| + maskedDstReg go to state 65
|
| + dstReg go to state 61
|
| + resultBinding go to state 62
|
| +
|
| +
|
| +state 22
|
| +
|
| + 28 TRIop_instruction: TRI_OP . maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg ',' swizzleSrcReg
|
| +
|
| + RESULT shift, and go to state 58
|
| + USED_IDENTIFIER shift, and go to state 59
|
| +
|
| + maskedDstReg go to state 66
|
| + dstReg go to state 61
|
| + resultBinding go to state 62
|
| +
|
| +
|
| +state 23
|
| +
|
| + 24 VECTORop_instruction: VECTOR_OP . maskedDstReg ',' swizzleSrcReg
|
| +
|
| + RESULT shift, and go to state 58
|
| + USED_IDENTIFIER shift, and go to state 59
|
| +
|
| + maskedDstReg go to state 67
|
| + dstReg go to state 61
|
| + resultBinding go to state 62
|
| +
|
| +
|
| +state 24
|
| +
|
| + 23 ARL_instruction: ARL . maskedAddrReg ',' scalarSrcReg
|
| +
|
| + USED_IDENTIFIER shift, and go to state 68
|
| +
|
| + maskedAddrReg go to state 69
|
| + addrReg go to state 70
|
| +
|
| +
|
| +state 25
|
| +
|
| + 30 KIL_instruction: KIL . swizzleSrcReg
|
| + 31 | KIL . ccTest
|
| +
|
| + IDENTIFIER shift, and go to state 71
|
| + '+' shift, and go to state 72
|
| + '-' shift, and go to state 73
|
| +
|
| + $default reduce using rule 241 (optionalSign)
|
| +
|
| + swizzleSrcReg go to state 74
|
| + ccTest go to state 75
|
| + ccMaskRule go to state 76
|
| + optionalSign go to state 77
|
| +
|
| +
|
| +state 26
|
| +
|
| + 46 SWZ_instruction: SWZ . maskedDstReg ',' srcReg ',' extendedSwizzle
|
| +
|
| + RESULT shift, and go to state 58
|
| + USED_IDENTIFIER shift, and go to state 59
|
| +
|
| + maskedDstReg go to state 78
|
| + dstReg go to state 61
|
| + resultBinding go to state 62
|
| +
|
| +
|
| +state 27
|
| +
|
| + 32 TXD_instruction: TXD_OP . maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg ',' swizzleSrcReg ',' texImageUnit ',' texTarget
|
| +
|
| + RESULT shift, and go to state 58
|
| + USED_IDENTIFIER shift, and go to state 59
|
| +
|
| + maskedDstReg go to state 79
|
| + dstReg go to state 61
|
| + resultBinding go to state 62
|
| +
|
| +
|
| +state 28
|
| +
|
| + 7 statementSequence: statementSequence statement .
|
| +
|
| + $default reduce using rule 7 (statementSequence)
|
| +
|
| +
|
| +state 29
|
| +
|
| + 9 statement: instruction . ';'
|
| +
|
| + ';' shift, and go to state 80
|
| +
|
| +
|
| +state 30
|
| +
|
| + 11 instruction: ALU_instruction .
|
| +
|
| + $default reduce using rule 11 (instruction)
|
| +
|
| +
|
| +state 31
|
| +
|
| + 12 instruction: TexInstruction .
|
| +
|
| + $default reduce using rule 12 (instruction)
|
| +
|
| +
|
| +state 32
|
| +
|
| + 13 ALU_instruction: ARL_instruction .
|
| +
|
| + $default reduce using rule 13 (ALU_instruction)
|
| +
|
| +
|
| +state 33
|
| +
|
| + 14 ALU_instruction: VECTORop_instruction .
|
| +
|
| + $default reduce using rule 14 (ALU_instruction)
|
| +
|
| +
|
| +state 34
|
| +
|
| + 15 ALU_instruction: SCALARop_instruction .
|
| +
|
| + $default reduce using rule 15 (ALU_instruction)
|
| +
|
| +
|
| +state 35
|
| +
|
| + 16 ALU_instruction: BINSCop_instruction .
|
| +
|
| + $default reduce using rule 16 (ALU_instruction)
|
| +
|
| +
|
| +state 36
|
| +
|
| + 17 ALU_instruction: BINop_instruction .
|
| +
|
| + $default reduce using rule 17 (ALU_instruction)
|
| +
|
| +
|
| +state 37
|
| +
|
| + 18 ALU_instruction: TRIop_instruction .
|
| +
|
| + $default reduce using rule 18 (ALU_instruction)
|
| +
|
| +
|
| +state 38
|
| +
|
| + 20 TexInstruction: SAMPLE_instruction .
|
| +
|
| + $default reduce using rule 20 (TexInstruction)
|
| +
|
| +
|
| +state 39
|
| +
|
| + 21 TexInstruction: KIL_instruction .
|
| +
|
| + $default reduce using rule 21 (TexInstruction)
|
| +
|
| +
|
| +state 40
|
| +
|
| + 22 TexInstruction: TXD_instruction .
|
| +
|
| + $default reduce using rule 22 (TexInstruction)
|
| +
|
| +
|
| +state 41
|
| +
|
| + 19 ALU_instruction: SWZ_instruction .
|
| +
|
| + $default reduce using rule 19 (ALU_instruction)
|
| +
|
| +
|
| +state 42
|
| +
|
| + 10 statement: namingStatement . ';'
|
| +
|
| + ';' shift, and go to state 81
|
| +
|
| +
|
| +state 43
|
| +
|
| + 95 namingStatement: ATTRIB_statement .
|
| +
|
| + $default reduce using rule 95 (namingStatement)
|
| +
|
| +
|
| +state 44
|
| +
|
| + 96 namingStatement: PARAM_statement .
|
| +
|
| + $default reduce using rule 96 (namingStatement)
|
| +
|
| +
|
| +state 45
|
| +
|
| + 120 PARAM_statement: PARAM_singleStmt .
|
| +
|
| + $default reduce using rule 120 (PARAM_statement)
|
| +
|
| +
|
| +state 46
|
| +
|
| + 121 PARAM_statement: PARAM_multipleStmt .
|
| +
|
| + $default reduce using rule 121 (PARAM_statement)
|
| +
|
| +
|
| +state 47
|
| +
|
| + 97 namingStatement: TEMP_statement .
|
| +
|
| + $default reduce using rule 97 (namingStatement)
|
| +
|
| +
|
| +state 48
|
| +
|
| + 243 TEMP_statement: optVarSize . TEMP @1 varNameList
|
| + 250 OUTPUT_statement: optVarSize . OUTPUT IDENTIFIER '=' resultBinding
|
| +
|
| + OUTPUT shift, and go to state 82
|
| + TEMP shift, and go to state 83
|
| +
|
| +
|
| +state 49
|
| +
|
| + 98 namingStatement: ADDRESS_statement .
|
| +
|
| + $default reduce using rule 98 (namingStatement)
|
| +
|
| +
|
| +state 50
|
| +
|
| + 99 namingStatement: OUTPUT_statement .
|
| +
|
| + $default reduce using rule 99 (namingStatement)
|
| +
|
| +
|
| +state 51
|
| +
|
| + 100 namingStatement: ALIAS_statement .
|
| +
|
| + $default reduce using rule 100 (namingStatement)
|
| +
|
| +
|
| +state 52
|
| +
|
| + 244 optVarSize: string .
|
| +
|
| + $default reduce using rule 244 (optVarSize)
|
| +
|
| +
|
| +state 53
|
| +
|
| + 6 option: OPTION string ';' .
|
| +
|
| + $default reduce using rule 6 (option)
|
| +
|
| +
|
| +state 54
|
| +
|
| + 247 ADDRESS_statement: ADDRESS @2 . varNameList
|
| +
|
| + IDENTIFIER shift, and go to state 84
|
| +
|
| + varNameList go to state 85
|
| +
|
| +
|
| +state 55
|
| +
|
| + 280 ALIAS_statement: ALIAS IDENTIFIER . '=' USED_IDENTIFIER
|
| +
|
| + '=' shift, and go to state 86
|
| +
|
| +
|
| +state 56
|
| +
|
| + 101 ATTRIB_statement: ATTRIB IDENTIFIER . '=' attribBinding
|
| +
|
| + '=' shift, and go to state 87
|
| +
|
| +
|
| +state 57
|
| +
|
| + 122 PARAM_singleStmt: PARAM IDENTIFIER . paramSingleInit
|
| + 123 PARAM_multipleStmt: PARAM IDENTIFIER . '[' optArraySize ']' paramMultipleInit
|
| +
|
| + '[' shift, and go to state 88
|
| + '=' shift, and go to state 89
|
| +
|
| + paramSingleInit go to state 90
|
| +
|
| +
|
| +state 58
|
| +
|
| + 251 resultBinding: RESULT . POSITION
|
| + 252 | RESULT . FOGCOORD
|
| + 253 | RESULT . resultColBinding
|
| + 254 | RESULT . POINTSIZE
|
| + 255 | RESULT . TEXCOORD optTexCoordUnitNum
|
| + 256 | RESULT . DEPTH
|
| +
|
| + COLOR shift, and go to state 91
|
| + DEPTH shift, and go to state 92
|
| + FOGCOORD shift, and go to state 93
|
| + POINTSIZE shift, and go to state 94
|
| + POSITION shift, and go to state 95
|
| + TEXCOORD shift, and go to state 96
|
| +
|
| + resultColBinding go to state 97
|
| +
|
| +
|
| +state 59
|
| +
|
| + 64 dstReg: USED_IDENTIFIER .
|
| +
|
| + $default reduce using rule 64 (dstReg)
|
| +
|
| +
|
| +state 60
|
| +
|
| + 27 BINop_instruction: BIN_OP maskedDstReg . ',' swizzleSrcReg ',' swizzleSrcReg
|
| +
|
| + ',' shift, and go to state 98
|
| +
|
| +
|
| +state 61
|
| +
|
| + 53 maskedDstReg: dstReg . optionalMask optionalCcMask
|
| +
|
| + MASK4 shift, and go to state 99
|
| + MASK3 shift, and go to state 100
|
| + MASK2 shift, and go to state 101
|
| + MASK1 shift, and go to state 102
|
| +
|
| + $default reduce using rule 87 (optionalMask)
|
| +
|
| + optionalMask go to state 103
|
| +
|
| +
|
| +state 62
|
| +
|
| + 63 dstReg: resultBinding .
|
| +
|
| + $default reduce using rule 63 (dstReg)
|
| +
|
| +
|
| +state 63
|
| +
|
| + 26 BINSCop_instruction: BINSC_OP maskedDstReg . ',' scalarSrcReg ',' scalarSrcReg
|
| +
|
| + ',' shift, and go to state 104
|
| +
|
| +
|
| +state 64
|
| +
|
| + 29 SAMPLE_instruction: SAMPLE_OP maskedDstReg . ',' swizzleSrcReg ',' texImageUnit ',' texTarget
|
| +
|
| + ',' shift, and go to state 105
|
| +
|
| +
|
| +state 65
|
| +
|
| + 25 SCALARop_instruction: SCALAR_OP maskedDstReg . ',' scalarSrcReg
|
| +
|
| + ',' shift, and go to state 106
|
| +
|
| +
|
| +state 66
|
| +
|
| + 28 TRIop_instruction: TRI_OP maskedDstReg . ',' swizzleSrcReg ',' swizzleSrcReg ',' swizzleSrcReg
|
| +
|
| + ',' shift, and go to state 107
|
| +
|
| +
|
| +state 67
|
| +
|
| + 24 VECTORop_instruction: VECTOR_OP maskedDstReg . ',' swizzleSrcReg
|
| +
|
| + ',' shift, and go to state 108
|
| +
|
| +
|
| +state 68
|
| +
|
| + 75 addrReg: USED_IDENTIFIER .
|
| +
|
| + $default reduce using rule 75 (addrReg)
|
| +
|
| +
|
| +state 69
|
| +
|
| + 23 ARL_instruction: ARL maskedAddrReg . ',' scalarSrcReg
|
| +
|
| + ',' shift, and go to state 109
|
| +
|
| +
|
| +state 70
|
| +
|
| + 54 maskedAddrReg: addrReg . addrWriteMask
|
| +
|
| + MASK1 shift, and go to state 110
|
| +
|
| + addrWriteMask go to state 111
|
| +
|
| +
|
| +state 71
|
| +
|
| + 93 ccMaskRule: IDENTIFIER .
|
| +
|
| + $default reduce using rule 93 (ccMaskRule)
|
| +
|
| +
|
| +state 72
|
| +
|
| + 239 optionalSign: '+' .
|
| +
|
| + $default reduce using rule 239 (optionalSign)
|
| +
|
| +
|
| +state 73
|
| +
|
| + 240 optionalSign: '-' .
|
| +
|
| + $default reduce using rule 240 (optionalSign)
|
| +
|
| +
|
| +state 74
|
| +
|
| + 30 KIL_instruction: KIL swizzleSrcReg .
|
| +
|
| + $default reduce using rule 30 (KIL_instruction)
|
| +
|
| +
|
| +state 75
|
| +
|
| + 31 KIL_instruction: KIL ccTest .
|
| +
|
| + $default reduce using rule 31 (KIL_instruction)
|
| +
|
| +
|
| +state 76
|
| +
|
| + 91 ccTest: ccMaskRule . swizzleSuffix
|
| +
|
| + MASK4 shift, and go to state 112
|
| + MASK1 shift, and go to state 113
|
| + SWIZZLE shift, and go to state 114
|
| +
|
| + $default reduce using rule 82 (swizzleSuffix)
|
| +
|
| + swizzleSuffix go to state 115
|
| +
|
| +
|
| +state 77
|
| +
|
| + 51 swizzleSrcReg: optionalSign . srcReg swizzleSuffix
|
| + 52 | optionalSign . '|' srcReg swizzleSuffix '|'
|
| +
|
| + INTEGER shift, and go to state 116
|
| + REAL shift, and go to state 117
|
| + FRAGMENT shift, and go to state 118
|
| + PROGRAM shift, and go to state 119
|
| + STATE shift, and go to state 120
|
| + VERTEX shift, and go to state 121
|
| + USED_IDENTIFIER shift, and go to state 122
|
| + '|' shift, and go to state 123
|
| + '{' shift, and go to state 124
|
| +
|
| + srcReg go to state 125
|
| + progParamArray go to state 126
|
| + attribBinding go to state 127
|
| + paramSingleItemUse go to state 128
|
| + stateSingleItem go to state 129
|
| + programSingleItem go to state 130
|
| + progEnvParam go to state 131
|
| + progLocalParam go to state 132
|
| + paramConstUse go to state 133
|
| + paramConstScalarUse go to state 134
|
| + paramConstVector go to state 135
|
| +
|
| +
|
| +state 78
|
| +
|
| + 46 SWZ_instruction: SWZ maskedDstReg . ',' srcReg ',' extendedSwizzle
|
| +
|
| + ',' shift, and go to state 136
|
| +
|
| +
|
| +state 79
|
| +
|
| + 32 TXD_instruction: TXD_OP maskedDstReg . ',' swizzleSrcReg ',' swizzleSrcReg ',' swizzleSrcReg ',' texImageUnit ',' texTarget
|
| +
|
| + ',' shift, and go to state 137
|
| +
|
| +
|
| +state 80
|
| +
|
| + 9 statement: instruction ';' .
|
| +
|
| + $default reduce using rule 9 (statement)
|
| +
|
| +
|
| +state 81
|
| +
|
| + 10 statement: namingStatement ';' .
|
| +
|
| + $default reduce using rule 10 (statement)
|
| +
|
| +
|
| +state 82
|
| +
|
| + 250 OUTPUT_statement: optVarSize OUTPUT . IDENTIFIER '=' resultBinding
|
| +
|
| + IDENTIFIER shift, and go to state 138
|
| +
|
| +
|
| +state 83
|
| +
|
| + 243 TEMP_statement: optVarSize TEMP . @1 varNameList
|
| +
|
| + $default reduce using rule 242 (@1)
|
| +
|
| + @1 go to state 139
|
| +
|
| +
|
| +state 84
|
| +
|
| + 249 varNameList: IDENTIFIER .
|
| +
|
| + $default reduce using rule 249 (varNameList)
|
| +
|
| +
|
| +state 85
|
| +
|
| + 247 ADDRESS_statement: ADDRESS @2 varNameList .
|
| + 248 varNameList: varNameList . ',' IDENTIFIER
|
| +
|
| + ',' shift, and go to state 140
|
| +
|
| + $default reduce using rule 247 (ADDRESS_statement)
|
| +
|
| +
|
| +state 86
|
| +
|
| + 280 ALIAS_statement: ALIAS IDENTIFIER '=' . USED_IDENTIFIER
|
| +
|
| + USED_IDENTIFIER shift, and go to state 141
|
| +
|
| +
|
| +state 87
|
| +
|
| + 101 ATTRIB_statement: ATTRIB IDENTIFIER '=' . attribBinding
|
| +
|
| + FRAGMENT shift, and go to state 118
|
| + VERTEX shift, and go to state 121
|
| +
|
| + attribBinding go to state 142
|
| +
|
| +
|
| +state 88
|
| +
|
| + 123 PARAM_multipleStmt: PARAM IDENTIFIER '[' . optArraySize ']' paramMultipleInit
|
| +
|
| + INTEGER shift, and go to state 143
|
| +
|
| + $default reduce using rule 124 (optArraySize)
|
| +
|
| + optArraySize go to state 144
|
| +
|
| +
|
| +state 89
|
| +
|
| + 126 paramSingleInit: '=' . paramSingleItemDecl
|
| +
|
| + PROGRAM shift, and go to state 119
|
| + STATE shift, and go to state 120
|
| + '+' shift, and go to state 72
|
| + '-' shift, and go to state 73
|
| + '{' shift, and go to state 124
|
| +
|
| + $default reduce using rule 241 (optionalSign)
|
| +
|
| + paramSingleItemDecl go to state 145
|
| + stateSingleItem go to state 146
|
| + programSingleItem go to state 147
|
| + progEnvParam go to state 131
|
| + progLocalParam go to state 132
|
| + paramConstDecl go to state 148
|
| + paramConstScalarDecl go to state 149
|
| + paramConstVector go to state 150
|
| + signedFloatConstant go to state 151
|
| + optionalSign go to state 152
|
| +
|
| +
|
| +state 90
|
| +
|
| + 122 PARAM_singleStmt: PARAM IDENTIFIER paramSingleInit .
|
| +
|
| + $default reduce using rule 122 (PARAM_singleStmt)
|
| +
|
| +
|
| +state 91
|
| +
|
| + 257 resultColBinding: COLOR . optResultFaceType optResultColorType
|
| +
|
| + BACK shift, and go to state 153
|
| + FRONT shift, and go to state 154
|
| + '[' shift, and go to state 155
|
| +
|
| + $default reduce using rule 258 (optResultFaceType)
|
| +
|
| + optResultFaceType go to state 156
|
| +
|
| +
|
| +state 92
|
| +
|
| + 256 resultBinding: RESULT DEPTH .
|
| +
|
| + $default reduce using rule 256 (resultBinding)
|
| +
|
| +
|
| +state 93
|
| +
|
| + 252 resultBinding: RESULT FOGCOORD .
|
| +
|
| + $default reduce using rule 252 (resultBinding)
|
| +
|
| +
|
| +state 94
|
| +
|
| + 254 resultBinding: RESULT POINTSIZE .
|
| +
|
| + $default reduce using rule 254 (resultBinding)
|
| +
|
| +
|
| +state 95
|
| +
|
| + 251 resultBinding: RESULT POSITION .
|
| +
|
| + $default reduce using rule 251 (resultBinding)
|
| +
|
| +
|
| +state 96
|
| +
|
| + 255 resultBinding: RESULT TEXCOORD . optTexCoordUnitNum
|
| +
|
| + '[' shift, and go to state 157
|
| +
|
| + $default reduce using rule 271 (optTexCoordUnitNum)
|
| +
|
| + optTexCoordUnitNum go to state 158
|
| +
|
| +
|
| +state 97
|
| +
|
| + 253 resultBinding: RESULT resultColBinding .
|
| +
|
| + $default reduce using rule 253 (resultBinding)
|
| +
|
| +
|
| +state 98
|
| +
|
| + 27 BINop_instruction: BIN_OP maskedDstReg ',' . swizzleSrcReg ',' swizzleSrcReg
|
| +
|
| + '+' shift, and go to state 72
|
| + '-' shift, and go to state 73
|
| +
|
| + $default reduce using rule 241 (optionalSign)
|
| +
|
| + swizzleSrcReg go to state 159
|
| + optionalSign go to state 77
|
| +
|
| +
|
| +state 99
|
| +
|
| + 83 optionalMask: MASK4 .
|
| +
|
| + $default reduce using rule 83 (optionalMask)
|
| +
|
| +
|
| +state 100
|
| +
|
| + 84 optionalMask: MASK3 .
|
| +
|
| + $default reduce using rule 84 (optionalMask)
|
| +
|
| +
|
| +state 101
|
| +
|
| + 85 optionalMask: MASK2 .
|
| +
|
| + $default reduce using rule 85 (optionalMask)
|
| +
|
| +
|
| +state 102
|
| +
|
| + 86 optionalMask: MASK1 .
|
| +
|
| + $default reduce using rule 86 (optionalMask)
|
| +
|
| +
|
| +state 103
|
| +
|
| + 53 maskedDstReg: dstReg optionalMask . optionalCcMask
|
| +
|
| + '(' shift, and go to state 160
|
| +
|
| + $default reduce using rule 90 (optionalCcMask)
|
| +
|
| + optionalCcMask go to state 161
|
| +
|
| +
|
| +state 104
|
| +
|
| + 26 BINSCop_instruction: BINSC_OP maskedDstReg ',' . scalarSrcReg ',' scalarSrcReg
|
| +
|
| + '+' shift, and go to state 72
|
| + '-' shift, and go to state 73
|
| +
|
| + $default reduce using rule 241 (optionalSign)
|
| +
|
| + scalarSrcReg go to state 162
|
| + optionalSign go to state 163
|
| +
|
| +
|
| +state 105
|
| +
|
| + 29 SAMPLE_instruction: SAMPLE_OP maskedDstReg ',' . swizzleSrcReg ',' texImageUnit ',' texTarget
|
| +
|
| + '+' shift, and go to state 72
|
| + '-' shift, and go to state 73
|
| +
|
| + $default reduce using rule 241 (optionalSign)
|
| +
|
| + swizzleSrcReg go to state 164
|
| + optionalSign go to state 77
|
| +
|
| +
|
| +state 106
|
| +
|
| + 25 SCALARop_instruction: SCALAR_OP maskedDstReg ',' . scalarSrcReg
|
| +
|
| + '+' shift, and go to state 72
|
| + '-' shift, and go to state 73
|
| +
|
| + $default reduce using rule 241 (optionalSign)
|
| +
|
| + scalarSrcReg go to state 165
|
| + optionalSign go to state 163
|
| +
|
| +
|
| +state 107
|
| +
|
| + 28 TRIop_instruction: TRI_OP maskedDstReg ',' . swizzleSrcReg ',' swizzleSrcReg ',' swizzleSrcReg
|
| +
|
| + '+' shift, and go to state 72
|
| + '-' shift, and go to state 73
|
| +
|
| + $default reduce using rule 241 (optionalSign)
|
| +
|
| + swizzleSrcReg go to state 166
|
| + optionalSign go to state 77
|
| +
|
| +
|
| +state 108
|
| +
|
| + 24 VECTORop_instruction: VECTOR_OP maskedDstReg ',' . swizzleSrcReg
|
| +
|
| + '+' shift, and go to state 72
|
| + '-' shift, and go to state 73
|
| +
|
| + $default reduce using rule 241 (optionalSign)
|
| +
|
| + swizzleSrcReg go to state 167
|
| + optionalSign go to state 77
|
| +
|
| +
|
| +state 109
|
| +
|
| + 23 ARL_instruction: ARL maskedAddrReg ',' . scalarSrcReg
|
| +
|
| + '+' shift, and go to state 72
|
| + '-' shift, and go to state 73
|
| +
|
| + $default reduce using rule 241 (optionalSign)
|
| +
|
| + scalarSrcReg go to state 168
|
| + optionalSign go to state 163
|
| +
|
| +
|
| +state 110
|
| +
|
| + 77 addrWriteMask: MASK1 .
|
| +
|
| + $default reduce using rule 77 (addrWriteMask)
|
| +
|
| +
|
| +state 111
|
| +
|
| + 54 maskedAddrReg: addrReg addrWriteMask .
|
| +
|
| + $default reduce using rule 54 (maskedAddrReg)
|
| +
|
| +
|
| +state 112
|
| +
|
| + 80 swizzleSuffix: MASK4 .
|
| +
|
| + $default reduce using rule 80 (swizzleSuffix)
|
| +
|
| +
|
| +state 113
|
| +
|
| + 79 swizzleSuffix: MASK1 .
|
| +
|
| + $default reduce using rule 79 (swizzleSuffix)
|
| +
|
| +
|
| +state 114
|
| +
|
| + 81 swizzleSuffix: SWIZZLE .
|
| +
|
| + $default reduce using rule 81 (swizzleSuffix)
|
| +
|
| +
|
| +state 115
|
| +
|
| + 91 ccTest: ccMaskRule swizzleSuffix .
|
| +
|
| + $default reduce using rule 91 (ccTest)
|
| +
|
| +
|
| +state 116
|
| +
|
| + 232 paramConstScalarUse: INTEGER .
|
| +
|
| + $default reduce using rule 232 (paramConstScalarUse)
|
| +
|
| +
|
| +state 117
|
| +
|
| + 231 paramConstScalarUse: REAL .
|
| +
|
| + $default reduce using rule 231 (paramConstScalarUse)
|
| +
|
| +
|
| +state 118
|
| +
|
| + 103 attribBinding: FRAGMENT . fragAttribItem
|
| +
|
| + COLOR shift, and go to state 169
|
| + FOGCOORD shift, and go to state 170
|
| + POSITION shift, and go to state 171
|
| + TEXCOORD shift, and go to state 172
|
| +
|
| + fragAttribItem go to state 173
|
| +
|
| +
|
| +state 119
|
| +
|
| + 219 progEnvParam: PROGRAM . ENV '[' progEnvParamNum ']'
|
| + 223 progLocalParam: PROGRAM . LOCAL '[' progLocalParamNum ']'
|
| +
|
| + ENV shift, and go to state 174
|
| + LOCAL shift, and go to state 175
|
| +
|
| +
|
| +state 120
|
| +
|
| + 141 stateSingleItem: STATE . stateMaterialItem
|
| + 142 | STATE . stateLightItem
|
| + 143 | STATE . stateLightModelItem
|
| + 144 | STATE . stateLightProdItem
|
| + 145 | STATE . stateTexGenItem
|
| + 146 | STATE . stateTexEnvItem
|
| + 147 | STATE . stateFogItem
|
| + 148 | STATE . stateClipPlaneItem
|
| + 149 | STATE . statePointItem
|
| + 150 | STATE . stateMatrixRow
|
| + 151 | STATE . stateDepthItem
|
| +
|
| + CLIP shift, and go to state 176
|
| + DEPTH shift, and go to state 177
|
| + FOG shift, and go to state 178
|
| + LIGHT shift, and go to state 179
|
| + LIGHTMODEL shift, and go to state 180
|
| + LIGHTPROD shift, and go to state 181
|
| + MATERIAL shift, and go to state 182
|
| + MATRIX shift, and go to state 183
|
| + POINT_TOK shift, and go to state 184
|
| + TEXENV shift, and go to state 185
|
| + TEXGEN shift, and go to state 186
|
| +
|
| + stateMaterialItem go to state 187
|
| + stateLightItem go to state 188
|
| + stateLightModelItem go to state 189
|
| + stateLightProdItem go to state 190
|
| + stateTexEnvItem go to state 191
|
| + stateTexGenItem go to state 192
|
| + stateFogItem go to state 193
|
| + stateClipPlaneItem go to state 194
|
| + statePointItem go to state 195
|
| + stateMatrixRow go to state 196
|
| + stateMatrixItem go to state 197
|
| + stateDepthItem go to state 198
|
| +
|
| +
|
| +state 121
|
| +
|
| + 102 attribBinding: VERTEX . vtxAttribItem
|
| +
|
| + COLOR shift, and go to state 199
|
| + FOGCOORD shift, and go to state 200
|
| + MATRIXINDEX shift, and go to state 201
|
| + NORMAL shift, and go to state 202
|
| + POSITION shift, and go to state 203
|
| + TEXCOORD shift, and go to state 204
|
| + VTXATTRIB shift, and go to state 205
|
| + WEIGHT shift, and go to state 206
|
| +
|
| + vtxAttribItem go to state 207
|
| +
|
| +
|
| +state 122
|
| +
|
| + 59 srcReg: USED_IDENTIFIER .
|
| + 65 progParamArray: USED_IDENTIFIER .
|
| +
|
| + '[' reduce using rule 65 (progParamArray)
|
| + $default reduce using rule 59 (srcReg)
|
| +
|
| +
|
| +state 123
|
| +
|
| + 52 swizzleSrcReg: optionalSign '|' . srcReg swizzleSuffix '|'
|
| +
|
| + INTEGER shift, and go to state 116
|
| + REAL shift, and go to state 117
|
| + FRAGMENT shift, and go to state 118
|
| + PROGRAM shift, and go to state 119
|
| + STATE shift, and go to state 120
|
| + VERTEX shift, and go to state 121
|
| + USED_IDENTIFIER shift, and go to state 122
|
| + '{' shift, and go to state 124
|
| +
|
| + srcReg go to state 208
|
| + progParamArray go to state 126
|
| + attribBinding go to state 127
|
| + paramSingleItemUse go to state 128
|
| + stateSingleItem go to state 129
|
| + programSingleItem go to state 130
|
| + progEnvParam go to state 131
|
| + progLocalParam go to state 132
|
| + paramConstUse go to state 133
|
| + paramConstScalarUse go to state 134
|
| + paramConstVector go to state 135
|
| +
|
| +
|
| +state 124
|
| +
|
| + 233 paramConstVector: '{' . signedFloatConstant '}'
|
| + 234 | '{' . signedFloatConstant ',' signedFloatConstant '}'
|
| + 235 | '{' . signedFloatConstant ',' signedFloatConstant ',' signedFloatConstant '}'
|
| + 236 | '{' . signedFloatConstant ',' signedFloatConstant ',' signedFloatConstant ',' signedFloatConstant '}'
|
| +
|
| + '+' shift, and go to state 72
|
| + '-' shift, and go to state 73
|
| +
|
| + $default reduce using rule 241 (optionalSign)
|
| +
|
| + signedFloatConstant go to state 209
|
| + optionalSign go to state 152
|
| +
|
| +
|
| +state 125
|
| +
|
| + 51 swizzleSrcReg: optionalSign srcReg . swizzleSuffix
|
| +
|
| + MASK4 shift, and go to state 112
|
| + MASK1 shift, and go to state 113
|
| + SWIZZLE shift, and go to state 114
|
| +
|
| + $default reduce using rule 82 (swizzleSuffix)
|
| +
|
| + swizzleSuffix go to state 210
|
| +
|
| +
|
| +state 126
|
| +
|
| + 61 srcReg: progParamArray . '[' progParamArrayMem ']'
|
| +
|
| + '[' shift, and go to state 211
|
| +
|
| +
|
| +state 127
|
| +
|
| + 60 srcReg: attribBinding .
|
| +
|
| + $default reduce using rule 60 (srcReg)
|
| +
|
| +
|
| +state 128
|
| +
|
| + 62 srcReg: paramSingleItemUse .
|
| +
|
| + $default reduce using rule 62 (srcReg)
|
| +
|
| +
|
| +state 129
|
| +
|
| + 133 paramSingleItemUse: stateSingleItem .
|
| +
|
| + $default reduce using rule 133 (paramSingleItemUse)
|
| +
|
| +
|
| +state 130
|
| +
|
| + 134 paramSingleItemUse: programSingleItem .
|
| +
|
| + $default reduce using rule 134 (paramSingleItemUse)
|
| +
|
| +
|
| +state 131
|
| +
|
| + 212 programSingleItem: progEnvParam .
|
| +
|
| + $default reduce using rule 212 (programSingleItem)
|
| +
|
| +
|
| +state 132
|
| +
|
| + 213 programSingleItem: progLocalParam .
|
| +
|
| + $default reduce using rule 213 (programSingleItem)
|
| +
|
| +
|
| +state 133
|
| +
|
| + 135 paramSingleItemUse: paramConstUse .
|
| +
|
| + $default reduce using rule 135 (paramSingleItemUse)
|
| +
|
| +
|
| +state 134
|
| +
|
| + 228 paramConstUse: paramConstScalarUse .
|
| +
|
| + $default reduce using rule 228 (paramConstUse)
|
| +
|
| +
|
| +state 135
|
| +
|
| + 229 paramConstUse: paramConstVector .
|
| +
|
| + $default reduce using rule 229 (paramConstUse)
|
| +
|
| +
|
| +state 136
|
| +
|
| + 46 SWZ_instruction: SWZ maskedDstReg ',' . srcReg ',' extendedSwizzle
|
| +
|
| + INTEGER shift, and go to state 116
|
| + REAL shift, and go to state 117
|
| + FRAGMENT shift, and go to state 118
|
| + PROGRAM shift, and go to state 119
|
| + STATE shift, and go to state 120
|
| + VERTEX shift, and go to state 121
|
| + USED_IDENTIFIER shift, and go to state 122
|
| + '{' shift, and go to state 124
|
| +
|
| + srcReg go to state 212
|
| + progParamArray go to state 126
|
| + attribBinding go to state 127
|
| + paramSingleItemUse go to state 128
|
| + stateSingleItem go to state 129
|
| + programSingleItem go to state 130
|
| + progEnvParam go to state 131
|
| + progLocalParam go to state 132
|
| + paramConstUse go to state 133
|
| + paramConstScalarUse go to state 134
|
| + paramConstVector go to state 135
|
| +
|
| +
|
| +state 137
|
| +
|
| + 32 TXD_instruction: TXD_OP maskedDstReg ',' . swizzleSrcReg ',' swizzleSrcReg ',' swizzleSrcReg ',' texImageUnit ',' texTarget
|
| +
|
| + '+' shift, and go to state 72
|
| + '-' shift, and go to state 73
|
| +
|
| + $default reduce using rule 241 (optionalSign)
|
| +
|
| + swizzleSrcReg go to state 213
|
| + optionalSign go to state 77
|
| +
|
| +
|
| +state 138
|
| +
|
| + 250 OUTPUT_statement: optVarSize OUTPUT IDENTIFIER . '=' resultBinding
|
| +
|
| + '=' shift, and go to state 214
|
| +
|
| +
|
| +state 139
|
| +
|
| + 243 TEMP_statement: optVarSize TEMP @1 . varNameList
|
| +
|
| + IDENTIFIER shift, and go to state 84
|
| +
|
| + varNameList go to state 215
|
| +
|
| +
|
| +state 140
|
| +
|
| + 248 varNameList: varNameList ',' . IDENTIFIER
|
| +
|
| + IDENTIFIER shift, and go to state 216
|
| +
|
| +
|
| +state 141
|
| +
|
| + 280 ALIAS_statement: ALIAS IDENTIFIER '=' USED_IDENTIFIER .
|
| +
|
| + $default reduce using rule 280 (ALIAS_statement)
|
| +
|
| +
|
| +state 142
|
| +
|
| + 101 ATTRIB_statement: ATTRIB IDENTIFIER '=' attribBinding .
|
| +
|
| + $default reduce using rule 101 (ATTRIB_statement)
|
| +
|
| +
|
| +state 143
|
| +
|
| + 125 optArraySize: INTEGER .
|
| +
|
| + $default reduce using rule 125 (optArraySize)
|
| +
|
| +
|
| +state 144
|
| +
|
| + 123 PARAM_multipleStmt: PARAM IDENTIFIER '[' optArraySize . ']' paramMultipleInit
|
| +
|
| + ']' shift, and go to state 217
|
| +
|
| +
|
| +state 145
|
| +
|
| + 126 paramSingleInit: '=' paramSingleItemDecl .
|
| +
|
| + $default reduce using rule 126 (paramSingleInit)
|
| +
|
| +
|
| +state 146
|
| +
|
| + 130 paramSingleItemDecl: stateSingleItem .
|
| +
|
| + $default reduce using rule 130 (paramSingleItemDecl)
|
| +
|
| +
|
| +state 147
|
| +
|
| + 131 paramSingleItemDecl: programSingleItem .
|
| +
|
| + $default reduce using rule 131 (paramSingleItemDecl)
|
| +
|
| +
|
| +state 148
|
| +
|
| + 132 paramSingleItemDecl: paramConstDecl .
|
| +
|
| + $default reduce using rule 132 (paramSingleItemDecl)
|
| +
|
| +
|
| +state 149
|
| +
|
| + 226 paramConstDecl: paramConstScalarDecl .
|
| +
|
| + $default reduce using rule 226 (paramConstDecl)
|
| +
|
| +
|
| +state 150
|
| +
|
| + 227 paramConstDecl: paramConstVector .
|
| +
|
| + $default reduce using rule 227 (paramConstDecl)
|
| +
|
| +
|
| +state 151
|
| +
|
| + 230 paramConstScalarDecl: signedFloatConstant .
|
| +
|
| + $default reduce using rule 230 (paramConstScalarDecl)
|
| +
|
| +
|
| +state 152
|
| +
|
| + 237 signedFloatConstant: optionalSign . REAL
|
| + 238 | optionalSign . INTEGER
|
| +
|
| + INTEGER shift, and go to state 218
|
| + REAL shift, and go to state 219
|
| +
|
| +
|
| +state 153
|
| +
|
| + 261 optResultFaceType: BACK .
|
| +
|
| + $default reduce using rule 261 (optResultFaceType)
|
| +
|
| +
|
| +state 154
|
| +
|
| + 260 optResultFaceType: FRONT .
|
| +
|
| + $default reduce using rule 260 (optResultFaceType)
|
| +
|
| +
|
| +state 155
|
| +
|
| + 259 optResultFaceType: '[' . INTEGER ']'
|
| +
|
| + INTEGER shift, and go to state 220
|
| +
|
| +
|
| +state 156
|
| +
|
| + 257 resultColBinding: COLOR optResultFaceType . optResultColorType
|
| +
|
| + PRIMARY shift, and go to state 221
|
| + SECONDARY shift, and go to state 222
|
| +
|
| + $default reduce using rule 262 (optResultColorType)
|
| +
|
| + optResultColorType go to state 223
|
| +
|
| +
|
| +state 157
|
| +
|
| + 272 optTexCoordUnitNum: '[' . texCoordUnitNum ']'
|
| +
|
| + INTEGER shift, and go to state 224
|
| +
|
| + texCoordUnitNum go to state 225
|
| +
|
| +
|
| +state 158
|
| +
|
| + 255 resultBinding: RESULT TEXCOORD optTexCoordUnitNum .
|
| +
|
| + $default reduce using rule 255 (resultBinding)
|
| +
|
| +
|
| +state 159
|
| +
|
| + 27 BINop_instruction: BIN_OP maskedDstReg ',' swizzleSrcReg . ',' swizzleSrcReg
|
| +
|
| + ',' shift, and go to state 226
|
| +
|
| +
|
| +state 160
|
| +
|
| + 88 optionalCcMask: '(' . ccTest ')'
|
| + 89 | '(' . ccTest2 ')'
|
| +
|
| + IDENTIFIER shift, and go to state 71
|
| + USED_IDENTIFIER shift, and go to state 227
|
| +
|
| + ccTest go to state 228
|
| + ccTest2 go to state 229
|
| + ccMaskRule go to state 76
|
| + ccMaskRule2 go to state 230
|
| +
|
| +
|
| +state 161
|
| +
|
| + 53 maskedDstReg: dstReg optionalMask optionalCcMask .
|
| +
|
| + $default reduce using rule 53 (maskedDstReg)
|
| +
|
| +
|
| +state 162
|
| +
|
| + 26 BINSCop_instruction: BINSC_OP maskedDstReg ',' scalarSrcReg . ',' scalarSrcReg
|
| +
|
| + ',' shift, and go to state 231
|
| +
|
| +
|
| +state 163
|
| +
|
| + 47 scalarSrcReg: optionalSign . scalarUse
|
| + 48 | optionalSign . '|' scalarUse '|'
|
| +
|
| + INTEGER shift, and go to state 116
|
| + REAL shift, and go to state 117
|
| + FRAGMENT shift, and go to state 118
|
| + PROGRAM shift, and go to state 119
|
| + STATE shift, and go to state 120
|
| + VERTEX shift, and go to state 121
|
| + USED_IDENTIFIER shift, and go to state 122
|
| + '|' shift, and go to state 232
|
| + '{' shift, and go to state 124
|
| +
|
| + scalarUse go to state 233
|
| + srcReg go to state 234
|
| + progParamArray go to state 126
|
| + attribBinding go to state 127
|
| + paramSingleItemUse go to state 128
|
| + stateSingleItem go to state 129
|
| + programSingleItem go to state 130
|
| + progEnvParam go to state 131
|
| + progLocalParam go to state 132
|
| + paramConstUse go to state 133
|
| + paramConstScalarUse go to state 235
|
| + paramConstVector go to state 135
|
| +
|
| +
|
| +state 164
|
| +
|
| + 29 SAMPLE_instruction: SAMPLE_OP maskedDstReg ',' swizzleSrcReg . ',' texImageUnit ',' texTarget
|
| +
|
| + ',' shift, and go to state 236
|
| +
|
| +
|
| +state 165
|
| +
|
| + 25 SCALARop_instruction: SCALAR_OP maskedDstReg ',' scalarSrcReg .
|
| +
|
| + $default reduce using rule 25 (SCALARop_instruction)
|
| +
|
| +
|
| +state 166
|
| +
|
| + 28 TRIop_instruction: TRI_OP maskedDstReg ',' swizzleSrcReg . ',' swizzleSrcReg ',' swizzleSrcReg
|
| +
|
| + ',' shift, and go to state 237
|
| +
|
| +
|
| +state 167
|
| +
|
| + 24 VECTORop_instruction: VECTOR_OP maskedDstReg ',' swizzleSrcReg .
|
| +
|
| + $default reduce using rule 24 (VECTORop_instruction)
|
| +
|
| +
|
| +state 168
|
| +
|
| + 23 ARL_instruction: ARL maskedAddrReg ',' scalarSrcReg .
|
| +
|
| + $default reduce using rule 23 (ARL_instruction)
|
| +
|
| +
|
| +state 169
|
| +
|
| + 117 fragAttribItem: COLOR . optColorType
|
| +
|
| + PRIMARY shift, and go to state 238
|
| + SECONDARY shift, and go to state 239
|
| +
|
| + $default reduce using rule 268 (optColorType)
|
| +
|
| + optColorType go to state 240
|
| +
|
| +
|
| +state 170
|
| +
|
| + 118 fragAttribItem: FOGCOORD .
|
| +
|
| + $default reduce using rule 118 (fragAttribItem)
|
| +
|
| +
|
| +state 171
|
| +
|
| + 116 fragAttribItem: POSITION .
|
| +
|
| + $default reduce using rule 116 (fragAttribItem)
|
| +
|
| +
|
| +state 172
|
| +
|
| + 119 fragAttribItem: TEXCOORD . optTexCoordUnitNum
|
| +
|
| + '[' shift, and go to state 157
|
| +
|
| + $default reduce using rule 271 (optTexCoordUnitNum)
|
| +
|
| + optTexCoordUnitNum go to state 241
|
| +
|
| +
|
| +state 173
|
| +
|
| + 103 attribBinding: FRAGMENT fragAttribItem .
|
| +
|
| + $default reduce using rule 103 (attribBinding)
|
| +
|
| +
|
| +state 174
|
| +
|
| + 219 progEnvParam: PROGRAM ENV . '[' progEnvParamNum ']'
|
| +
|
| + '[' shift, and go to state 242
|
| +
|
| +
|
| +state 175
|
| +
|
| + 223 progLocalParam: PROGRAM LOCAL . '[' progLocalParamNum ']'
|
| +
|
| + '[' shift, and go to state 243
|
| +
|
| +
|
| +state 176
|
| +
|
| + 184 stateClipPlaneItem: CLIP . '[' stateClipPlaneNum ']' PLANE
|
| +
|
| + '[' shift, and go to state 244
|
| +
|
| +
|
| +state 177
|
| +
|
| + 211 stateDepthItem: DEPTH . RANGE
|
| +
|
| + RANGE shift, and go to state 245
|
| +
|
| +
|
| +state 178
|
| +
|
| + 181 stateFogItem: FOG . stateFogProperty
|
| +
|
| + COLOR shift, and go to state 246
|
| + PARAMS shift, and go to state 247
|
| +
|
| + stateFogProperty go to state 248
|
| +
|
| +
|
| +state 179
|
| +
|
| + 156 stateLightItem: LIGHT . '[' stateLightNumber ']' stateLightProperty
|
| +
|
| + '[' shift, and go to state 249
|
| +
|
| +
|
| +state 180
|
| +
|
| + 163 stateLightModelItem: LIGHTMODEL . stateLModProperty
|
| +
|
| + AMBIENT shift, and go to state 250
|
| + BACK shift, and go to state 251
|
| + FRONT shift, and go to state 252
|
| +
|
| + $default reduce using rule 265 (optFaceType)
|
| +
|
| + stateLModProperty go to state 253
|
| + optFaceType go to state 254
|
| +
|
| +
|
| +state 181
|
| +
|
| + 166 stateLightProdItem: LIGHTPROD . '[' stateLightNumber ']' optFaceType stateLProdProperty
|
| +
|
| + '[' shift, and go to state 255
|
| +
|
| +
|
| +state 182
|
| +
|
| + 152 stateMaterialItem: MATERIAL . optFaceType stateMatProperty
|
| +
|
| + BACK shift, and go to state 251
|
| + FRONT shift, and go to state 252
|
| +
|
| + $default reduce using rule 265 (optFaceType)
|
| +
|
| + optFaceType go to state 256
|
| +
|
| +
|
| +state 183
|
| +
|
| + 193 stateMatrixItem: MATRIX . stateMatrixName stateOptMatModifier
|
| +
|
| + MAT_PROGRAM shift, and go to state 257
|
| + MODELVIEW shift, and go to state 258
|
| + MVP shift, and go to state 259
|
| + PALETTE shift, and go to state 260
|
| + PROJECTION shift, and go to state 261
|
| + TEXTURE shift, and go to state 262
|
| +
|
| + stateMatrixName go to state 263
|
| +
|
| +
|
| +state 184
|
| +
|
| + 186 statePointItem: POINT_TOK . statePointProperty
|
| +
|
| + ATTENUATION shift, and go to state 264
|
| + SIZE_TOK shift, and go to state 265
|
| +
|
| + statePointProperty go to state 266
|
| +
|
| +
|
| +state 185
|
| +
|
| + 168 stateTexEnvItem: TEXENV . optLegacyTexUnitNum stateTexEnvProperty
|
| +
|
| + '[' shift, and go to state 267
|
| +
|
| + $default reduce using rule 275 (optLegacyTexUnitNum)
|
| +
|
| + optLegacyTexUnitNum go to state 268
|
| +
|
| +
|
| +state 186
|
| +
|
| + 174 stateTexGenItem: TEXGEN . optTexCoordUnitNum stateTexGenType stateTexGenCoord
|
| +
|
| + '[' shift, and go to state 157
|
| +
|
| + $default reduce using rule 271 (optTexCoordUnitNum)
|
| +
|
| + optTexCoordUnitNum go to state 269
|
| +
|
| +
|
| +state 187
|
| +
|
| + 141 stateSingleItem: STATE stateMaterialItem .
|
| +
|
| + $default reduce using rule 141 (stateSingleItem)
|
| +
|
| +
|
| +state 188
|
| +
|
| + 142 stateSingleItem: STATE stateLightItem .
|
| +
|
| + $default reduce using rule 142 (stateSingleItem)
|
| +
|
| +
|
| +state 189
|
| +
|
| + 143 stateSingleItem: STATE stateLightModelItem .
|
| +
|
| + $default reduce using rule 143 (stateSingleItem)
|
| +
|
| +
|
| +state 190
|
| +
|
| + 144 stateSingleItem: STATE stateLightProdItem .
|
| +
|
| + $default reduce using rule 144 (stateSingleItem)
|
| +
|
| +
|
| +state 191
|
| +
|
| + 146 stateSingleItem: STATE stateTexEnvItem .
|
| +
|
| + $default reduce using rule 146 (stateSingleItem)
|
| +
|
| +
|
| +state 192
|
| +
|
| + 145 stateSingleItem: STATE stateTexGenItem .
|
| +
|
| + $default reduce using rule 145 (stateSingleItem)
|
| +
|
| +
|
| +state 193
|
| +
|
| + 147 stateSingleItem: STATE stateFogItem .
|
| +
|
| + $default reduce using rule 147 (stateSingleItem)
|
| +
|
| +
|
| +state 194
|
| +
|
| + 148 stateSingleItem: STATE stateClipPlaneItem .
|
| +
|
| + $default reduce using rule 148 (stateSingleItem)
|
| +
|
| +
|
| +state 195
|
| +
|
| + 149 stateSingleItem: STATE statePointItem .
|
| +
|
| + $default reduce using rule 149 (stateSingleItem)
|
| +
|
| +
|
| +state 196
|
| +
|
| + 150 stateSingleItem: STATE stateMatrixRow .
|
| +
|
| + $default reduce using rule 150 (stateSingleItem)
|
| +
|
| +
|
| +state 197
|
| +
|
| + 189 stateMatrixRow: stateMatrixItem . ROW '[' stateMatrixRowNum ']'
|
| +
|
| + ROW shift, and go to state 270
|
| +
|
| +
|
| +state 198
|
| +
|
| + 151 stateSingleItem: STATE stateDepthItem .
|
| +
|
| + $default reduce using rule 151 (stateSingleItem)
|
| +
|
| +
|
| +state 199
|
| +
|
| + 107 vtxAttribItem: COLOR . optColorType
|
| +
|
| + PRIMARY shift, and go to state 238
|
| + SECONDARY shift, and go to state 239
|
| +
|
| + $default reduce using rule 268 (optColorType)
|
| +
|
| + optColorType go to state 271
|
| +
|
| +
|
| +state 200
|
| +
|
| + 108 vtxAttribItem: FOGCOORD .
|
| +
|
| + $default reduce using rule 108 (vtxAttribItem)
|
| +
|
| +
|
| +state 201
|
| +
|
| + 110 vtxAttribItem: MATRIXINDEX . '[' vtxWeightNum ']'
|
| +
|
| + '[' shift, and go to state 272
|
| +
|
| +
|
| +state 202
|
| +
|
| + 106 vtxAttribItem: NORMAL .
|
| +
|
| + $default reduce using rule 106 (vtxAttribItem)
|
| +
|
| +
|
| +state 203
|
| +
|
| + 104 vtxAttribItem: POSITION .
|
| +
|
| + $default reduce using rule 104 (vtxAttribItem)
|
| +
|
| +
|
| +state 204
|
| +
|
| + 109 vtxAttribItem: TEXCOORD . optTexCoordUnitNum
|
| +
|
| + '[' shift, and go to state 157
|
| +
|
| + $default reduce using rule 271 (optTexCoordUnitNum)
|
| +
|
| + optTexCoordUnitNum go to state 273
|
| +
|
| +
|
| +state 205
|
| +
|
| + 111 vtxAttribItem: VTXATTRIB . '[' vtxAttribNum ']'
|
| +
|
| + '[' shift, and go to state 274
|
| +
|
| +
|
| +state 206
|
| +
|
| + 105 vtxAttribItem: WEIGHT . vtxOptWeightNum
|
| +
|
| + '[' shift, and go to state 275
|
| +
|
| + $default reduce using rule 113 (vtxOptWeightNum)
|
| +
|
| + vtxOptWeightNum go to state 276
|
| +
|
| +
|
| +state 207
|
| +
|
| + 102 attribBinding: VERTEX vtxAttribItem .
|
| +
|
| + $default reduce using rule 102 (attribBinding)
|
| +
|
| +
|
| +state 208
|
| +
|
| + 52 swizzleSrcReg: optionalSign '|' srcReg . swizzleSuffix '|'
|
| +
|
| + MASK4 shift, and go to state 112
|
| + MASK1 shift, and go to state 113
|
| + SWIZZLE shift, and go to state 114
|
| +
|
| + $default reduce using rule 82 (swizzleSuffix)
|
| +
|
| + swizzleSuffix go to state 277
|
| +
|
| +
|
| +state 209
|
| +
|
| + 233 paramConstVector: '{' signedFloatConstant . '}'
|
| + 234 | '{' signedFloatConstant . ',' signedFloatConstant '}'
|
| + 235 | '{' signedFloatConstant . ',' signedFloatConstant ',' signedFloatConstant '}'
|
| + 236 | '{' signedFloatConstant . ',' signedFloatConstant ',' signedFloatConstant ',' signedFloatConstant '}'
|
| +
|
| + ',' shift, and go to state 278
|
| + '}' shift, and go to state 279
|
| +
|
| +
|
| +state 210
|
| +
|
| + 51 swizzleSrcReg: optionalSign srcReg swizzleSuffix .
|
| +
|
| + $default reduce using rule 51 (swizzleSrcReg)
|
| +
|
| +
|
| +state 211
|
| +
|
| + 61 srcReg: progParamArray '[' . progParamArrayMem ']'
|
| +
|
| + INTEGER shift, and go to state 280
|
| + USED_IDENTIFIER shift, and go to state 68
|
| +
|
| + progParamArrayMem go to state 281
|
| + progParamArrayAbs go to state 282
|
| + progParamArrayRel go to state 283
|
| + addrReg go to state 284
|
| +
|
| +
|
| +state 212
|
| +
|
| + 46 SWZ_instruction: SWZ maskedDstReg ',' srcReg . ',' extendedSwizzle
|
| +
|
| + ',' shift, and go to state 285
|
| +
|
| +
|
| +state 213
|
| +
|
| + 32 TXD_instruction: TXD_OP maskedDstReg ',' swizzleSrcReg . ',' swizzleSrcReg ',' swizzleSrcReg ',' texImageUnit ',' texTarget
|
| +
|
| + ',' shift, and go to state 286
|
| +
|
| +
|
| +state 214
|
| +
|
| + 250 OUTPUT_statement: optVarSize OUTPUT IDENTIFIER '=' . resultBinding
|
| +
|
| + RESULT shift, and go to state 58
|
| +
|
| + resultBinding go to state 287
|
| +
|
| +
|
| +state 215
|
| +
|
| + 243 TEMP_statement: optVarSize TEMP @1 varNameList .
|
| + 248 varNameList: varNameList . ',' IDENTIFIER
|
| +
|
| + ',' shift, and go to state 140
|
| +
|
| + $default reduce using rule 243 (TEMP_statement)
|
| +
|
| +
|
| +state 216
|
| +
|
| + 248 varNameList: varNameList ',' IDENTIFIER .
|
| +
|
| + $default reduce using rule 248 (varNameList)
|
| +
|
| +
|
| +state 217
|
| +
|
| + 123 PARAM_multipleStmt: PARAM IDENTIFIER '[' optArraySize ']' . paramMultipleInit
|
| +
|
| + '=' shift, and go to state 288
|
| +
|
| + paramMultipleInit go to state 289
|
| +
|
| +
|
| +state 218
|
| +
|
| + 238 signedFloatConstant: optionalSign INTEGER .
|
| +
|
| + $default reduce using rule 238 (signedFloatConstant)
|
| +
|
| +
|
| +state 219
|
| +
|
| + 237 signedFloatConstant: optionalSign REAL .
|
| +
|
| + $default reduce using rule 237 (signedFloatConstant)
|
| +
|
| +
|
| +state 220
|
| +
|
| + 259 optResultFaceType: '[' INTEGER . ']'
|
| +
|
| + ']' shift, and go to state 290
|
| +
|
| +
|
| +state 221
|
| +
|
| + 263 optResultColorType: PRIMARY .
|
| +
|
| + $default reduce using rule 263 (optResultColorType)
|
| +
|
| +
|
| +state 222
|
| +
|
| + 264 optResultColorType: SECONDARY .
|
| +
|
| + $default reduce using rule 264 (optResultColorType)
|
| +
|
| +
|
| +state 223
|
| +
|
| + 257 resultColBinding: COLOR optResultFaceType optResultColorType .
|
| +
|
| + $default reduce using rule 257 (resultColBinding)
|
| +
|
| +
|
| +state 224
|
| +
|
| + 277 texCoordUnitNum: INTEGER .
|
| +
|
| + $default reduce using rule 277 (texCoordUnitNum)
|
| +
|
| +
|
| +state 225
|
| +
|
| + 272 optTexCoordUnitNum: '[' texCoordUnitNum . ']'
|
| +
|
| + ']' shift, and go to state 291
|
| +
|
| +
|
| +state 226
|
| +
|
| + 27 BINop_instruction: BIN_OP maskedDstReg ',' swizzleSrcReg ',' . swizzleSrcReg
|
| +
|
| + '+' shift, and go to state 72
|
| + '-' shift, and go to state 73
|
| +
|
| + $default reduce using rule 241 (optionalSign)
|
| +
|
| + swizzleSrcReg go to state 292
|
| + optionalSign go to state 77
|
| +
|
| +
|
| +state 227
|
| +
|
| + 94 ccMaskRule2: USED_IDENTIFIER .
|
| +
|
| + $default reduce using rule 94 (ccMaskRule2)
|
| +
|
| +
|
| +state 228
|
| +
|
| + 88 optionalCcMask: '(' ccTest . ')'
|
| +
|
| + ')' shift, and go to state 293
|
| +
|
| +
|
| +state 229
|
| +
|
| + 89 optionalCcMask: '(' ccTest2 . ')'
|
| +
|
| + ')' shift, and go to state 294
|
| +
|
| +
|
| +state 230
|
| +
|
| + 92 ccTest2: ccMaskRule2 . swizzleSuffix
|
| +
|
| + MASK4 shift, and go to state 112
|
| + MASK1 shift, and go to state 113
|
| + SWIZZLE shift, and go to state 114
|
| +
|
| + $default reduce using rule 82 (swizzleSuffix)
|
| +
|
| + swizzleSuffix go to state 295
|
| +
|
| +
|
| +state 231
|
| +
|
| + 26 BINSCop_instruction: BINSC_OP maskedDstReg ',' scalarSrcReg ',' . scalarSrcReg
|
| +
|
| + '+' shift, and go to state 72
|
| + '-' shift, and go to state 73
|
| +
|
| + $default reduce using rule 241 (optionalSign)
|
| +
|
| + scalarSrcReg go to state 296
|
| + optionalSign go to state 163
|
| +
|
| +
|
| +state 232
|
| +
|
| + 48 scalarSrcReg: optionalSign '|' . scalarUse '|'
|
| +
|
| + INTEGER shift, and go to state 116
|
| + REAL shift, and go to state 117
|
| + FRAGMENT shift, and go to state 118
|
| + PROGRAM shift, and go to state 119
|
| + STATE shift, and go to state 120
|
| + VERTEX shift, and go to state 121
|
| + USED_IDENTIFIER shift, and go to state 122
|
| + '{' shift, and go to state 124
|
| +
|
| + scalarUse go to state 297
|
| + srcReg go to state 234
|
| + progParamArray go to state 126
|
| + attribBinding go to state 127
|
| + paramSingleItemUse go to state 128
|
| + stateSingleItem go to state 129
|
| + programSingleItem go to state 130
|
| + progEnvParam go to state 131
|
| + progLocalParam go to state 132
|
| + paramConstUse go to state 133
|
| + paramConstScalarUse go to state 235
|
| + paramConstVector go to state 135
|
| +
|
| +
|
| +state 233
|
| +
|
| + 47 scalarSrcReg: optionalSign scalarUse .
|
| +
|
| + $default reduce using rule 47 (scalarSrcReg)
|
| +
|
| +
|
| +state 234
|
| +
|
| + 49 scalarUse: srcReg . scalarSuffix
|
| +
|
| + MASK1 shift, and go to state 298
|
| +
|
| + scalarSuffix go to state 299
|
| +
|
| +
|
| +state 235
|
| +
|
| + 50 scalarUse: paramConstScalarUse .
|
| + 228 paramConstUse: paramConstScalarUse .
|
| +
|
| + MASK1 reduce using rule 228 (paramConstUse)
|
| + $default reduce using rule 50 (scalarUse)
|
| +
|
| +
|
| +state 236
|
| +
|
| + 29 SAMPLE_instruction: SAMPLE_OP maskedDstReg ',' swizzleSrcReg ',' . texImageUnit ',' texTarget
|
| +
|
| + TEXTURE_UNIT shift, and go to state 300
|
| +
|
| + texImageUnit go to state 301
|
| +
|
| +
|
| +state 237
|
| +
|
| + 28 TRIop_instruction: TRI_OP maskedDstReg ',' swizzleSrcReg ',' . swizzleSrcReg ',' swizzleSrcReg
|
| +
|
| + '+' shift, and go to state 72
|
| + '-' shift, and go to state 73
|
| +
|
| + $default reduce using rule 241 (optionalSign)
|
| +
|
| + swizzleSrcReg go to state 302
|
| + optionalSign go to state 77
|
| +
|
| +
|
| +state 238
|
| +
|
| + 269 optColorType: PRIMARY .
|
| +
|
| + $default reduce using rule 269 (optColorType)
|
| +
|
| +
|
| +state 239
|
| +
|
| + 270 optColorType: SECONDARY .
|
| +
|
| + $default reduce using rule 270 (optColorType)
|
| +
|
| +
|
| +state 240
|
| +
|
| + 117 fragAttribItem: COLOR optColorType .
|
| +
|
| + $default reduce using rule 117 (fragAttribItem)
|
| +
|
| +
|
| +state 241
|
| +
|
| + 119 fragAttribItem: TEXCOORD optTexCoordUnitNum .
|
| +
|
| + $default reduce using rule 119 (fragAttribItem)
|
| +
|
| +
|
| +state 242
|
| +
|
| + 219 progEnvParam: PROGRAM ENV '[' . progEnvParamNum ']'
|
| +
|
| + INTEGER shift, and go to state 303
|
| +
|
| + progEnvParamNum go to state 304
|
| +
|
| +
|
| +state 243
|
| +
|
| + 223 progLocalParam: PROGRAM LOCAL '[' . progLocalParamNum ']'
|
| +
|
| + INTEGER shift, and go to state 305
|
| +
|
| + progLocalParamNum go to state 306
|
| +
|
| +
|
| +state 244
|
| +
|
| + 184 stateClipPlaneItem: CLIP '[' . stateClipPlaneNum ']' PLANE
|
| +
|
| + INTEGER shift, and go to state 307
|
| +
|
| + stateClipPlaneNum go to state 308
|
| +
|
| +
|
| +state 245
|
| +
|
| + 211 stateDepthItem: DEPTH RANGE .
|
| +
|
| + $default reduce using rule 211 (stateDepthItem)
|
| +
|
| +
|
| +state 246
|
| +
|
| + 182 stateFogProperty: COLOR .
|
| +
|
| + $default reduce using rule 182 (stateFogProperty)
|
| +
|
| +
|
| +state 247
|
| +
|
| + 183 stateFogProperty: PARAMS .
|
| +
|
| + $default reduce using rule 183 (stateFogProperty)
|
| +
|
| +
|
| +state 248
|
| +
|
| + 181 stateFogItem: FOG stateFogProperty .
|
| +
|
| + $default reduce using rule 181 (stateFogItem)
|
| +
|
| +
|
| +state 249
|
| +
|
| + 156 stateLightItem: LIGHT '[' . stateLightNumber ']' stateLightProperty
|
| +
|
| + INTEGER shift, and go to state 309
|
| +
|
| + stateLightNumber go to state 310
|
| +
|
| +
|
| +state 250
|
| +
|
| + 164 stateLModProperty: AMBIENT .
|
| +
|
| + $default reduce using rule 164 (stateLModProperty)
|
| +
|
| +
|
| +state 251
|
| +
|
| + 267 optFaceType: BACK .
|
| +
|
| + $default reduce using rule 267 (optFaceType)
|
| +
|
| +
|
| +state 252
|
| +
|
| + 266 optFaceType: FRONT .
|
| +
|
| + $default reduce using rule 266 (optFaceType)
|
| +
|
| +
|
| +state 253
|
| +
|
| + 163 stateLightModelItem: LIGHTMODEL stateLModProperty .
|
| +
|
| + $default reduce using rule 163 (stateLightModelItem)
|
| +
|
| +
|
| +state 254
|
| +
|
| + 165 stateLModProperty: optFaceType . SCENECOLOR
|
| +
|
| + SCENECOLOR shift, and go to state 311
|
| +
|
| +
|
| +state 255
|
| +
|
| + 166 stateLightProdItem: LIGHTPROD '[' . stateLightNumber ']' optFaceType stateLProdProperty
|
| +
|
| + INTEGER shift, and go to state 309
|
| +
|
| + stateLightNumber go to state 312
|
| +
|
| +
|
| +state 256
|
| +
|
| + 152 stateMaterialItem: MATERIAL optFaceType . stateMatProperty
|
| +
|
| + AMBIENT shift, and go to state 313
|
| + DIFFUSE shift, and go to state 314
|
| + EMISSION shift, and go to state 315
|
| + SHININESS shift, and go to state 316
|
| + SPECULAR shift, and go to state 317
|
| +
|
| + stateMatProperty go to state 318
|
| + ambDiffSpecProperty go to state 319
|
| +
|
| +
|
| +state 257
|
| +
|
| + 205 stateMatrixName: MAT_PROGRAM . '[' stateProgramMatNum ']'
|
| +
|
| + '[' shift, and go to state 320
|
| +
|
| +
|
| +state 258
|
| +
|
| + 200 stateMatrixName: MODELVIEW . stateOptModMatNum
|
| +
|
| + '[' shift, and go to state 321
|
| +
|
| + $default reduce using rule 206 (stateOptModMatNum)
|
| +
|
| + stateOptModMatNum go to state 322
|
| +
|
| +
|
| +state 259
|
| +
|
| + 202 stateMatrixName: MVP .
|
| +
|
| + $default reduce using rule 202 (stateMatrixName)
|
| +
|
| +
|
| +state 260
|
| +
|
| + 204 stateMatrixName: PALETTE . '[' statePaletteMatNum ']'
|
| +
|
| + '[' shift, and go to state 323
|
| +
|
| +
|
| +state 261
|
| +
|
| + 201 stateMatrixName: PROJECTION .
|
| +
|
| + $default reduce using rule 201 (stateMatrixName)
|
| +
|
| +
|
| +state 262
|
| +
|
| + 203 stateMatrixName: TEXTURE . optTexCoordUnitNum
|
| +
|
| + '[' shift, and go to state 157
|
| +
|
| + $default reduce using rule 271 (optTexCoordUnitNum)
|
| +
|
| + optTexCoordUnitNum go to state 324
|
| +
|
| +
|
| +state 263
|
| +
|
| + 193 stateMatrixItem: MATRIX stateMatrixName . stateOptMatModifier
|
| +
|
| + INVERSE shift, and go to state 325
|
| + INVTRANS shift, and go to state 326
|
| + TRANSPOSE shift, and go to state 327
|
| +
|
| + $default reduce using rule 194 (stateOptMatModifier)
|
| +
|
| + stateOptMatModifier go to state 328
|
| + stateMatModifier go to state 329
|
| +
|
| +
|
| +state 264
|
| +
|
| + 188 statePointProperty: ATTENUATION .
|
| +
|
| + $default reduce using rule 188 (statePointProperty)
|
| +
|
| +
|
| +state 265
|
| +
|
| + 187 statePointProperty: SIZE_TOK .
|
| +
|
| + $default reduce using rule 187 (statePointProperty)
|
| +
|
| +
|
| +state 266
|
| +
|
| + 186 statePointItem: POINT_TOK statePointProperty .
|
| +
|
| + $default reduce using rule 186 (statePointItem)
|
| +
|
| +
|
| +state 267
|
| +
|
| + 276 optLegacyTexUnitNum: '[' . legacyTexUnitNum ']'
|
| +
|
| + INTEGER shift, and go to state 330
|
| +
|
| + legacyTexUnitNum go to state 331
|
| +
|
| +
|
| +state 268
|
| +
|
| + 168 stateTexEnvItem: TEXENV optLegacyTexUnitNum . stateTexEnvProperty
|
| +
|
| + COLOR shift, and go to state 332
|
| +
|
| + stateTexEnvProperty go to state 333
|
| +
|
| +
|
| +state 269
|
| +
|
| + 174 stateTexGenItem: TEXGEN optTexCoordUnitNum . stateTexGenType stateTexGenCoord
|
| +
|
| + EYE shift, and go to state 334
|
| + OBJECT shift, and go to state 335
|
| +
|
| + stateTexGenType go to state 336
|
| +
|
| +
|
| +state 270
|
| +
|
| + 189 stateMatrixRow: stateMatrixItem ROW . '[' stateMatrixRowNum ']'
|
| +
|
| + '[' shift, and go to state 337
|
| +
|
| +
|
| +state 271
|
| +
|
| + 107 vtxAttribItem: COLOR optColorType .
|
| +
|
| + $default reduce using rule 107 (vtxAttribItem)
|
| +
|
| +
|
| +state 272
|
| +
|
| + 110 vtxAttribItem: MATRIXINDEX '[' . vtxWeightNum ']'
|
| +
|
| + INTEGER shift, and go to state 338
|
| +
|
| + vtxWeightNum go to state 339
|
| +
|
| +
|
| +state 273
|
| +
|
| + 109 vtxAttribItem: TEXCOORD optTexCoordUnitNum .
|
| +
|
| + $default reduce using rule 109 (vtxAttribItem)
|
| +
|
| +
|
| +state 274
|
| +
|
| + 111 vtxAttribItem: VTXATTRIB '[' . vtxAttribNum ']'
|
| +
|
| + INTEGER shift, and go to state 340
|
| +
|
| + vtxAttribNum go to state 341
|
| +
|
| +
|
| +state 275
|
| +
|
| + 114 vtxOptWeightNum: '[' . vtxWeightNum ']'
|
| +
|
| + INTEGER shift, and go to state 338
|
| +
|
| + vtxWeightNum go to state 342
|
| +
|
| +
|
| +state 276
|
| +
|
| + 105 vtxAttribItem: WEIGHT vtxOptWeightNum .
|
| +
|
| + $default reduce using rule 105 (vtxAttribItem)
|
| +
|
| +
|
| +state 277
|
| +
|
| + 52 swizzleSrcReg: optionalSign '|' srcReg swizzleSuffix . '|'
|
| +
|
| + '|' shift, and go to state 343
|
| +
|
| +
|
| +state 278
|
| +
|
| + 234 paramConstVector: '{' signedFloatConstant ',' . signedFloatConstant '}'
|
| + 235 | '{' signedFloatConstant ',' . signedFloatConstant ',' signedFloatConstant '}'
|
| + 236 | '{' signedFloatConstant ',' . signedFloatConstant ',' signedFloatConstant ',' signedFloatConstant '}'
|
| +
|
| + '+' shift, and go to state 72
|
| + '-' shift, and go to state 73
|
| +
|
| + $default reduce using rule 241 (optionalSign)
|
| +
|
| + signedFloatConstant go to state 344
|
| + optionalSign go to state 152
|
| +
|
| +
|
| +state 279
|
| +
|
| + 233 paramConstVector: '{' signedFloatConstant '}' .
|
| +
|
| + $default reduce using rule 233 (paramConstVector)
|
| +
|
| +
|
| +state 280
|
| +
|
| + 68 progParamArrayAbs: INTEGER .
|
| +
|
| + $default reduce using rule 68 (progParamArrayAbs)
|
| +
|
| +
|
| +state 281
|
| +
|
| + 61 srcReg: progParamArray '[' progParamArrayMem . ']'
|
| +
|
| + ']' shift, and go to state 345
|
| +
|
| +
|
| +state 282
|
| +
|
| + 66 progParamArrayMem: progParamArrayAbs .
|
| +
|
| + $default reduce using rule 66 (progParamArrayMem)
|
| +
|
| +
|
| +state 283
|
| +
|
| + 67 progParamArrayMem: progParamArrayRel .
|
| +
|
| + $default reduce using rule 67 (progParamArrayMem)
|
| +
|
| +
|
| +state 284
|
| +
|
| + 69 progParamArrayRel: addrReg . addrComponent addrRegRelOffset
|
| +
|
| + MASK1 shift, and go to state 346
|
| +
|
| + addrComponent go to state 347
|
| +
|
| +
|
| +state 285
|
| +
|
| + 46 SWZ_instruction: SWZ maskedDstReg ',' srcReg ',' . extendedSwizzle
|
| +
|
| + '+' shift, and go to state 72
|
| + '-' shift, and go to state 73
|
| +
|
| + $default reduce using rule 241 (optionalSign)
|
| +
|
| + extendedSwizzle go to state 348
|
| + extSwizComp go to state 349
|
| + optionalSign go to state 350
|
| +
|
| +
|
| +state 286
|
| +
|
| + 32 TXD_instruction: TXD_OP maskedDstReg ',' swizzleSrcReg ',' . swizzleSrcReg ',' swizzleSrcReg ',' texImageUnit ',' texTarget
|
| +
|
| + '+' shift, and go to state 72
|
| + '-' shift, and go to state 73
|
| +
|
| + $default reduce using rule 241 (optionalSign)
|
| +
|
| + swizzleSrcReg go to state 351
|
| + optionalSign go to state 77
|
| +
|
| +
|
| +state 287
|
| +
|
| + 250 OUTPUT_statement: optVarSize OUTPUT IDENTIFIER '=' resultBinding .
|
| +
|
| + $default reduce using rule 250 (OUTPUT_statement)
|
| +
|
| +
|
| +state 288
|
| +
|
| + 127 paramMultipleInit: '=' . '{' paramMultInitList '}'
|
| +
|
| + '{' shift, and go to state 352
|
| +
|
| +
|
| +state 289
|
| +
|
| + 123 PARAM_multipleStmt: PARAM IDENTIFIER '[' optArraySize ']' paramMultipleInit .
|
| +
|
| + $default reduce using rule 123 (PARAM_multipleStmt)
|
| +
|
| +
|
| +state 290
|
| +
|
| + 259 optResultFaceType: '[' INTEGER ']' .
|
| +
|
| + $default reduce using rule 259 (optResultFaceType)
|
| +
|
| +
|
| +state 291
|
| +
|
| + 272 optTexCoordUnitNum: '[' texCoordUnitNum ']' .
|
| +
|
| + $default reduce using rule 272 (optTexCoordUnitNum)
|
| +
|
| +
|
| +state 292
|
| +
|
| + 27 BINop_instruction: BIN_OP maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg .
|
| +
|
| + $default reduce using rule 27 (BINop_instruction)
|
| +
|
| +
|
| +state 293
|
| +
|
| + 88 optionalCcMask: '(' ccTest ')' .
|
| +
|
| + $default reduce using rule 88 (optionalCcMask)
|
| +
|
| +
|
| +state 294
|
| +
|
| + 89 optionalCcMask: '(' ccTest2 ')' .
|
| +
|
| + $default reduce using rule 89 (optionalCcMask)
|
| +
|
| +
|
| +state 295
|
| +
|
| + 92 ccTest2: ccMaskRule2 swizzleSuffix .
|
| +
|
| + $default reduce using rule 92 (ccTest2)
|
| +
|
| +
|
| +state 296
|
| +
|
| + 26 BINSCop_instruction: BINSC_OP maskedDstReg ',' scalarSrcReg ',' scalarSrcReg .
|
| +
|
| + $default reduce using rule 26 (BINSCop_instruction)
|
| +
|
| +
|
| +state 297
|
| +
|
| + 48 scalarSrcReg: optionalSign '|' scalarUse . '|'
|
| +
|
| + '|' shift, and go to state 353
|
| +
|
| +
|
| +state 298
|
| +
|
| + 78 scalarSuffix: MASK1 .
|
| +
|
| + $default reduce using rule 78 (scalarSuffix)
|
| +
|
| +
|
| +state 299
|
| +
|
| + 49 scalarUse: srcReg scalarSuffix .
|
| +
|
| + $default reduce using rule 49 (scalarUse)
|
| +
|
| +
|
| +state 300
|
| +
|
| + 33 texImageUnit: TEXTURE_UNIT . optTexImageUnitNum
|
| +
|
| + '[' shift, and go to state 354
|
| +
|
| + $default reduce using rule 273 (optTexImageUnitNum)
|
| +
|
| + optTexImageUnitNum go to state 355
|
| +
|
| +
|
| +state 301
|
| +
|
| + 29 SAMPLE_instruction: SAMPLE_OP maskedDstReg ',' swizzleSrcReg ',' texImageUnit . ',' texTarget
|
| +
|
| + ',' shift, and go to state 356
|
| +
|
| +
|
| +state 302
|
| +
|
| + 28 TRIop_instruction: TRI_OP maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg . ',' swizzleSrcReg
|
| +
|
| + ',' shift, and go to state 357
|
| +
|
| +
|
| +state 303
|
| +
|
| + 224 progEnvParamNum: INTEGER .
|
| +
|
| + $default reduce using rule 224 (progEnvParamNum)
|
| +
|
| +
|
| +state 304
|
| +
|
| + 219 progEnvParam: PROGRAM ENV '[' progEnvParamNum . ']'
|
| +
|
| + ']' shift, and go to state 358
|
| +
|
| +
|
| +state 305
|
| +
|
| + 225 progLocalParamNum: INTEGER .
|
| +
|
| + $default reduce using rule 225 (progLocalParamNum)
|
| +
|
| +
|
| +state 306
|
| +
|
| + 223 progLocalParam: PROGRAM LOCAL '[' progLocalParamNum . ']'
|
| +
|
| + ']' shift, and go to state 359
|
| +
|
| +
|
| +state 307
|
| +
|
| + 185 stateClipPlaneNum: INTEGER .
|
| +
|
| + $default reduce using rule 185 (stateClipPlaneNum)
|
| +
|
| +
|
| +state 308
|
| +
|
| + 184 stateClipPlaneItem: CLIP '[' stateClipPlaneNum . ']' PLANE
|
| +
|
| + ']' shift, and go to state 360
|
| +
|
| +
|
| +state 309
|
| +
|
| + 173 stateLightNumber: INTEGER .
|
| +
|
| + $default reduce using rule 173 (stateLightNumber)
|
| +
|
| +
|
| +state 310
|
| +
|
| + 156 stateLightItem: LIGHT '[' stateLightNumber . ']' stateLightProperty
|
| +
|
| + ']' shift, and go to state 361
|
| +
|
| +
|
| +state 311
|
| +
|
| + 165 stateLModProperty: optFaceType SCENECOLOR .
|
| +
|
| + $default reduce using rule 165 (stateLModProperty)
|
| +
|
| +
|
| +state 312
|
| +
|
| + 166 stateLightProdItem: LIGHTPROD '[' stateLightNumber . ']' optFaceType stateLProdProperty
|
| +
|
| + ']' shift, and go to state 362
|
| +
|
| +
|
| +state 313
|
| +
|
| + 170 ambDiffSpecProperty: AMBIENT .
|
| +
|
| + $default reduce using rule 170 (ambDiffSpecProperty)
|
| +
|
| +
|
| +state 314
|
| +
|
| + 171 ambDiffSpecProperty: DIFFUSE .
|
| +
|
| + $default reduce using rule 171 (ambDiffSpecProperty)
|
| +
|
| +
|
| +state 315
|
| +
|
| + 154 stateMatProperty: EMISSION .
|
| +
|
| + $default reduce using rule 154 (stateMatProperty)
|
| +
|
| +
|
| +state 316
|
| +
|
| + 155 stateMatProperty: SHININESS .
|
| +
|
| + $default reduce using rule 155 (stateMatProperty)
|
| +
|
| +
|
| +state 317
|
| +
|
| + 172 ambDiffSpecProperty: SPECULAR .
|
| +
|
| + $default reduce using rule 172 (ambDiffSpecProperty)
|
| +
|
| +
|
| +state 318
|
| +
|
| + 152 stateMaterialItem: MATERIAL optFaceType stateMatProperty .
|
| +
|
| + $default reduce using rule 152 (stateMaterialItem)
|
| +
|
| +
|
| +state 319
|
| +
|
| + 153 stateMatProperty: ambDiffSpecProperty .
|
| +
|
| + $default reduce using rule 153 (stateMatProperty)
|
| +
|
| +
|
| +state 320
|
| +
|
| + 205 stateMatrixName: MAT_PROGRAM '[' . stateProgramMatNum ']'
|
| +
|
| + INTEGER shift, and go to state 363
|
| +
|
| + stateProgramMatNum go to state 364
|
| +
|
| +
|
| +state 321
|
| +
|
| + 207 stateOptModMatNum: '[' . stateModMatNum ']'
|
| +
|
| + INTEGER shift, and go to state 365
|
| +
|
| + stateModMatNum go to state 366
|
| +
|
| +
|
| +state 322
|
| +
|
| + 200 stateMatrixName: MODELVIEW stateOptModMatNum .
|
| +
|
| + $default reduce using rule 200 (stateMatrixName)
|
| +
|
| +
|
| +state 323
|
| +
|
| + 204 stateMatrixName: PALETTE '[' . statePaletteMatNum ']'
|
| +
|
| + INTEGER shift, and go to state 367
|
| +
|
| + statePaletteMatNum go to state 368
|
| +
|
| +
|
| +state 324
|
| +
|
| + 203 stateMatrixName: TEXTURE optTexCoordUnitNum .
|
| +
|
| + $default reduce using rule 203 (stateMatrixName)
|
| +
|
| +
|
| +state 325
|
| +
|
| + 196 stateMatModifier: INVERSE .
|
| +
|
| + $default reduce using rule 196 (stateMatModifier)
|
| +
|
| +
|
| +state 326
|
| +
|
| + 198 stateMatModifier: INVTRANS .
|
| +
|
| + $default reduce using rule 198 (stateMatModifier)
|
| +
|
| +
|
| +state 327
|
| +
|
| + 197 stateMatModifier: TRANSPOSE .
|
| +
|
| + $default reduce using rule 197 (stateMatModifier)
|
| +
|
| +
|
| +state 328
|
| +
|
| + 193 stateMatrixItem: MATRIX stateMatrixName stateOptMatModifier .
|
| +
|
| + $default reduce using rule 193 (stateMatrixItem)
|
| +
|
| +
|
| +state 329
|
| +
|
| + 195 stateOptMatModifier: stateMatModifier .
|
| +
|
| + $default reduce using rule 195 (stateOptMatModifier)
|
| +
|
| +
|
| +state 330
|
| +
|
| + 279 legacyTexUnitNum: INTEGER .
|
| +
|
| + $default reduce using rule 279 (legacyTexUnitNum)
|
| +
|
| +
|
| +state 331
|
| +
|
| + 276 optLegacyTexUnitNum: '[' legacyTexUnitNum . ']'
|
| +
|
| + ']' shift, and go to state 369
|
| +
|
| +
|
| +state 332
|
| +
|
| + 169 stateTexEnvProperty: COLOR .
|
| +
|
| + $default reduce using rule 169 (stateTexEnvProperty)
|
| +
|
| +
|
| +state 333
|
| +
|
| + 168 stateTexEnvItem: TEXENV optLegacyTexUnitNum stateTexEnvProperty .
|
| +
|
| + $default reduce using rule 168 (stateTexEnvItem)
|
| +
|
| +
|
| +state 334
|
| +
|
| + 175 stateTexGenType: EYE .
|
| +
|
| + $default reduce using rule 175 (stateTexGenType)
|
| +
|
| +
|
| +state 335
|
| +
|
| + 176 stateTexGenType: OBJECT .
|
| +
|
| + $default reduce using rule 176 (stateTexGenType)
|
| +
|
| +
|
| +state 336
|
| +
|
| + 174 stateTexGenItem: TEXGEN optTexCoordUnitNum stateTexGenType . stateTexGenCoord
|
| +
|
| + TEXGEN_Q shift, and go to state 370
|
| + TEXGEN_R shift, and go to state 371
|
| + TEXGEN_S shift, and go to state 372
|
| + TEXGEN_T shift, and go to state 373
|
| +
|
| + stateTexGenCoord go to state 374
|
| +
|
| +
|
| +state 337
|
| +
|
| + 189 stateMatrixRow: stateMatrixItem ROW '[' . stateMatrixRowNum ']'
|
| +
|
| + INTEGER shift, and go to state 375
|
| +
|
| + stateMatrixRowNum go to state 376
|
| +
|
| +
|
| +state 338
|
| +
|
| + 115 vtxWeightNum: INTEGER .
|
| +
|
| + $default reduce using rule 115 (vtxWeightNum)
|
| +
|
| +
|
| +state 339
|
| +
|
| + 110 vtxAttribItem: MATRIXINDEX '[' vtxWeightNum . ']'
|
| +
|
| + ']' shift, and go to state 377
|
| +
|
| +
|
| +state 340
|
| +
|
| + 112 vtxAttribNum: INTEGER .
|
| +
|
| + $default reduce using rule 112 (vtxAttribNum)
|
| +
|
| +
|
| +state 341
|
| +
|
| + 111 vtxAttribItem: VTXATTRIB '[' vtxAttribNum . ']'
|
| +
|
| + ']' shift, and go to state 378
|
| +
|
| +
|
| +state 342
|
| +
|
| + 114 vtxOptWeightNum: '[' vtxWeightNum . ']'
|
| +
|
| + ']' shift, and go to state 379
|
| +
|
| +
|
| +state 343
|
| +
|
| + 52 swizzleSrcReg: optionalSign '|' srcReg swizzleSuffix '|' .
|
| +
|
| + $default reduce using rule 52 (swizzleSrcReg)
|
| +
|
| +
|
| +state 344
|
| +
|
| + 234 paramConstVector: '{' signedFloatConstant ',' signedFloatConstant . '}'
|
| + 235 | '{' signedFloatConstant ',' signedFloatConstant . ',' signedFloatConstant '}'
|
| + 236 | '{' signedFloatConstant ',' signedFloatConstant . ',' signedFloatConstant ',' signedFloatConstant '}'
|
| +
|
| + ',' shift, and go to state 380
|
| + '}' shift, and go to state 381
|
| +
|
| +
|
| +state 345
|
| +
|
| + 61 srcReg: progParamArray '[' progParamArrayMem ']' .
|
| +
|
| + $default reduce using rule 61 (srcReg)
|
| +
|
| +
|
| +state 346
|
| +
|
| + 76 addrComponent: MASK1 .
|
| +
|
| + $default reduce using rule 76 (addrComponent)
|
| +
|
| +
|
| +state 347
|
| +
|
| + 69 progParamArrayRel: addrReg addrComponent . addrRegRelOffset
|
| +
|
| + '+' shift, and go to state 382
|
| + '-' shift, and go to state 383
|
| +
|
| + $default reduce using rule 70 (addrRegRelOffset)
|
| +
|
| + addrRegRelOffset go to state 384
|
| +
|
| +
|
| +state 348
|
| +
|
| + 46 SWZ_instruction: SWZ maskedDstReg ',' srcReg ',' extendedSwizzle .
|
| +
|
| + $default reduce using rule 46 (SWZ_instruction)
|
| +
|
| +
|
| +state 349
|
| +
|
| + 55 extendedSwizzle: extSwizComp . ',' extSwizComp ',' extSwizComp ',' extSwizComp
|
| +
|
| + ',' shift, and go to state 385
|
| +
|
| +
|
| +state 350
|
| +
|
| + 56 extSwizComp: optionalSign . extSwizSel
|
| +
|
| + INTEGER shift, and go to state 386
|
| + IDENTIFIER shift, and go to state 10
|
| + USED_IDENTIFIER shift, and go to state 11
|
| +
|
| + extSwizSel go to state 387
|
| + string go to state 388
|
| +
|
| +
|
| +state 351
|
| +
|
| + 32 TXD_instruction: TXD_OP maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg . ',' swizzleSrcReg ',' texImageUnit ',' texTarget
|
| +
|
| + ',' shift, and go to state 389
|
| +
|
| +
|
| +state 352
|
| +
|
| + 127 paramMultipleInit: '=' '{' . paramMultInitList '}'
|
| +
|
| + PROGRAM shift, and go to state 390
|
| + STATE shift, and go to state 391
|
| + '+' shift, and go to state 72
|
| + '-' shift, and go to state 73
|
| + '{' shift, and go to state 124
|
| +
|
| + $default reduce using rule 241 (optionalSign)
|
| +
|
| + paramMultInitList go to state 392
|
| + paramMultipleItem go to state 393
|
| + stateMultipleItem go to state 394
|
| + stateSingleItem go to state 395
|
| + programMultipleItem go to state 396
|
| + progEnvParams go to state 397
|
| + progLocalParams go to state 398
|
| + paramConstDecl go to state 399
|
| + paramConstScalarDecl go to state 149
|
| + paramConstVector go to state 150
|
| + signedFloatConstant go to state 151
|
| + optionalSign go to state 152
|
| +
|
| +
|
| +state 353
|
| +
|
| + 48 scalarSrcReg: optionalSign '|' scalarUse '|' .
|
| +
|
| + $default reduce using rule 48 (scalarSrcReg)
|
| +
|
| +
|
| +state 354
|
| +
|
| + 274 optTexImageUnitNum: '[' . texImageUnitNum ']'
|
| +
|
| + INTEGER shift, and go to state 400
|
| +
|
| + texImageUnitNum go to state 401
|
| +
|
| +
|
| +state 355
|
| +
|
| + 33 texImageUnit: TEXTURE_UNIT optTexImageUnitNum .
|
| +
|
| + $default reduce using rule 33 (texImageUnit)
|
| +
|
| +
|
| +state 356
|
| +
|
| + 29 SAMPLE_instruction: SAMPLE_OP maskedDstReg ',' swizzleSrcReg ',' texImageUnit ',' . texTarget
|
| +
|
| + TEX_1D shift, and go to state 402
|
| + TEX_2D shift, and go to state 403
|
| + TEX_3D shift, and go to state 404
|
| + TEX_CUBE shift, and go to state 405
|
| + TEX_RECT shift, and go to state 406
|
| + TEX_SHADOW1D shift, and go to state 407
|
| + TEX_SHADOW2D shift, and go to state 408
|
| + TEX_SHADOWRECT shift, and go to state 409
|
| + TEX_ARRAY1D shift, and go to state 410
|
| + TEX_ARRAY2D shift, and go to state 411
|
| + TEX_ARRAYSHADOW1D shift, and go to state 412
|
| + TEX_ARRAYSHADOW2D shift, and go to state 413
|
| +
|
| + texTarget go to state 414
|
| +
|
| +
|
| +state 357
|
| +
|
| + 28 TRIop_instruction: TRI_OP maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg ',' . swizzleSrcReg
|
| +
|
| + '+' shift, and go to state 72
|
| + '-' shift, and go to state 73
|
| +
|
| + $default reduce using rule 241 (optionalSign)
|
| +
|
| + swizzleSrcReg go to state 415
|
| + optionalSign go to state 77
|
| +
|
| +
|
| +state 358
|
| +
|
| + 219 progEnvParam: PROGRAM ENV '[' progEnvParamNum ']' .
|
| +
|
| + $default reduce using rule 219 (progEnvParam)
|
| +
|
| +
|
| +state 359
|
| +
|
| + 223 progLocalParam: PROGRAM LOCAL '[' progLocalParamNum ']' .
|
| +
|
| + $default reduce using rule 223 (progLocalParam)
|
| +
|
| +
|
| +state 360
|
| +
|
| + 184 stateClipPlaneItem: CLIP '[' stateClipPlaneNum ']' . PLANE
|
| +
|
| + PLANE shift, and go to state 416
|
| +
|
| +
|
| +state 361
|
| +
|
| + 156 stateLightItem: LIGHT '[' stateLightNumber ']' . stateLightProperty
|
| +
|
| + AMBIENT shift, and go to state 313
|
| + ATTENUATION shift, and go to state 417
|
| + DIFFUSE shift, and go to state 314
|
| + HALF shift, and go to state 418
|
| + POSITION shift, and go to state 419
|
| + SPECULAR shift, and go to state 317
|
| + SPOT shift, and go to state 420
|
| +
|
| + stateLightProperty go to state 421
|
| + ambDiffSpecProperty go to state 422
|
| +
|
| +
|
| +state 362
|
| +
|
| + 166 stateLightProdItem: LIGHTPROD '[' stateLightNumber ']' . optFaceType stateLProdProperty
|
| +
|
| + BACK shift, and go to state 251
|
| + FRONT shift, and go to state 252
|
| +
|
| + $default reduce using rule 265 (optFaceType)
|
| +
|
| + optFaceType go to state 423
|
| +
|
| +
|
| +state 363
|
| +
|
| + 210 stateProgramMatNum: INTEGER .
|
| +
|
| + $default reduce using rule 210 (stateProgramMatNum)
|
| +
|
| +
|
| +state 364
|
| +
|
| + 205 stateMatrixName: MAT_PROGRAM '[' stateProgramMatNum . ']'
|
| +
|
| + ']' shift, and go to state 424
|
| +
|
| +
|
| +state 365
|
| +
|
| + 208 stateModMatNum: INTEGER .
|
| +
|
| + $default reduce using rule 208 (stateModMatNum)
|
| +
|
| +
|
| +state 366
|
| +
|
| + 207 stateOptModMatNum: '[' stateModMatNum . ']'
|
| +
|
| + ']' shift, and go to state 425
|
| +
|
| +
|
| +state 367
|
| +
|
| + 209 statePaletteMatNum: INTEGER .
|
| +
|
| + $default reduce using rule 209 (statePaletteMatNum)
|
| +
|
| +
|
| +state 368
|
| +
|
| + 204 stateMatrixName: PALETTE '[' statePaletteMatNum . ']'
|
| +
|
| + ']' shift, and go to state 426
|
| +
|
| +
|
| +state 369
|
| +
|
| + 276 optLegacyTexUnitNum: '[' legacyTexUnitNum ']' .
|
| +
|
| + $default reduce using rule 276 (optLegacyTexUnitNum)
|
| +
|
| +
|
| +state 370
|
| +
|
| + 180 stateTexGenCoord: TEXGEN_Q .
|
| +
|
| + $default reduce using rule 180 (stateTexGenCoord)
|
| +
|
| +
|
| +state 371
|
| +
|
| + 179 stateTexGenCoord: TEXGEN_R .
|
| +
|
| + $default reduce using rule 179 (stateTexGenCoord)
|
| +
|
| +
|
| +state 372
|
| +
|
| + 177 stateTexGenCoord: TEXGEN_S .
|
| +
|
| + $default reduce using rule 177 (stateTexGenCoord)
|
| +
|
| +
|
| +state 373
|
| +
|
| + 178 stateTexGenCoord: TEXGEN_T .
|
| +
|
| + $default reduce using rule 178 (stateTexGenCoord)
|
| +
|
| +
|
| +state 374
|
| +
|
| + 174 stateTexGenItem: TEXGEN optTexCoordUnitNum stateTexGenType stateTexGenCoord .
|
| +
|
| + $default reduce using rule 174 (stateTexGenItem)
|
| +
|
| +
|
| +state 375
|
| +
|
| + 199 stateMatrixRowNum: INTEGER .
|
| +
|
| + $default reduce using rule 199 (stateMatrixRowNum)
|
| +
|
| +
|
| +state 376
|
| +
|
| + 189 stateMatrixRow: stateMatrixItem ROW '[' stateMatrixRowNum . ']'
|
| +
|
| + ']' shift, and go to state 427
|
| +
|
| +
|
| +state 377
|
| +
|
| + 110 vtxAttribItem: MATRIXINDEX '[' vtxWeightNum ']' .
|
| +
|
| + $default reduce using rule 110 (vtxAttribItem)
|
| +
|
| +
|
| +state 378
|
| +
|
| + 111 vtxAttribItem: VTXATTRIB '[' vtxAttribNum ']' .
|
| +
|
| + $default reduce using rule 111 (vtxAttribItem)
|
| +
|
| +
|
| +state 379
|
| +
|
| + 114 vtxOptWeightNum: '[' vtxWeightNum ']' .
|
| +
|
| + $default reduce using rule 114 (vtxOptWeightNum)
|
| +
|
| +
|
| +state 380
|
| +
|
| + 235 paramConstVector: '{' signedFloatConstant ',' signedFloatConstant ',' . signedFloatConstant '}'
|
| + 236 | '{' signedFloatConstant ',' signedFloatConstant ',' . signedFloatConstant ',' signedFloatConstant '}'
|
| +
|
| + '+' shift, and go to state 72
|
| + '-' shift, and go to state 73
|
| +
|
| + $default reduce using rule 241 (optionalSign)
|
| +
|
| + signedFloatConstant go to state 428
|
| + optionalSign go to state 152
|
| +
|
| +
|
| +state 381
|
| +
|
| + 234 paramConstVector: '{' signedFloatConstant ',' signedFloatConstant '}' .
|
| +
|
| + $default reduce using rule 234 (paramConstVector)
|
| +
|
| +
|
| +state 382
|
| +
|
| + 71 addrRegRelOffset: '+' . addrRegPosOffset
|
| +
|
| + INTEGER shift, and go to state 429
|
| +
|
| + addrRegPosOffset go to state 430
|
| +
|
| +
|
| +state 383
|
| +
|
| + 72 addrRegRelOffset: '-' . addrRegNegOffset
|
| +
|
| + INTEGER shift, and go to state 431
|
| +
|
| + addrRegNegOffset go to state 432
|
| +
|
| +
|
| +state 384
|
| +
|
| + 69 progParamArrayRel: addrReg addrComponent addrRegRelOffset .
|
| +
|
| + $default reduce using rule 69 (progParamArrayRel)
|
| +
|
| +
|
| +state 385
|
| +
|
| + 55 extendedSwizzle: extSwizComp ',' . extSwizComp ',' extSwizComp ',' extSwizComp
|
| +
|
| + '+' shift, and go to state 72
|
| + '-' shift, and go to state 73
|
| +
|
| + $default reduce using rule 241 (optionalSign)
|
| +
|
| + extSwizComp go to state 433
|
| + optionalSign go to state 350
|
| +
|
| +
|
| +state 386
|
| +
|
| + 57 extSwizSel: INTEGER .
|
| +
|
| + $default reduce using rule 57 (extSwizSel)
|
| +
|
| +
|
| +state 387
|
| +
|
| + 56 extSwizComp: optionalSign extSwizSel .
|
| +
|
| + $default reduce using rule 56 (extSwizComp)
|
| +
|
| +
|
| +state 388
|
| +
|
| + 58 extSwizSel: string .
|
| +
|
| + $default reduce using rule 58 (extSwizSel)
|
| +
|
| +
|
| +state 389
|
| +
|
| + 32 TXD_instruction: TXD_OP maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg ',' . swizzleSrcReg ',' texImageUnit ',' texTarget
|
| +
|
| + '+' shift, and go to state 72
|
| + '-' shift, and go to state 73
|
| +
|
| + $default reduce using rule 241 (optionalSign)
|
| +
|
| + swizzleSrcReg go to state 434
|
| + optionalSign go to state 77
|
| +
|
| +
|
| +state 390
|
| +
|
| + 216 progEnvParams: PROGRAM . ENV '[' progEnvParamNums ']'
|
| + 220 progLocalParams: PROGRAM . LOCAL '[' progLocalParamNums ']'
|
| +
|
| + ENV shift, and go to state 435
|
| + LOCAL shift, and go to state 436
|
| +
|
| +
|
| +state 391
|
| +
|
| + 140 stateMultipleItem: STATE . stateMatrixRows
|
| + 141 stateSingleItem: STATE . stateMaterialItem
|
| + 142 | STATE . stateLightItem
|
| + 143 | STATE . stateLightModelItem
|
| + 144 | STATE . stateLightProdItem
|
| + 145 | STATE . stateTexGenItem
|
| + 146 | STATE . stateTexEnvItem
|
| + 147 | STATE . stateFogItem
|
| + 148 | STATE . stateClipPlaneItem
|
| + 149 | STATE . statePointItem
|
| + 150 | STATE . stateMatrixRow
|
| + 151 | STATE . stateDepthItem
|
| +
|
| + CLIP shift, and go to state 176
|
| + DEPTH shift, and go to state 177
|
| + FOG shift, and go to state 178
|
| + LIGHT shift, and go to state 179
|
| + LIGHTMODEL shift, and go to state 180
|
| + LIGHTPROD shift, and go to state 181
|
| + MATERIAL shift, and go to state 182
|
| + MATRIX shift, and go to state 183
|
| + POINT_TOK shift, and go to state 184
|
| + TEXENV shift, and go to state 185
|
| + TEXGEN shift, and go to state 186
|
| +
|
| + stateMaterialItem go to state 187
|
| + stateLightItem go to state 188
|
| + stateLightModelItem go to state 189
|
| + stateLightProdItem go to state 190
|
| + stateTexEnvItem go to state 191
|
| + stateTexGenItem go to state 192
|
| + stateFogItem go to state 193
|
| + stateClipPlaneItem go to state 194
|
| + statePointItem go to state 195
|
| + stateMatrixRow go to state 196
|
| + stateMatrixRows go to state 437
|
| + stateMatrixItem go to state 438
|
| + stateDepthItem go to state 198
|
| +
|
| +
|
| +state 392
|
| +
|
| + 127 paramMultipleInit: '=' '{' paramMultInitList . '}'
|
| + 129 paramMultInitList: paramMultInitList . ',' paramMultipleItem
|
| +
|
| + ',' shift, and go to state 439
|
| + '}' shift, and go to state 440
|
| +
|
| +
|
| +state 393
|
| +
|
| + 128 paramMultInitList: paramMultipleItem .
|
| +
|
| + $default reduce using rule 128 (paramMultInitList)
|
| +
|
| +
|
| +state 394
|
| +
|
| + 136 paramMultipleItem: stateMultipleItem .
|
| +
|
| + $default reduce using rule 136 (paramMultipleItem)
|
| +
|
| +
|
| +state 395
|
| +
|
| + 139 stateMultipleItem: stateSingleItem .
|
| +
|
| + $default reduce using rule 139 (stateMultipleItem)
|
| +
|
| +
|
| +state 396
|
| +
|
| + 137 paramMultipleItem: programMultipleItem .
|
| +
|
| + $default reduce using rule 137 (paramMultipleItem)
|
| +
|
| +
|
| +state 397
|
| +
|
| + 214 programMultipleItem: progEnvParams .
|
| +
|
| + $default reduce using rule 214 (programMultipleItem)
|
| +
|
| +
|
| +state 398
|
| +
|
| + 215 programMultipleItem: progLocalParams .
|
| +
|
| + $default reduce using rule 215 (programMultipleItem)
|
| +
|
| +
|
| +state 399
|
| +
|
| + 138 paramMultipleItem: paramConstDecl .
|
| +
|
| + $default reduce using rule 138 (paramMultipleItem)
|
| +
|
| +
|
| +state 400
|
| +
|
| + 278 texImageUnitNum: INTEGER .
|
| +
|
| + $default reduce using rule 278 (texImageUnitNum)
|
| +
|
| +
|
| +state 401
|
| +
|
| + 274 optTexImageUnitNum: '[' texImageUnitNum . ']'
|
| +
|
| + ']' shift, and go to state 441
|
| +
|
| +
|
| +state 402
|
| +
|
| + 34 texTarget: TEX_1D .
|
| +
|
| + $default reduce using rule 34 (texTarget)
|
| +
|
| +
|
| +state 403
|
| +
|
| + 35 texTarget: TEX_2D .
|
| +
|
| + $default reduce using rule 35 (texTarget)
|
| +
|
| +
|
| +state 404
|
| +
|
| + 36 texTarget: TEX_3D .
|
| +
|
| + $default reduce using rule 36 (texTarget)
|
| +
|
| +
|
| +state 405
|
| +
|
| + 37 texTarget: TEX_CUBE .
|
| +
|
| + $default reduce using rule 37 (texTarget)
|
| +
|
| +
|
| +state 406
|
| +
|
| + 38 texTarget: TEX_RECT .
|
| +
|
| + $default reduce using rule 38 (texTarget)
|
| +
|
| +
|
| +state 407
|
| +
|
| + 39 texTarget: TEX_SHADOW1D .
|
| +
|
| + $default reduce using rule 39 (texTarget)
|
| +
|
| +
|
| +state 408
|
| +
|
| + 40 texTarget: TEX_SHADOW2D .
|
| +
|
| + $default reduce using rule 40 (texTarget)
|
| +
|
| +
|
| +state 409
|
| +
|
| + 41 texTarget: TEX_SHADOWRECT .
|
| +
|
| + $default reduce using rule 41 (texTarget)
|
| +
|
| +
|
| +state 410
|
| +
|
| + 42 texTarget: TEX_ARRAY1D .
|
| +
|
| + $default reduce using rule 42 (texTarget)
|
| +
|
| +
|
| +state 411
|
| +
|
| + 43 texTarget: TEX_ARRAY2D .
|
| +
|
| + $default reduce using rule 43 (texTarget)
|
| +
|
| +
|
| +state 412
|
| +
|
| + 44 texTarget: TEX_ARRAYSHADOW1D .
|
| +
|
| + $default reduce using rule 44 (texTarget)
|
| +
|
| +
|
| +state 413
|
| +
|
| + 45 texTarget: TEX_ARRAYSHADOW2D .
|
| +
|
| + $default reduce using rule 45 (texTarget)
|
| +
|
| +
|
| +state 414
|
| +
|
| + 29 SAMPLE_instruction: SAMPLE_OP maskedDstReg ',' swizzleSrcReg ',' texImageUnit ',' texTarget .
|
| +
|
| + $default reduce using rule 29 (SAMPLE_instruction)
|
| +
|
| +
|
| +state 415
|
| +
|
| + 28 TRIop_instruction: TRI_OP maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg ',' swizzleSrcReg .
|
| +
|
| + $default reduce using rule 28 (TRIop_instruction)
|
| +
|
| +
|
| +state 416
|
| +
|
| + 184 stateClipPlaneItem: CLIP '[' stateClipPlaneNum ']' PLANE .
|
| +
|
| + $default reduce using rule 184 (stateClipPlaneItem)
|
| +
|
| +
|
| +state 417
|
| +
|
| + 159 stateLightProperty: ATTENUATION .
|
| +
|
| + $default reduce using rule 159 (stateLightProperty)
|
| +
|
| +
|
| +state 418
|
| +
|
| + 161 stateLightProperty: HALF .
|
| +
|
| + $default reduce using rule 161 (stateLightProperty)
|
| +
|
| +
|
| +state 419
|
| +
|
| + 158 stateLightProperty: POSITION .
|
| +
|
| + $default reduce using rule 158 (stateLightProperty)
|
| +
|
| +
|
| +state 420
|
| +
|
| + 160 stateLightProperty: SPOT . stateSpotProperty
|
| +
|
| + DIRECTION shift, and go to state 442
|
| +
|
| + stateSpotProperty go to state 443
|
| +
|
| +
|
| +state 421
|
| +
|
| + 156 stateLightItem: LIGHT '[' stateLightNumber ']' stateLightProperty .
|
| +
|
| + $default reduce using rule 156 (stateLightItem)
|
| +
|
| +
|
| +state 422
|
| +
|
| + 157 stateLightProperty: ambDiffSpecProperty .
|
| +
|
| + $default reduce using rule 157 (stateLightProperty)
|
| +
|
| +
|
| +state 423
|
| +
|
| + 166 stateLightProdItem: LIGHTPROD '[' stateLightNumber ']' optFaceType . stateLProdProperty
|
| +
|
| + AMBIENT shift, and go to state 313
|
| + DIFFUSE shift, and go to state 314
|
| + SPECULAR shift, and go to state 317
|
| +
|
| + stateLProdProperty go to state 444
|
| + ambDiffSpecProperty go to state 445
|
| +
|
| +
|
| +state 424
|
| +
|
| + 205 stateMatrixName: MAT_PROGRAM '[' stateProgramMatNum ']' .
|
| +
|
| + $default reduce using rule 205 (stateMatrixName)
|
| +
|
| +
|
| +state 425
|
| +
|
| + 207 stateOptModMatNum: '[' stateModMatNum ']' .
|
| +
|
| + $default reduce using rule 207 (stateOptModMatNum)
|
| +
|
| +
|
| +state 426
|
| +
|
| + 204 stateMatrixName: PALETTE '[' statePaletteMatNum ']' .
|
| +
|
| + $default reduce using rule 204 (stateMatrixName)
|
| +
|
| +
|
| +state 427
|
| +
|
| + 189 stateMatrixRow: stateMatrixItem ROW '[' stateMatrixRowNum ']' .
|
| +
|
| + $default reduce using rule 189 (stateMatrixRow)
|
| +
|
| +
|
| +state 428
|
| +
|
| + 235 paramConstVector: '{' signedFloatConstant ',' signedFloatConstant ',' signedFloatConstant . '}'
|
| + 236 | '{' signedFloatConstant ',' signedFloatConstant ',' signedFloatConstant . ',' signedFloatConstant '}'
|
| +
|
| + ',' shift, and go to state 446
|
| + '}' shift, and go to state 447
|
| +
|
| +
|
| +state 429
|
| +
|
| + 73 addrRegPosOffset: INTEGER .
|
| +
|
| + $default reduce using rule 73 (addrRegPosOffset)
|
| +
|
| +
|
| +state 430
|
| +
|
| + 71 addrRegRelOffset: '+' addrRegPosOffset .
|
| +
|
| + $default reduce using rule 71 (addrRegRelOffset)
|
| +
|
| +
|
| +state 431
|
| +
|
| + 74 addrRegNegOffset: INTEGER .
|
| +
|
| + $default reduce using rule 74 (addrRegNegOffset)
|
| +
|
| +
|
| +state 432
|
| +
|
| + 72 addrRegRelOffset: '-' addrRegNegOffset .
|
| +
|
| + $default reduce using rule 72 (addrRegRelOffset)
|
| +
|
| +
|
| +state 433
|
| +
|
| + 55 extendedSwizzle: extSwizComp ',' extSwizComp . ',' extSwizComp ',' extSwizComp
|
| +
|
| + ',' shift, and go to state 448
|
| +
|
| +
|
| +state 434
|
| +
|
| + 32 TXD_instruction: TXD_OP maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg ',' swizzleSrcReg . ',' texImageUnit ',' texTarget
|
| +
|
| + ',' shift, and go to state 449
|
| +
|
| +
|
| +state 435
|
| +
|
| + 216 progEnvParams: PROGRAM ENV . '[' progEnvParamNums ']'
|
| +
|
| + '[' shift, and go to state 450
|
| +
|
| +
|
| +state 436
|
| +
|
| + 220 progLocalParams: PROGRAM LOCAL . '[' progLocalParamNums ']'
|
| +
|
| + '[' shift, and go to state 451
|
| +
|
| +
|
| +state 437
|
| +
|
| + 140 stateMultipleItem: STATE stateMatrixRows .
|
| +
|
| + $default reduce using rule 140 (stateMultipleItem)
|
| +
|
| +
|
| +state 438
|
| +
|
| + 189 stateMatrixRow: stateMatrixItem . ROW '[' stateMatrixRowNum ']'
|
| + 190 stateMatrixRows: stateMatrixItem . optMatrixRows
|
| +
|
| + ROW shift, and go to state 452
|
| +
|
| + $default reduce using rule 191 (optMatrixRows)
|
| +
|
| + optMatrixRows go to state 453
|
| +
|
| +
|
| +state 439
|
| +
|
| + 129 paramMultInitList: paramMultInitList ',' . paramMultipleItem
|
| +
|
| + PROGRAM shift, and go to state 390
|
| + STATE shift, and go to state 391
|
| + '+' shift, and go to state 72
|
| + '-' shift, and go to state 73
|
| + '{' shift, and go to state 124
|
| +
|
| + $default reduce using rule 241 (optionalSign)
|
| +
|
| + paramMultipleItem go to state 454
|
| + stateMultipleItem go to state 394
|
| + stateSingleItem go to state 395
|
| + programMultipleItem go to state 396
|
| + progEnvParams go to state 397
|
| + progLocalParams go to state 398
|
| + paramConstDecl go to state 399
|
| + paramConstScalarDecl go to state 149
|
| + paramConstVector go to state 150
|
| + signedFloatConstant go to state 151
|
| + optionalSign go to state 152
|
| +
|
| +
|
| +state 440
|
| +
|
| + 127 paramMultipleInit: '=' '{' paramMultInitList '}' .
|
| +
|
| + $default reduce using rule 127 (paramMultipleInit)
|
| +
|
| +
|
| +state 441
|
| +
|
| + 274 optTexImageUnitNum: '[' texImageUnitNum ']' .
|
| +
|
| + $default reduce using rule 274 (optTexImageUnitNum)
|
| +
|
| +
|
| +state 442
|
| +
|
| + 162 stateSpotProperty: DIRECTION .
|
| +
|
| + $default reduce using rule 162 (stateSpotProperty)
|
| +
|
| +
|
| +state 443
|
| +
|
| + 160 stateLightProperty: SPOT stateSpotProperty .
|
| +
|
| + $default reduce using rule 160 (stateLightProperty)
|
| +
|
| +
|
| +state 444
|
| +
|
| + 166 stateLightProdItem: LIGHTPROD '[' stateLightNumber ']' optFaceType stateLProdProperty .
|
| +
|
| + $default reduce using rule 166 (stateLightProdItem)
|
| +
|
| +
|
| +state 445
|
| +
|
| + 167 stateLProdProperty: ambDiffSpecProperty .
|
| +
|
| + $default reduce using rule 167 (stateLProdProperty)
|
| +
|
| +
|
| +state 446
|
| +
|
| + 236 paramConstVector: '{' signedFloatConstant ',' signedFloatConstant ',' signedFloatConstant ',' . signedFloatConstant '}'
|
| +
|
| + '+' shift, and go to state 72
|
| + '-' shift, and go to state 73
|
| +
|
| + $default reduce using rule 241 (optionalSign)
|
| +
|
| + signedFloatConstant go to state 455
|
| + optionalSign go to state 152
|
| +
|
| +
|
| +state 447
|
| +
|
| + 235 paramConstVector: '{' signedFloatConstant ',' signedFloatConstant ',' signedFloatConstant '}' .
|
| +
|
| + $default reduce using rule 235 (paramConstVector)
|
| +
|
| +
|
| +state 448
|
| +
|
| + 55 extendedSwizzle: extSwizComp ',' extSwizComp ',' . extSwizComp ',' extSwizComp
|
| +
|
| + '+' shift, and go to state 72
|
| + '-' shift, and go to state 73
|
| +
|
| + $default reduce using rule 241 (optionalSign)
|
| +
|
| + extSwizComp go to state 456
|
| + optionalSign go to state 350
|
| +
|
| +
|
| +state 449
|
| +
|
| + 32 TXD_instruction: TXD_OP maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg ',' swizzleSrcReg ',' . texImageUnit ',' texTarget
|
| +
|
| + TEXTURE_UNIT shift, and go to state 300
|
| +
|
| + texImageUnit go to state 457
|
| +
|
| +
|
| +state 450
|
| +
|
| + 216 progEnvParams: PROGRAM ENV '[' . progEnvParamNums ']'
|
| +
|
| + INTEGER shift, and go to state 303
|
| +
|
| + progEnvParamNums go to state 458
|
| + progEnvParamNum go to state 459
|
| +
|
| +
|
| +state 451
|
| +
|
| + 220 progLocalParams: PROGRAM LOCAL '[' . progLocalParamNums ']'
|
| +
|
| + INTEGER shift, and go to state 305
|
| +
|
| + progLocalParamNums go to state 460
|
| + progLocalParamNum go to state 461
|
| +
|
| +
|
| +state 452
|
| +
|
| + 189 stateMatrixRow: stateMatrixItem ROW . '[' stateMatrixRowNum ']'
|
| + 192 optMatrixRows: ROW . '[' stateMatrixRowNum DOT_DOT stateMatrixRowNum ']'
|
| +
|
| + '[' shift, and go to state 462
|
| +
|
| +
|
| +state 453
|
| +
|
| + 190 stateMatrixRows: stateMatrixItem optMatrixRows .
|
| +
|
| + $default reduce using rule 190 (stateMatrixRows)
|
| +
|
| +
|
| +state 454
|
| +
|
| + 129 paramMultInitList: paramMultInitList ',' paramMultipleItem .
|
| +
|
| + $default reduce using rule 129 (paramMultInitList)
|
| +
|
| +
|
| +state 455
|
| +
|
| + 236 paramConstVector: '{' signedFloatConstant ',' signedFloatConstant ',' signedFloatConstant ',' signedFloatConstant . '}'
|
| +
|
| + '}' shift, and go to state 463
|
| +
|
| +
|
| +state 456
|
| +
|
| + 55 extendedSwizzle: extSwizComp ',' extSwizComp ',' extSwizComp . ',' extSwizComp
|
| +
|
| + ',' shift, and go to state 464
|
| +
|
| +
|
| +state 457
|
| +
|
| + 32 TXD_instruction: TXD_OP maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg ',' swizzleSrcReg ',' texImageUnit . ',' texTarget
|
| +
|
| + ',' shift, and go to state 465
|
| +
|
| +
|
| +state 458
|
| +
|
| + 216 progEnvParams: PROGRAM ENV '[' progEnvParamNums . ']'
|
| +
|
| + ']' shift, and go to state 466
|
| +
|
| +
|
| +state 459
|
| +
|
| + 217 progEnvParamNums: progEnvParamNum .
|
| + 218 | progEnvParamNum . DOT_DOT progEnvParamNum
|
| +
|
| + DOT_DOT shift, and go to state 467
|
| +
|
| + $default reduce using rule 217 (progEnvParamNums)
|
| +
|
| +
|
| +state 460
|
| +
|
| + 220 progLocalParams: PROGRAM LOCAL '[' progLocalParamNums . ']'
|
| +
|
| + ']' shift, and go to state 468
|
| +
|
| +
|
| +state 461
|
| +
|
| + 221 progLocalParamNums: progLocalParamNum .
|
| + 222 | progLocalParamNum . DOT_DOT progLocalParamNum
|
| +
|
| + DOT_DOT shift, and go to state 469
|
| +
|
| + $default reduce using rule 221 (progLocalParamNums)
|
| +
|
| +
|
| +state 462
|
| +
|
| + 189 stateMatrixRow: stateMatrixItem ROW '[' . stateMatrixRowNum ']'
|
| + 192 optMatrixRows: ROW '[' . stateMatrixRowNum DOT_DOT stateMatrixRowNum ']'
|
| +
|
| + INTEGER shift, and go to state 375
|
| +
|
| + stateMatrixRowNum go to state 470
|
| +
|
| +
|
| +state 463
|
| +
|
| + 236 paramConstVector: '{' signedFloatConstant ',' signedFloatConstant ',' signedFloatConstant ',' signedFloatConstant '}' .
|
| +
|
| + $default reduce using rule 236 (paramConstVector)
|
| +
|
| +
|
| +state 464
|
| +
|
| + 55 extendedSwizzle: extSwizComp ',' extSwizComp ',' extSwizComp ',' . extSwizComp
|
| +
|
| + '+' shift, and go to state 72
|
| + '-' shift, and go to state 73
|
| +
|
| + $default reduce using rule 241 (optionalSign)
|
| +
|
| + extSwizComp go to state 471
|
| + optionalSign go to state 350
|
| +
|
| +
|
| +state 465
|
| +
|
| + 32 TXD_instruction: TXD_OP maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg ',' swizzleSrcReg ',' texImageUnit ',' . texTarget
|
| +
|
| + TEX_1D shift, and go to state 402
|
| + TEX_2D shift, and go to state 403
|
| + TEX_3D shift, and go to state 404
|
| + TEX_CUBE shift, and go to state 405
|
| + TEX_RECT shift, and go to state 406
|
| + TEX_SHADOW1D shift, and go to state 407
|
| + TEX_SHADOW2D shift, and go to state 408
|
| + TEX_SHADOWRECT shift, and go to state 409
|
| + TEX_ARRAY1D shift, and go to state 410
|
| + TEX_ARRAY2D shift, and go to state 411
|
| + TEX_ARRAYSHADOW1D shift, and go to state 412
|
| + TEX_ARRAYSHADOW2D shift, and go to state 413
|
| +
|
| + texTarget go to state 472
|
| +
|
| +
|
| +state 466
|
| +
|
| + 216 progEnvParams: PROGRAM ENV '[' progEnvParamNums ']' .
|
| +
|
| + $default reduce using rule 216 (progEnvParams)
|
| +
|
| +
|
| +state 467
|
| +
|
| + 218 progEnvParamNums: progEnvParamNum DOT_DOT . progEnvParamNum
|
| +
|
| + INTEGER shift, and go to state 303
|
| +
|
| + progEnvParamNum go to state 473
|
| +
|
| +
|
| +state 468
|
| +
|
| + 220 progLocalParams: PROGRAM LOCAL '[' progLocalParamNums ']' .
|
| +
|
| + $default reduce using rule 220 (progLocalParams)
|
| +
|
| +
|
| +state 469
|
| +
|
| + 222 progLocalParamNums: progLocalParamNum DOT_DOT . progLocalParamNum
|
| +
|
| + INTEGER shift, and go to state 305
|
| +
|
| + progLocalParamNum go to state 474
|
| +
|
| +
|
| +state 470
|
| +
|
| + 189 stateMatrixRow: stateMatrixItem ROW '[' stateMatrixRowNum . ']'
|
| + 192 optMatrixRows: ROW '[' stateMatrixRowNum . DOT_DOT stateMatrixRowNum ']'
|
| +
|
| + DOT_DOT shift, and go to state 475
|
| + ']' shift, and go to state 427
|
| +
|
| +
|
| +state 471
|
| +
|
| + 55 extendedSwizzle: extSwizComp ',' extSwizComp ',' extSwizComp ',' extSwizComp .
|
| +
|
| + $default reduce using rule 55 (extendedSwizzle)
|
| +
|
| +
|
| +state 472
|
| +
|
| + 32 TXD_instruction: TXD_OP maskedDstReg ',' swizzleSrcReg ',' swizzleSrcReg ',' swizzleSrcReg ',' texImageUnit ',' texTarget .
|
| +
|
| + $default reduce using rule 32 (TXD_instruction)
|
| +
|
| +
|
| +state 473
|
| +
|
| + 218 progEnvParamNums: progEnvParamNum DOT_DOT progEnvParamNum .
|
| +
|
| + $default reduce using rule 218 (progEnvParamNums)
|
| +
|
| +
|
| +state 474
|
| +
|
| + 222 progLocalParamNums: progLocalParamNum DOT_DOT progLocalParamNum .
|
| +
|
| + $default reduce using rule 222 (progLocalParamNums)
|
| +
|
| +
|
| +state 475
|
| +
|
| + 192 optMatrixRows: ROW '[' stateMatrixRowNum DOT_DOT . stateMatrixRowNum ']'
|
| +
|
| + INTEGER shift, and go to state 375
|
| +
|
| + stateMatrixRowNum go to state 476
|
| +
|
| +
|
| +state 476
|
| +
|
| + 192 optMatrixRows: ROW '[' stateMatrixRowNum DOT_DOT stateMatrixRowNum . ']'
|
| +
|
| + ']' shift, and go to state 477
|
| +
|
| +
|
| +state 477
|
| +
|
| + 192 optMatrixRows: ROW '[' stateMatrixRowNum DOT_DOT stateMatrixRowNum ']' .
|
| +
|
| + $default reduce using rule 192 (optMatrixRows)
|
|
|