~ubuntu-branches/ubuntu/precise/mesa/precise-updates

« back to all changes in this revision

Viewing changes to src/mesa/program/program_parse.tab.h

  • Committer: Package Import Robot
  • Author(s): Bryce Harrington
  • Date: 2012-03-13 14:26:30 UTC
  • Revision ID: package-import@ubuntu.com-20120313142630-bhrz19ry38h2clda
Tags: 8.0.1-0ubuntu4~lp899159~1
Add 117_i965_only_set_last_render_target_last.patch: Fix GPU lockups
on Intel when playing certain games (Ski Challenge 2012, OilRush,
Trine, and possibly others).  These games use MRT (multiple render
targets), and mesa was not setting the Last Render Target Select
properly.  Cherrypick from upstream, proposed for the stable 8.0
branch.  (LP: #899159)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* A Bison parser, made by GNU Bison 2.4.3.  */
2
 
 
3
 
/* Skeleton interface for Bison's Yacc-like parsers in C
4
 
   
5
 
      Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
6
 
   2009, 2010 Free Software Foundation, Inc.
7
 
   
8
 
   This program is free software: you can redistribute it and/or modify
9
 
   it under the terms of the GNU General Public License as published by
10
 
   the Free Software Foundation, either version 3 of the License, or
11
 
   (at your option) any later version.
12
 
   
13
 
   This program is distributed in the hope that it will be useful,
14
 
   but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 
   GNU General Public License for more details.
17
 
   
18
 
   You should have received a copy of the GNU General Public License
19
 
   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
20
 
 
21
 
/* As a special exception, you may create a larger work that contains
22
 
   part or all of the Bison parser skeleton and distribute that work
23
 
   under terms of your choice, so long as that work isn't itself a
24
 
   parser generator using the skeleton or a modified version thereof
25
 
   as a parser skeleton.  Alternatively, if you modify or redistribute
26
 
   the parser skeleton itself, you may (at your option) remove this
27
 
   special exception, which will cause the skeleton and the resulting
28
 
   Bison output files to be licensed under the GNU General Public
29
 
   License without this special exception.
30
 
   
31
 
   This special exception was added by the Free Software Foundation in
32
 
   version 2.2 of Bison.  */
33
 
 
34
 
 
35
 
/* Tokens.  */
36
 
#ifndef YYTOKENTYPE
37
 
# define YYTOKENTYPE
38
 
   /* Put the tokens into the symbol table, so that GDB and other debuggers
39
 
      know about them.  */
40
 
   enum yytokentype {
41
 
     ARBvp_10 = 258,
42
 
     ARBfp_10 = 259,
43
 
     ADDRESS = 260,
44
 
     ALIAS = 261,
45
 
     ATTRIB = 262,
46
 
     OPTION = 263,
47
 
     OUTPUT = 264,
48
 
     PARAM = 265,
49
 
     TEMP = 266,
50
 
     END = 267,
51
 
     BIN_OP = 268,
52
 
     BINSC_OP = 269,
53
 
     SAMPLE_OP = 270,
54
 
     SCALAR_OP = 271,
55
 
     TRI_OP = 272,
56
 
     VECTOR_OP = 273,
57
 
     ARL = 274,
58
 
     KIL = 275,
59
 
     SWZ = 276,
60
 
     TXD_OP = 277,
61
 
     INTEGER = 278,
62
 
     REAL = 279,
63
 
     AMBIENT = 280,
64
 
     ATTENUATION = 281,
65
 
     BACK = 282,
66
 
     CLIP = 283,
67
 
     COLOR = 284,
68
 
     DEPTH = 285,
69
 
     DIFFUSE = 286,
70
 
     DIRECTION = 287,
71
 
     EMISSION = 288,
72
 
     ENV = 289,
73
 
     EYE = 290,
74
 
     FOG = 291,
75
 
     FOGCOORD = 292,
76
 
     FRAGMENT = 293,
77
 
     FRONT = 294,
78
 
     HALF = 295,
79
 
     INVERSE = 296,
80
 
     INVTRANS = 297,
81
 
     LIGHT = 298,
82
 
     LIGHTMODEL = 299,
83
 
     LIGHTPROD = 300,
84
 
     LOCAL = 301,
85
 
     MATERIAL = 302,
86
 
     MAT_PROGRAM = 303,
87
 
     MATRIX = 304,
88
 
     MATRIXINDEX = 305,
89
 
     MODELVIEW = 306,
90
 
     MVP = 307,
91
 
     NORMAL = 308,
92
 
     OBJECT = 309,
93
 
     PALETTE = 310,
94
 
     PARAMS = 311,
95
 
     PLANE = 312,
96
 
     POINT_TOK = 313,
97
 
     POINTSIZE = 314,
98
 
     POSITION = 315,
99
 
     PRIMARY = 316,
100
 
     PROGRAM = 317,
101
 
     PROJECTION = 318,
102
 
     RANGE = 319,
103
 
     RESULT = 320,
104
 
     ROW = 321,
105
 
     SCENECOLOR = 322,
106
 
     SECONDARY = 323,
107
 
     SHININESS = 324,
108
 
     SIZE_TOK = 325,
109
 
     SPECULAR = 326,
110
 
     SPOT = 327,
111
 
     STATE = 328,
112
 
     TEXCOORD = 329,
113
 
     TEXENV = 330,
114
 
     TEXGEN = 331,
115
 
     TEXGEN_Q = 332,
116
 
     TEXGEN_R = 333,
117
 
     TEXGEN_S = 334,
118
 
     TEXGEN_T = 335,
119
 
     TEXTURE = 336,
120
 
     TRANSPOSE = 337,
121
 
     TEXTURE_UNIT = 338,
122
 
     TEX_1D = 339,
123
 
     TEX_2D = 340,
124
 
     TEX_3D = 341,
125
 
     TEX_CUBE = 342,
126
 
     TEX_RECT = 343,
127
 
     TEX_SHADOW1D = 344,
128
 
     TEX_SHADOW2D = 345,
129
 
     TEX_SHADOWRECT = 346,
130
 
     TEX_ARRAY1D = 347,
131
 
     TEX_ARRAY2D = 348,
132
 
     TEX_ARRAYSHADOW1D = 349,
133
 
     TEX_ARRAYSHADOW2D = 350,
134
 
     VERTEX = 351,
135
 
     VTXATTRIB = 352,
136
 
     WEIGHT = 353,
137
 
     IDENTIFIER = 354,
138
 
     USED_IDENTIFIER = 355,
139
 
     MASK4 = 356,
140
 
     MASK3 = 357,
141
 
     MASK2 = 358,
142
 
     MASK1 = 359,
143
 
     SWIZZLE = 360,
144
 
     DOT_DOT = 361,
145
 
     DOT = 362
146
 
   };
147
 
#endif
148
 
 
149
 
 
150
 
 
151
 
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
152
 
typedef union YYSTYPE
153
 
{
154
 
 
155
 
/* Line 1685 of yacc.c  */
156
 
#line 126 "program/program_parse.y"
157
 
 
158
 
   struct asm_instruction *inst;
159
 
   struct asm_symbol *sym;
160
 
   struct asm_symbol temp_sym;
161
 
   struct asm_swizzle_mask swiz_mask;
162
 
   struct asm_src_register src_reg;
163
 
   struct prog_dst_register dst_reg;
164
 
   struct prog_instruction temp_inst;
165
 
   char *string;
166
 
   unsigned result;
167
 
   unsigned attrib;
168
 
   int integer;
169
 
   float real;
170
 
   gl_state_index state[STATE_LENGTH];
171
 
   int negate;
172
 
   struct asm_vector vector;
173
 
   gl_inst_opcode opcode;
174
 
 
175
 
   struct {
176
 
      unsigned swz;
177
 
      unsigned rgba_valid:1;
178
 
      unsigned xyzw_valid:1;
179
 
      unsigned negate:1;
180
 
   } ext_swizzle;
181
 
 
182
 
 
183
 
 
184
 
/* Line 1685 of yacc.c  */
185
 
#line 186 "program/program_parse.tab.h"
186
 
} YYSTYPE;
187
 
# define YYSTYPE_IS_TRIVIAL 1
188
 
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
189
 
# define YYSTYPE_IS_DECLARED 1
190
 
#endif
191
 
 
192
 
 
193
 
 
194
 
#if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
195
 
typedef struct YYLTYPE
196
 
{
197
 
  int first_line;
198
 
  int first_column;
199
 
  int last_line;
200
 
  int last_column;
201
 
} YYLTYPE;
202
 
# define yyltype YYLTYPE /* obsolescent; will be withdrawn */
203
 
# define YYLTYPE_IS_DECLARED 1
204
 
# define YYLTYPE_IS_TRIVIAL 1
205
 
#endif
206
 
 
207
 
 
208