nvc0: add conservative rasterization support
[mesa.git] / src / gallium / drivers / nouveau / nvc0 / mme / com9097.mme.h
1 uint32_t mme9097_per_instance_bf[] = {
2 /* 0x0003: loop */
3 0x00000301,
4 0x00000211,
5 0x05880021,
6 0xffffc911,
7 0x0040d043,
8 0xffff8897,
9 0x00005211,
10 };
11
12 uint32_t mme9097_blend_enables[] = {
13 0x05360021,
14 0x00404042,
15 0x00424042,
16 0x00444042,
17 0x00464042,
18 0x00484042,
19 0x004a4042,
20 0x004c40c2,
21 0x004e4042,
22 };
23
24 uint32_t mme9097_vertex_array_select[] = {
25 0x00000201,
26 0x00000301,
27 0x00000401,
28 0x00000501,
29 0x11004612,
30 0x09004712,
31 0x05c07621,
32 0x00002041,
33 0x00002841,
34 0x05f03f21,
35 0x000010c1,
36 0x00001841,
37 };
38
39 uint32_t mme9097_poly_mode_front[] = {
40 0x00db0215,
41 0x020c0315,
42 /* 0x000a: locn_0a_pmf */
43 0x00128f10,
44 /* 0x000f: locn_0f_pmf */
45 0x02100415,
46 0x00004211,
47 0x00180611,
48 0x0014bf10,
49 0x0000f807,
50 0x00dac021,
51 0x00800611,
52 0x00131f10,
53 0x0014bf10,
54 0x0000f807,
55 0x00000841,
56 0x00000611,
57 0x002ec0a1,
58 0x00003041,
59 };
60
61 uint32_t mme9097_poly_mode_back[] = {
62 0x00dac215,
63 0x020c0315,
64 /* 0x000a: locn_0a_pmb */
65 0x00128f10,
66 /* 0x000f: locn_0f_pmb */
67 0x02100415,
68 0x00004211,
69 0x00180611,
70 0x0014bf10,
71 0x0000f807,
72 0x00db0021,
73 0x00800611,
74 0x00131f10,
75 0x0014bf10,
76 0x0000f807,
77 0x00000841,
78 0x00000611,
79 0x002ec0a1,
80 0x00003041,
81 };
82
83 uint32_t mme9097_gp_select[] = {
84 0x00dac215,
85 0x00db0315,
86 /* 0x000a: locn_0a_gs */
87 0x0012d710,
88 /* 0x000f: locn_0f_gs */
89 0x020c0415,
90 0x00004211,
91 0x00180611,
92 0x0014bf10,
93 0x0000f807,
94 0x02100021,
95 0x00800611,
96 0x00130f10,
97 0x0014bf10,
98 0x0000f807,
99 0x00000841,
100 0x00000611,
101 0x002ec0a1,
102 0x00003041,
103 };
104
105 uint32_t mme9097_tep_select[] = {
106 0x00dac215,
107 0x00db0315,
108 /* 0x000a: locn_0a_ts */
109 0x0012d710,
110 /* 0x000f: locn_0f_ts */
111 0x02100415,
112 0x00004211,
113 0x00180611,
114 0x0014bf10,
115 0x0000f807,
116 0x020c0021,
117 0x00800611,
118 0x00130f10,
119 0x0014bf10,
120 0x0000f807,
121 0x00000841,
122 0x00000611,
123 0x002ec0a1,
124 0x00003041,
125 };
126
127 uint32_t mme9097_draw_elts_indirect[] = {
128 0x01434615,
129 /* 0x0007: dei_draw_again */
130 0x01438715,
131 0x07400021,
132 0x00003041,
133 0x00003841,
134 0x00000601,
135 /* 0x0018: dei_again */
136 0x00000701,
137 0x00000301,
138 /* 0x0020: dei_end */
139 0x00000201,
140 0x017dc451,
141 0x00002431,
142 0x0638c021,
143 0x00680041,
144 0x0004d007,
145 0x00002531,
146 0x00002841,
147 0x00003041,
148 0x05434021,
149 0x00002041,
150 0x00002841,
151 0x01118021,
152 0x00002041,
153 0x00004411,
154 0xd0400912,
155 0x01618021,
156 0x00000841,
157 0x017e0021,
158 0x00001841,
159 0x00051210,
160 0x01614071,
161 0xfffe9017,
162 0xd0410912,
163 0xffffff11,
164 0xfff9b817,
165 0x00007611,
166 0x03400615,
167 0x03404715,
168 0x05434021,
169 0x00003041,
170 0x00003841,
171 0x011180a1,
172 0x00003041,
173 };
174
175 uint32_t mme9097_draw_arrays_indirect[] = {
176 /* 0x0003: dai_draw_again */
177 0x01438515,
178 0x00000601,
179 0x00000701,
180 0x00000201,
181 /* 0x0011: dai_again */
182 0x00000301,
183 0x00d74451,
184 /* 0x0019: dai_end */
185 0x0004d807,
186 0x00002431,
187 0x0638c021,
188 0x00680041,
189 0x00000041,
190 0x00002041,
191 0x00003041,
192 0x01438021,
193 0x00002041,
194 0x00004411,
195 0xd0400912,
196 0x01618021,
197 0x00000841,
198 0x00d78021,
199 0x00001041,
200 0x00051b10,
201 0x01614071,
202 0xfffe9817,
203 0xd0410912,
204 0xffffff11,
205 0xfffa7817,
206 0x00007611,
207 0x014380a1,
208 0x00002841,
209 };
210
211 uint32_t mme9097_draw_elts_indirect_count[] = {
212 0x01434615,
213 0x01438715,
214 0x07400021,
215 /* 0x000d: deic_draw_again */
216 0x00003041,
217 0x00003841,
218 0x00000601,
219 0x00000701,
220 /* 0x001e: deic_again */
221 0x00000501,
222 0x0005ad10,
223 /* 0x0026: deic_end */
224 0x000b2807,
225 0x007f4312,
226 /* 0x002e: deic_restore */
227 0x000a9817,
228 0x00002841,
229 /* 0x0035: deic_runout */
230 0x00000301,
231 /* 0x003b: deic_runout_check */
232 0x00000201,
233 0x017dc451,
234 0x00002431,
235 0x0638c021,
236 0x00680041,
237 0x0004d007,
238 0x00002531,
239 0x00002841,
240 0x00003041,
241 0x05434021,
242 0x00002041,
243 0x00002841,
244 0x01118021,
245 0x00002041,
246 0x00004411,
247 0xd0400912,
248 0x01618021,
249 0x00000841,
250 0x017e0021,
251 0x00001841,
252 0x00051210,
253 0x01614071,
254 0xfffe9017,
255 0xd0410912,
256 0x03408515,
257 0xffffed11,
258 0x0004e807,
259 0xffffff11,
260 0x03408021,
261 0x00002841,
262 0xfff87817,
263 0x00007611,
264 0x03400615,
265 0x03404715,
266 0x05434021,
267 0x00003041,
268 0x00003841,
269 0x011180a1,
270 0x00003041,
271 0x00000201,
272 0x00000201,
273 0x00000201,
274 0x00000201,
275 0x00000201,
276 0xffffff11,
277 0xfffeb837,
278 0xfffc8027,
279 };
280
281 uint32_t mme9097_draw_arrays_indirect_count[] = {
282 0x01438515,
283 0x03400021,
284 /* 0x0009: daic_draw_again */
285 0x00002e31,
286 0x00000701,
287 0x00000501,
288 /* 0x0017: daic_again */
289 0x0005ad10,
290 0x00086807,
291 /* 0x001f: daic_end */
292 0x007f4312,
293 0x0007d837,
294 /* 0x0024: daic_restore */
295 /* 0x0027: daic_runout */
296 0x00000201,
297 0x00000301,
298 /* 0x002c: daic_runout_check */
299 0x00d74451,
300 0x0004d807,
301 0x00002431,
302 0x0638c021,
303 0x00680041,
304 0x00000041,
305 0x00002041,
306 0x00003041,
307 0x01438021,
308 0x00002041,
309 0x00004411,
310 0xd0400912,
311 0x01618021,
312 0x00000841,
313 0x00d78021,
314 0x00001041,
315 0x00051b10,
316 0x01614071,
317 0xfffe9817,
318 0xd0410912,
319 0xffffed11,
320 0x00032807,
321 0xffffff11,
322 0xfff9f817,
323 0x00007611,
324 0x03400515,
325 0x014380a1,
326 0x00002841,
327 0x00000201,
328 0x00000201,
329 0x00000201,
330 0x00000201,
331 0xffffff11,
332 0xfffef837,
333 0xfffdc027,
334 };
335
336 uint32_t mme9097_query_buffer_write[] = {
337 0x00000201,
338 0x00000301,
339 /* 0x000b: qbw_ready */
340 0x00000401,
341 0x05b00551,
342 /* 0x0012: qbw_clamp */
343 /* 0x0013: qbw_postclamp */
344 0x00000601,
345 0x00000701,
346 0x0005be10,
347 0x00060610,
348 /* 0x0020: qbw_done */
349 0x00000701,
350 0x0000b087,
351 0x00000601,
352 0x00051210,
353 0x0001c807,
354 0x00075b10,
355 0x00011837,
356 0x00048c10,
357 0x00060410,
358 0x0000a027,
359 0x00000a11,
360 0x00003841,
361 0x00003041,
362 0x00001041,
363 0x00028817,
364 0x04000411,
365 0x84010042,
366 0x05b00021,
367 0x00010511,
368 0x00017610,
369 0x00023f10,
370 0x00003841,
371 0x00003041,
372 0x00001841,
373 0x840100c2,
374 0x00110071,
375 };
376
377 uint32_t mme9097_conservative_raster_state[] = {
378 0x07400021,
379 0x00000041,
380 0xb8d04042,
381 /* 0x000c: crs_loop */
382 0x0001c211,
383 0xb8c08042,
384 0x06310021,
385 0x020c4211,
386 0x5b008042,
387 0x00c04212,
388 0x41085212,
389 0x20a1c021,
390 0x00040311,
391 0xffffdb11,
392 0xffffd817,
393 0x00001041,
394 0x051480a1,
395 0x00004041,
396 };