1/**************************************************************************
2 *
3 * Copyright 2008 Tungsten Graphics, Inc., Cedar Park, Texas.
4 * All Rights Reserved.
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the
8 * "Software"), to deal in the Software without restriction, including
9 * without limitation the rights to use, copy, modify, merge, publish,
10 * distribute, sub license, and/or sell copies of the Software, and to
11 * permit persons to whom the Software is furnished to do so, subject to
12 * the following conditions:
13 *
14 * The above copyright notice and this permission notice (including the
15 * next paragraph) shall be included in all copies or substantial portions
16 * of the Software.
17 *
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
19 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
21 * IN NO EVENT SHALL TUNGSTEN GRAPHICS AND/OR ITS SUPPLIERS BE LIABLE FOR
22 * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
23 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
24 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25 *
26 **************************************************************************/
27#ifndef OP12_TEX
28#define OP12_TEX(a) OP12(a)
29#endif
30
31#ifndef OP14_TEX
32#define OP14_TEX(a) OP14(a)
33#endif
34
35#ifndef OP00_LBL
36#define OP00_LBL(a) OP00(a)
37#endif
38
39#ifndef OP01_LBL
40#define OP01_LBL(a) OP01(a)
41#endif
42
43OP11(ARL)
44OP11(MOV)
45OP11(LIT)
46OP11(RCP)
47OP11(RSQ)
48OP11(EXP)
49OP11(LOG)
50OP12(MUL)
51OP12(ADD)
52OP12(DP3)
53OP12(DP4)
54OP12(DST)
55OP12(MIN)
56OP12(MAX)
57OP12(SLT)
58OP12(SGE)
59OP13(MAD)
60OP12(SUB)
61OP13(LRP)
62OP13(CND)
63OP13(DP2A)
64OP11(FRC)
65OP13(CLAMP)
66OP11(FLR)
67OP11(ROUND)
68OP11(EX2)
69OP11(LG2)
70OP12(POW)
71OP12(XPD)
72OP11(ABS)
73OP11(RCC)
74OP12(DPH)
75OP11(COS)
76OP11(DDX)
77OP11(DDY)
78OP00(KILP)
79OP11(PK2H)
80OP11(PK2US)
81OP11(PK4B)
82OP11(PK4UB)
83OP12(RFL)
84OP12(SEQ)
85OP12(SFL)
86OP12(SGT)
87OP11(SIN)
88OP12(SLE)
89OP12(SNE)
90OP12(STR)
91OP12_TEX(TEX)
92OP14_TEX(TXD)
93OP12_TEX(TXP)
94OP11(UP2H)
95OP11(UP2US)
96OP11(UP4B)
97OP11(UP4UB)
98OP13(X2D)
99OP11(ARA)
100OP11(ARR)
101OP01(BRA)
102OP00_LBL(CAL)
103OP00(RET)
104OP11(SSG)
105OP13(CMP)
106OP11(SCS)
107OP12_TEX(TXB)
108OP11(NRM)
109OP12(DIV)
110OP12(DP2)
111OP12_TEX(TXL)
112OP00(BRK)
113OP01_LBL(IF)
114OP00_LBL(ELSE)
115OP00(ENDIF)
116OP01(PUSHA)
117OP10(POPA)
118OP11(CEIL)
119OP11(I2F)
120OP11(NOT)
121OP11(TRUNC)
122OP12(SHL)
123OP12(AND)
124OP12(OR)
125OP12(MOD)
126OP12(XOR)
127OP13(SAD)
128OP12_TEX(TXF)
129OP12_TEX(TXQ)
130OP00(CONT)
131OP00(EMIT)
132OP00(ENDPRIM)
133OP00_LBL(BGNLOOP)
134OP00(BGNSUB)
135OP00_LBL(ENDLOOP)
136OP00(ENDSUB)
137OP00(NOP)
138OP11(NRM4)
139OP01(CALLNZ)
140OP01(IFC)
141OP01(BREAKC)
142OP01(KIL)
143OP00(END)
144OP11(F2I)
145OP12(IDIV)
146OP12(IMAX)
147OP12(IMIN)
148OP11(INEG)
149OP12(ISGE)
150OP12(ISHR)
151OP12(ISLT)
152OP11(F2U)
153OP11(U2F)
154OP12(UADD)
155OP12(UDIV)
156OP13(UMAD)
157OP12(UMAX)
158OP12(UMIN)
159OP12(UMOD)
160OP12(UMUL)
161OP12(USEQ)
162OP12(USGE)
163OP12(USHR)
164OP12(USLT)
165OP12(USNE)
166OP01(SWITCH)
167OP01(CASE)
168OP00(DEFAULT)
169OP00(ENDSWITCH)
170
171OP13(SAMPLE)
172OP12(SAMPLE_I)
173OP12(SAMPLE_I_MS)
174OP14(SAMPLE_B)
175OP14(SAMPLE_C)
176OP14(SAMPLE_C_LZ)
177OP15(SAMPLE_D)
178OP13(SAMPLE_L)
179OP13(GATHER4)
180OP12(SVIEWINFO)
181OP13(SAMPLE_POS)
182OP12(SAMPLE_INFO)
183
184
185#undef OP00
186#undef OP01
187#undef OP10
188#undef OP11
189#undef OP12
190#undef OP13
191
192#ifdef OP14
193#undef OP14
194#endif
195
196#ifdef OP15
197#undef OP15
198#endif
199
200#undef OP00_LBL
201#undef OP01_LBL
202
203#undef OP12_TEX
204#undef OP14_TEX
205
206