nvc0: adjust indirect draw macros to handle multiple draws at once
[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 0x00600041,
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 0x00600041,
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 };