1 <vcxml gen=
"3.3" min_ver=
"33" max_ver=
"42">
3 <enum name=
"Compare Function" prefix=
"V3D_COMPARE_FUNC">
4 <value name=
"NEVER" value=
"0"/>
5 <value name=
"LESS" value=
"1"/>
6 <value name=
"EQUAL" value=
"2"/>
7 <value name=
"LEQUAL" value=
"3"/>
8 <value name=
"GREATER" value=
"4"/>
9 <value name=
"NOTEQUAL" value=
"5"/>
10 <value name=
"GEQUAL" value=
"6"/>
11 <value name=
"ALWAYS" value=
"7"/>
14 <enum name=
"Blend Factor" prefix=
"V3D_BLEND_FACTOR">
15 <value name=
"ZERO" value=
"0"/>
16 <value name=
"ONE" value=
"1"/>
17 <value name=
"SRC_COLOR" value=
"2"/>
18 <value name=
"INV_SRC_COLOR" value=
"3"/>
19 <value name=
"DST_COLOR" value=
"4"/>
20 <value name=
"INV_DST_COLOR" value=
"5"/>
21 <value name=
"SRC_ALPHA" value=
"6"/>
22 <value name=
"INV_SRC_ALPHA" value=
"7"/>
23 <value name=
"DST_ALPHA" value=
"8"/>
24 <value name=
"INV_DST_ALPHA" value=
"9"/>
25 <value name=
"CONST_COLOR" value=
"10"/>
26 <value name=
"INV_CONST_COLOR" value=
"11"/>
27 <value name=
"CONST_ALPHA" value=
"12"/>
28 <value name=
"INV_CONST_ALPHA" value=
"13"/>
29 <value name=
"SRC_ALPHA_SATURATE" value=
"14"/>
32 <enum name=
"Blend Mode" prefix=
"V3D_BLEND_MODE">
33 <value name=
"ADD" value=
"0"/>
34 <value name=
"SUB" value=
"1"/>
35 <value name=
"RSUB" value=
"2"/>
36 <value name=
"MIN" value=
"3"/>
37 <value name=
"MAX" value=
"4"/>
38 <value name=
"MUL" value=
"5"/>
39 <value name=
"SCREEN" value=
"6"/>
40 <value name=
"DARKEN" value=
"7"/>
41 <value name=
"LIGHTEN" value=
"8"/>
44 <enum name=
"Stencil Op" prefix=
"V3D_STENCIL_OP">
45 <value name=
"ZERO" value=
"0"/>
46 <value name=
"KEEP" value=
"1"/>
47 <value name=
"REPLACE" value=
"2"/>
48 <value name=
"INCR" value=
"3"/>
49 <value name=
"DECR" value=
"4"/>
50 <value name=
"INVERT" value=
"5"/>
51 <value name=
"INCWRAP" value=
"6"/>
52 <value name=
"DECWRAP" value=
"7"/>
55 <enum name=
"Primitive" prefix=
"V3D_PRIM">
56 <value name=
"POINTS" value=
"0"/>
57 <value name=
"LINES" value=
"1"/>
58 <value name=
"LINE_LOOP" value=
"2"/>
59 <value name=
"LINE_STRIP" value=
"3"/>
60 <value name=
"TRIANGLES" value=
"4"/>
61 <value name=
"TRIANGLE_STRIP" value=
"5"/>
62 <value name=
"TRIANGLE_FAN" value=
"6"/>
63 <value name=
"POINTS_TF" value=
"16"/>
64 <value name=
"LINES_TF" value=
"17"/>
65 <value name=
"LINE_LOOP_TF" value=
"18"/>
66 <value name=
"LINE_STRIP_TF" value=
"19"/>
67 <value name=
"TRIANGLES_TF" value=
"20"/>
68 <value name=
"TRIANGLE_STRIP_TF" value=
"21"/>
69 <value name=
"TRIANGLE_FAN_TF" value=
"22"/>
72 <enum name=
"TMU Filter" prefix=
"V3D_TMU_FILTER" max_ver=
"33">
73 <!-- Names are mip filter, min filter, mag filter -->
74 <value name=
"MIN_LIN_MIP_NONE_MAG_LIN" value=
"0"/>
75 <value name=
"MIN_LIN_MIP_NONE_MAG_NEAR" value=
"1"/>
76 <value name=
"MIN_NEAR_MIP_NONE_MAG_LIN" value=
"2"/>
77 <value name=
"MIN_NEAR_MIP_NONE_MAG_NEAR" value=
"3"/>
79 <value name=
"MIN_NEAR_MIP_NEAR_MAG_LIN" value=
"4"/>
80 <value name=
"MIN_NEAR_MIP_NEAR_MAG_NEAR" value=
"5"/>
81 <value name=
"MIN_NEAR_MIP_LIN_MAG_LIN" value=
"6"/>
82 <value name=
"MIN_NEAR_MIP_LIN_MAG_NEAR" value=
"7"/>
84 <value name=
"MIN_LIN_MIP_NEAR_MAG_LIN" value=
"8"/>
85 <value name=
"MIN_LIN_MIP_NEAR_MAG_NEAR" value=
"9"/>
86 <value name=
"MIN_LIN_MIP_LIN_MAG_LIN" value=
"10"/>
87 <value name=
"MIN_LIN_MIP_LIN_MAG_NEAR" value=
"11"/>
89 <value name=
"ANISOTROPIC_2_1" value=
"12"/>
90 <value name=
"ANISOTROPIC_4_1" value=
"13"/>
91 <value name=
"ANISOTROPIC_8_1" value=
"14"/>
92 <value name=
"ANISOTROPIC_16_1" value=
"15"/>
95 <enum name=
"Border Colour Mode" prefix=
"V3D_BORDER_COLOUR" min_ver=
"41">
96 <value name=
"0000" value=
"0"/>
97 <value name=
"0001" value=
"1"/>
98 <value name=
"1111" value=
"2"/>
99 <value name=
"Follows" value=
"7"/>
102 <enum name=
"Wrap Mode" prefix=
"V3D_WRAP_MODE" min_ver=
"41">
103 <value name=
"Wrap mode REPEAT" value=
"0"/>
104 <value name=
"Wrap mode CLAMP" value=
"1"/>
105 <value name=
"Wrap mode MIRROR" value=
"2"/>
106 <value name=
"Wrap mode BORDER" value=
"3"/>
107 <value name=
"Wrap mode MIRROR_ONCE" value=
"4"/>
110 <enum name=
"TMU Op" prefix=
"V3D_TMU_OP" min_ver=
"41">
111 <value name=
"Write ADD, Read Prefetch" value=
"0"/>
112 <value name=
"Write SUB, Read Clear" value=
"1"/>
113 <value name=
"Write XCHG, Read Flush" value=
"2"/>
114 <value name=
"Write CMPXCHG, Read Flush" value=
"3"/>
115 <value name=
"Write UMIN, Full L1 Clear" value=
"4"/>
116 <value name=
"Write UMAX" value=
"5"/>
117 <value name=
"Write SMIN" value=
"6"/>
118 <value name=
"Write SMAX" value=
"7"/>
119 <value name=
"Write AND, Read INC" value=
"8"/>
120 <value name=
"Write OR, Read DEC" value=
"9"/>
121 <value name=
"Write XOR, Read NOT" value=
"10"/>
122 <value name=
"Regular" value=
"15"/>
125 <enum name=
"Varying Flags Action" prefix=
"V3D_VARYING_FLAGS_ACTION">
126 <value name=
"unchanged" value=
"0"/>
127 <value name=
"zeroed" value=
"1"/>
128 <value name=
"set" value=
"2"/>
131 <enum name=
"Memory Format" prefix=
"V3D_MEMORY_FORMAT">
132 <value name=
"Raster" value=
"0"/>
133 <value name=
"Lineartile" value=
"1"/>
134 <value name=
"UB-linear (1 UIF block wide)" value=
"2"/>
135 <value name=
"UB-linear (2 UIF blocks wide)" value=
"3"/>
136 <value name=
"UIF (No XOR)" value=
"4"/>
137 <value name=
"UIF (XOR)" value=
"5"/>
140 <enum name=
"Decimate Mode" prefix=
"V3D_DECIMATE_MODE">
141 <value name=
"sample 0" value=
"0"/>
142 <value name=
"4x" value=
"1"/>
143 <value name=
"16x" value=
"2"/>
144 <value name=
"all samples" value=
"3"/>
147 <enum name=
"Internal Type" prefix=
"V3D_INTERNAL_TYPE">
148 <value name=
"8i" value=
"0"/>
149 <value name=
"8ui" value=
"1"/>
150 <value name=
"8" value=
"2"/>
151 <value name=
"16i" value=
"4"/>
152 <value name=
"16ui" value=
"5"/>
153 <value name=
"16f" value=
"6"/>
154 <value name=
"32i" value=
"8"/>
155 <value name=
"32ui" value=
"9"/>
156 <value name=
"32f" value=
"10"/>
159 <enum name=
"Internal BPP" prefix=
"V3D_INTERNAL_BPP">
160 <value name=
"32" value=
"0"/>
161 <value name=
"64" value=
"1"/>
162 <value name=
"128" value=
"2"/>
165 <enum name=
"Internal Depth Type" prefix=
"V3D_INTERNAL_TYPE">
166 <value name=
"depth_32f" value=
"0"/>
167 <value name=
"depth_24" value=
"1"/>
168 <value name=
"depth_16" value=
"2"/>
171 <enum name=
"Render Target Clamp" prefix=
"V3D_RENDER_TARGET_CLAMP" min_ver=
"41">
172 <value name=
"none" value=
"0"/> <!-- no clamping -->
173 <value name=
"norm" value=
"1"/> <!-- [0,1] for f16 -->
174 <value name=
"pos" value=
"2"/> <!-- [0, for f16 -->
175 <value name=
"int" value=
"3" min_ver=
"42"/> <!-- clamp to integer RT's range -->
178 <enum name=
"Output Image Format" prefix=
"V3D_OUTPUT_IMAGE_FORMAT">
180 Formats appear with their channels named from the low bits to
183 <value name=
"srgb8_alpha8" value=
"0"/>
184 <value name=
"srgb" value=
"1"/>
185 <value name=
"rgb10_a2ui" value=
"2"/>
186 <value name=
"rgb10_a2" value=
"3"/>
187 <value name=
"abgr1555" value=
"4"/>
188 <value name=
"alpha-masked abgr1555" value=
"5"/>
189 <value name=
"abgr4444" value=
"6"/>
190 <value name=
"bgr565" value=
"7"/>
191 <value name=
"r11f_g11f_b10f" value=
"8"/>
192 <value name=
"rgba32f" value=
"9"/>
193 <value name=
"rg32f" value=
"10"/>
194 <value name=
"r32f" value=
"11"/>
195 <value name=
"rgba32i" value=
"12"/>
196 <value name=
"rg32i" value=
"13"/>
197 <value name=
"r32i" value=
"14"/>
198 <value name=
"rgba32ui" value=
"15"/>
199 <value name=
"rg32ui" value=
"16"/>
200 <value name=
"r32ui" value=
"17"/>
201 <value name=
"rgba16f" value=
"18"/>
202 <value name=
"rg16f" value=
"19"/>
203 <value name=
"r16f" value=
"20"/>
204 <value name=
"rgba16i" value=
"21"/>
205 <value name=
"rg16i" value=
"22"/>
206 <value name=
"r16i" value=
"23"/>
207 <value name=
"rgba16ui" value=
"24"/>
208 <value name=
"rg16ui" value=
"25"/>
209 <value name=
"r16ui" value=
"26"/>
210 <value name=
"rgba8" value=
"27"/>
211 <value name=
"rgb8" value=
"28"/>
212 <value name=
"rg8" value=
"29"/>
213 <value name=
"r8" value=
"30"/>
214 <value name=
"rgba8i" value=
"31"/>
215 <value name=
"rg8i" value=
"32"/>
216 <value name=
"r8i" value=
"33"/>
217 <value name=
"rgba8ui" value=
"34"/>
218 <value name=
"rg8ui" value=
"35"/>
219 <value name=
"r8ui" value=
"36"/>
220 <value name=
"srgbx8" value=
"37" max_ver=
"33"/>
221 <value name=
"rgbx8" value=
"38" max_ver=
"33"/>
222 <value name=
"bstc" value=
"39" min_ver=
"41"/>
223 <value name=
"d32f" value=
"40" min_ver=
"41"/>
224 <value name=
"d24" value=
"41" min_ver=
"41"/>
225 <value name=
"d16" value=
"42" min_ver=
"41"/>
226 <value name=
"d24s8" value=
"43" min_ver=
"41"/>
227 <value name=
"s8" value=
"44" min_ver=
"41"/>
230 <enum name=
"Z/S Output Image Format" prefix=
"V3D_OUTPUT_IMAGE_FORMAT_ZS" max_ver=
"33">
231 <value name=
"depth_component32f" value=
"0"/>
232 <value name=
"depth_component24" value=
"1"/> <!-- depth low, pad high -->
233 <value name=
"depth_component16" value=
"2"/>
234 <value name=
"depth24_stencil8" value=
"3"/> <!-- stencil low, depth high -->
237 <packet code=
"0" name=
"Halt"/>
238 <packet code=
"1" name=
"NOP"/>
239 <packet code=
"4" name=
"Flush"/>
240 <packet code=
"5" name=
"Flush All State"/>
241 <packet code=
"6" name=
"Start Tile Binning"/>
242 <packet code=
"7" name=
"Increment Semaphore"/>
243 <packet code=
"8" name=
"Wait on Semaphore"/>
244 <packet code=
"9" name=
"Wait for previous frame"/>
245 <packet code=
"10" name=
"Enable Z-only rendering" cl=
"R"/>
246 <packet code=
"11" name=
"Disable Z-only rendering" cl=
"R"/>
247 <packet code=
"12" name=
"End of Z-only rendering in frame"/>
248 <packet code=
"13" name=
"End of rendering"/>
250 <packet code=
"14" name=
"Wait for transform feedback" cl=
"B">
251 <field name=
"Block count" size=
"8" start=
"0" type=
"uint"/>
254 <packet code=
"15" name=
"Branch to auto-chained sub-list">
255 <field name=
"address" size=
"32" start=
"0" type=
"address"/>
258 <packet code=
"16" name=
"Branch">
259 <field name=
"address" size=
"32" start=
"0" type=
"address"/>
262 <packet code=
"17" name=
"Branch to Sub-list">
263 <field name=
"address" size=
"32" start=
"0" type=
"address"/>
266 <packet code=
"18" name=
"Return from sub-list"/>
267 <packet code=
"19" name=
"Flush VCD cache"/>
269 <packet code=
"20" name=
"Start Address of Generic Tile List">
270 <field name=
"start" size=
"32" start=
"0" type=
"address"/>
271 <field name=
"end" size=
"32" start=
"32" type=
"address"/>
274 <packet code=
"21" name=
"Branch to Implicit Tile List">
275 <field name=
"tile list set number" size=
"8" start=
"0" type=
"uint"/>
278 <packet code=
"22" name=
"Branch to Explicit Supertile">
279 <field name=
"Absolute address of explicit supertile render list" size=
"32" start=
"24" type=
"address"/>
280 <field name=
"explicit supertile number" size=
"8" start=
"16" type=
"uint"/>
281 <field name=
"row number" size=
"8" start=
"8" type=
"uint"/>
282 <field name=
"column number" size=
"8" start=
"0" type=
"uint"/>
285 <packet code=
"23" name=
"Supertile Coordinates">
286 <field name=
"row number in supertiles" size=
"8" start=
"8" type=
"uint"/>
287 <field name=
"column number in supertiles" size=
"8" start=
"0" type=
"uint"/>
290 <packet code=
"24" name=
"Store Multi-Sample Resolved Tile Color Buffer" cl=
"R" max_ver=
"33"/>
292 <packet code=
"25" name=
"Store Multi-Sample Resolved Tile Color Buffer (extended)" cl=
"R" max_ver=
"33">
293 <field name=
"Disable Color Buffer write" size=
"8" start=
"8" type=
"uint"/>
294 <field name=
"Enable Z write" size=
"1" start=
"7" type=
"bool"/>
295 <field name=
"Enable Stencil write" size=
"1" start=
"6" type=
"bool"/>
296 <!-- bit 5 unused -->
297 <field name=
"Disable Colour buffer(s) clear on write" size=
"1" start=
"4" type=
"bool"/>
298 <field name=
"Disable Stencil buffer clear on write" size=
"1" start=
"3" type=
"bool"/>
299 <field name=
"Disable Z buffer clear on write" size=
"1" start=
"2" type=
"bool"/>
300 <field name=
"Disable fast opportunistic write out in multisample mode" size=
"1" start=
"1" type=
"bool"/>
301 <field name=
"Last Tile of Frame" size=
"1" start=
"0" type=
"bool"/>
304 <packet code=
"25" name=
"Clear Tile Buffers" cl=
"R" min_ver=
"41">
305 <field name=
"Clear Z/Stencil Buffer" size=
"1" start=
"1" type=
"bool"/>
306 <field name=
"Clear all Render Targets" size=
"1" start=
"0" type=
"bool"/>
309 <packet code=
"26" name=
"Reload Tile Colour Buffer" cl=
"R" max_ver=
"33">
310 <field name=
"Disable Colour Buffer load" size=
"8" start=
"8" type=
"uint"/>
311 <field name=
"Enable Z load" size=
"1" start=
"7" type=
"bool"/>
312 <field name=
"Enable Stencil load" size=
"1" start=
"6" type=
"bool"/>
315 <packet code=
"26" name=
"End of Loads" cl=
"R" min_ver=
"41"/>
317 <packet code=
"27" name=
"End of Tile Marker" cl=
"R"/>
319 <packet code=
"29" name=
"Store Tile Buffer General" cl=
"R" max_ver=
"33">
320 <field name=
"Address" size=
"24" start=
"24" type=
"address"/>
321 <field name=
"Padded height of output image in UIF blocks" size=
"13" start=
"11" type=
"uint"/>
322 <field name=
"XOR UIF" size=
"1" start=
"10" type=
"bool"/>
323 <field name=
"Last Tile of Frame" size=
"1" start=
"8" type=
"bool"/>
324 <field name=
"Disable Colour buffer(s) clear on write" size=
"1" start=
"7" type=
"bool"/>
325 <field name=
"Disable Stencil buffer clear on write" size=
"1" start=
"6" type=
"bool"/>
326 <field name=
"Disable Z buffer clear on write" size=
"1" start=
"5" type=
"bool"/>
327 <field name=
"Raw Mode" size=
"1" start=
"4" type=
"bool"/>
328 <field name=
"Buffer to Store" size=
"4" start=
"0" type=
"uint">
329 <value name=
"Render target 0" value=
"0"/>
330 <value name=
"Render target 1" value=
"1"/>
331 <value name=
"Render target 2" value=
"2"/>
332 <value name=
"Render target 3" value=
"3"/>
333 <value name=
"None" value=
"8"/>
334 <value name=
"Z" value=
"9"/>
335 <value name=
"Stencil" value=
"10"/>
336 <value name=
"Z+Stencil" value=
"11"/>
340 <packet code=
"29" name=
"Store Tile Buffer General" cl=
"R" min_ver=
"41">
341 <field name=
"Address" size=
"32" start=
"64" type=
"address"/>
343 <!-- used for y flip -->
344 <field name=
"Height" size=
"16" start=
"48" type=
"uint"/>
346 <!-- height in ub for UIF, byte stride for raster -->
347 <field name=
"Height in UB or Stride" size=
"20" start=
"28" type=
"uint"/>
349 <field name=
"R/B swap" size=
"1" start=
"20" type=
"bool"/>
350 <field name=
"Channel Reverse" size=
"1" start=
"19" type=
"bool"/>
351 <field name=
"Clear buffer being stored" size=
"1" start=
"18" type=
"bool"/>
352 <field name=
"Output Image Format" size=
"6" start=
"12" type=
"Output Image Format"/>
354 <field name=
"Decimate mode" size=
"2" start=
"10" type=
"Decimate Mode"/>
356 <field name=
"A dithered" size=
"1" start=
"9" type=
"bool"/>
357 <field name=
"BGR dithered" size=
"1" start=
"8" type=
"bool"/>
359 <field name=
"Flip Y" size=
"1" start=
"7" type=
"bool"/>
361 <field name=
"Memory Format" size=
"3" start=
"4" type=
"Memory Format"/>
362 <field name=
"Buffer to Store" size=
"4" start=
"0" type=
"uint">
363 <value name=
"Render target 0" value=
"0"/>
364 <value name=
"Render target 1" value=
"1"/>
365 <value name=
"Render target 2" value=
"2"/>
366 <value name=
"Render target 3" value=
"3"/>
367 <value name=
"None" value=
"8"/>
368 <value name=
"Z" value=
"9"/>
369 <value name=
"Stencil" value=
"10"/>
370 <value name=
"Z+Stencil" value=
"11"/>
374 <packet code=
"30" name=
"Load Tile Buffer General" cl=
"R" max_ver=
"33">
375 <field name=
"Address" size=
"24" start=
"24" type=
"address"/>
376 <field name=
"Padded height of output image in UIF blocks" size=
"13" start=
"11" type=
"uint"/>
377 <field name=
"XOR UIF" size=
"1" start=
"10" type=
"bool"/>
378 <field name=
"Raw Mode" size=
"1" start=
"4" type=
"bool"/>
379 <field name=
"Buffer to Load" size=
"4" start=
"0" type=
"uint">
380 <value name=
"Render target 0" value=
"0"/>
381 <value name=
"Render target 1" value=
"1"/>
382 <value name=
"Render target 2" value=
"2"/>
383 <value name=
"Render target 3" value=
"3"/>
384 <value name=
"None" value=
"8"/>
385 <value name=
"Z" value=
"9"/>
386 <value name=
"Stencil" value=
"10"/>
387 <value name=
"Z+Stencil" value=
"11"/>
391 <packet code=
"30" name=
"Load Tile Buffer General" cl=
"R" min_ver=
"41">
392 <field name=
"Address" size=
"32" start=
"64" type=
"address"/>
394 <!-- used for y flip -->
395 <field name=
"Height" size=
"16" start=
"48" type=
"uint"/>
397 <!-- height in ub for UIF, byte stride for raster -->
398 <field name=
"Height in UB or Stride" size=
"20" start=
"28" type=
"uint"/>
400 <field name=
"R/B swap" size=
"1" start=
"20" type=
"bool"/>
401 <field name=
"Channel Reverse" size=
"1" start=
"19" type=
"bool"/>
403 <field name=
"Input Image Format" size=
"6" start=
"12" type=
"Output Image Format"/>
405 <field name=
"Decimate mode" size=
"2" start=
"10" type=
"Decimate Mode"/>
407 <field name=
"Flip Y" size=
"1" start=
"7" type=
"bool"/>
409 <field name=
"Memory Format" size=
"3" start=
"4" type=
"Memory Format"/>
410 <field name=
"Buffer to Load" size=
"4" start=
"0" type=
"uint">
411 <value name=
"Render target 0" value=
"0"/>
412 <value name=
"Render target 1" value=
"1"/>
413 <value name=
"Render target 2" value=
"2"/>
414 <value name=
"Render target 3" value=
"3"/>
415 <value name=
"None" value=
"8"/>
416 <value name=
"Z" value=
"9"/>
417 <value name=
"Stencil" value=
"10"/>
418 <value name=
"Z+Stencil" value=
"11"/>
422 <packet code=
"32" name=
"Indexed Primitive List" cl=
"B" max_ver=
"33">
423 <field name=
"Minimum index" size=
"32" start=
"104" type=
"uint"/>
424 <field name=
"Enable Primitive Restarts" size=
"1" start=
"103" type=
"bool"/>
425 <field name=
"Maximum index" size=
"31" start=
"72" type=
"uint"/>
426 <field name=
"Address of Indices List" size=
"32" start=
"40" type=
"address"/>
427 <field name=
"Length" size=
"32" start=
"8" type=
"uint"/>
429 <field name=
"Index type" size=
"2" start=
"6" type=
"uint">
430 <value name=
"Index type 8-bit" value=
"0"/>
431 <value name=
"Index type 16-bit" value=
"1"/>
432 <value name=
"Index type 32-bit" value=
"2"/>
435 <field name=
"mode" size=
"5" start=
"0" type=
"Primitive"/>
438 <packet code=
"32" name=
"Indexed Primitive List" cl=
"B" min_ver=
"41">
439 <field name=
"Index Offset" size=
"32" start=
"40" type=
"uint"/>
441 <field name=
"Enable Primitive Restarts" size=
"1" start=
"39" type=
"bool"/>
442 <field name=
"Length" size=
"31" start=
"8" type=
"uint"/>
444 <field name=
"Index type" size=
"2" start=
"6" type=
"uint">
445 <value name=
"Index type 8-bit" value=
"0"/>
446 <value name=
"Index type 16-bit" value=
"1"/>
447 <value name=
"Index type 32-bit" value=
"2"/>
450 <field name=
"mode" size=
"6" start=
"0" type=
"Primitive"/>
453 <packet code=
"34" name=
"Indexed Instanced Primitive List" cl=
"B" max_ver=
"33">
454 <field name=
"Enable Primitive Restarts" size=
"1" start=
"135" type=
"bool"/>
455 <field name=
"Maximum index" size=
"31" start=
"104" type=
"uint"/>
456 <field name=
"Address of Indices List" size=
"32" start=
"72" type=
"address"/>
457 <field name=
"Number of Instances" size=
"32" start=
"40" type=
"uint"/>
458 <field name=
"Instance Length" size=
"32" start=
"8" type=
"uint"/>
460 <field name=
"Index type" size=
"2" start=
"6" type=
"uint">
461 <value name=
"Index type 8-bit" value=
"0"/>
462 <value name=
"Index type 16-bit" value=
"1"/>
463 <value name=
"Index type 32-bit" value=
"2"/>
466 <field name=
"mode" size=
"5" start=
"0" type=
"Primitive"/>
469 <packet code=
"34" name=
"Indexed Instanced Primitive List" cl=
"B" min_ver=
"41">
470 <field name=
"Index Offset" size=
"32" start=
"72" type=
"uint"/>
471 <field name=
"Number of Instances" size=
"32" start=
"40" type=
"uint"/>
472 <field name=
"Enable Primitive Restarts" size=
"1" start=
"39" type=
"bool"/>
473 <field name=
"Instance Length" size=
"31" start=
"8" type=
"uint"/>
475 <field name=
"Index type" size=
"2" start=
"6" type=
"uint">
476 <value name=
"Index type 8-bit" value=
"0"/>
477 <value name=
"Index type 16-bit" value=
"1"/>
478 <value name=
"Index type 32-bit" value=
"2"/>
481 <field name=
"mode" size=
"6" start=
"0" type=
"Primitive"/>
484 <packet code=
"36" name=
"Vertex Array Primitives" cl=
"B">
485 <field name=
"Index of First Vertex" size=
"32" start=
"40" type=
"uint"/>
486 <field name=
"Length" size=
"32" start=
"8" type=
"uint"/>
488 <field name=
"mode" size=
"8" start=
"0" type=
"Primitive"/>
491 <packet code=
"38" name=
"Vertex Array Instanced Primitives" cl=
"B">
492 <field name=
"Index of First Vertex" size=
"32" start=
"72" type=
"uint"/>
493 <field name=
"Number of Instances" size=
"32" start=
"40" type=
"uint"/>
494 <field name=
"Instance Length" size=
"32" start=
"8" type=
"uint"/>
496 <field name=
"mode" size=
"8" start=
"0" type=
"Primitive"/>
499 <packet code=
"43" name=
"Base Vertex Base Instance" cl=
"B">
500 <field name=
"Base Instance" size=
"32" start=
"32" type=
"uint"/>
502 <field name=
"Base Vertex" size=
"32" start=
"0" type=
"uint"/>
505 <packet code=
"44" name=
"Index Buffer Setup" cl=
"B" min_ver=
"41">
506 <field name=
"Address" size=
"32" start=
"0" type=
"address"/>
507 <field name=
"Size" size=
"32" start=
"32" type=
"uint"/>
510 <packet code=
"56" name=
"Primitive List Format">
511 <field name=
"data type" size=
"1" start=
"6" type=
"uint">
512 <value name=
"List Indexed" value=
"0"/>
513 <value name=
"List 32-bit X/Y" value=
"1"/>
515 <field name=
"primitive type" size=
"6" start=
"0" type=
"uint">
516 <value name=
"List Points" value=
"0"/>
517 <value name=
"List Lines" value=
"1"/>
518 <value name=
"List Triangles" value=
"2"/>
522 <packet code=
"64" name=
"GL Shader State">
523 <field name=
"address" size=
"27" start=
"5" type=
"address"/>
524 <field name=
"number of attribute arrays" size=
"5" start=
"0" type=
"uint"/>
527 <packet code=
"73" name=
"Transform Feedback Buffer" min_ver=
"41">
528 <field name=
"Buffer Address" size=
"32" start=
"32" type=
"address"/>
529 <field name=
"Buffer Size in 32-bit words" size=
"30" start=
"2" type=
"uint"/>
530 <field name=
"Buffer Number" size=
"2" start=
"0" type=
"uint"/>
533 <packet code=
"74" name=
"Transform Feedback Enable" max_ver=
"33">
534 <field name=
"number of 32-bit Output Buffer Address following" size=
"3" start=
"8" type=
"uint"/>
535 <field name=
"number of 16-bit Output Data Specs following" size=
"5" start=
"11" type=
"uint"/>
538 <packet code=
"74" name=
"Transform Feedback Specs" min_ver=
"41">
539 <field name=
"Enable" size=
"1" start=
"7" type=
"bool"/>
540 <field name=
"Number of 16-bit Output Data Specs following" size=
"5" start=
"0" type=
"uint"/>
543 <packet code=
"75" name=
"Flush Transform Feedback Data"/>
545 <struct name=
"Transform Feedback Output Data Spec">
546 <field name=
"First Shaded Vertex Value to output" size=
"8" start=
"0" type=
"uint"/>
547 <field name=
"Number of consecutive Vertex Values to output as 32-bit values" size=
"4" start=
"8" type=
"uint" minus_one=
"true"/>
548 <field name=
"Output Buffer to write to" size=
"2" start=
"12" type=
"uint"/>
551 <struct name=
"Transform Feedback Output Address">
552 <field name=
"address" size=
"32" start=
"0" type=
"address"/>
555 <packet code=
"80" name=
"Stencil Config">
556 <field name=
"Stencil Write Mask" size=
"8" start=
"32" type=
"uint"/>
557 <field name=
"Back Config" size=
"1" start=
"29" type=
"bool"/>
558 <field name=
"Front Config" size=
"1" start=
"28" type=
"bool"/>
559 <field name=
"Stencil Pass Op" size=
"3" start=
"25" type=
"Stencil Op"/>
560 <field name=
"Depth Test Fail Op" size=
"3" start=
"22" type=
"Stencil Op"/>
561 <field name=
"Stencil Test Fail Op" size=
"3" start=
"19" type=
"Stencil Op"/>
562 <field name=
"Stencil Test Function" size=
"3" start=
"16" type=
"Compare Function"/>
563 <field name=
"Stencil Test Mask" size=
"8" start=
"8" type=
"uint"/>
564 <field name=
"Stencil Ref Value" size=
"8" start=
"0" type=
"uint"/>
567 <packet code=
"83" name=
"Blend Enables" min_ver=
"41">
568 <field name=
"Mask" size=
"8" start=
"0" type=
"uint"/>
571 <packet code=
"84" name=
"Blend Config" max_ver=
"33">
572 <field name=
"VG Coverage Modes" size=
"2" start=
"28" type=
"uint"/>
573 <field name=
"Colour blend dst factor" size=
"4" start=
"20" type=
"Blend Factor"/>
574 <field name=
"Colour blend src factor" size=
"4" start=
"16" type=
"Blend Factor"/>
575 <field name=
"Colour blend mode" size=
"4" start=
"12" type=
"Blend Mode"/>
576 <field name=
"Alpha blend dst factor" size=
"4" start=
"8" type=
"Blend Factor"/>
577 <field name=
"Alpha blend src factor" size=
"4" start=
"4" type=
"Blend Factor"/>
578 <field name=
"Alpha blend mode" size=
"4" start=
"0" type=
"Blend Mode"/>
581 <packet code=
"84" name=
"Blend Config" min_ver=
"41">
582 <field name=
"VG Coverage Modes" size=
"2" start=
"28" type=
"uint"/>
583 <field name=
"Render Target Mask" size=
"4" start=
"24" type=
"uint"/>
584 <field name=
"Colour blend dst factor" size=
"4" start=
"20" type=
"Blend Factor"/>
585 <field name=
"Colour blend src factor" size=
"4" start=
"16" type=
"Blend Factor"/>
586 <field name=
"Colour blend mode" size=
"4" start=
"12" type=
"Blend Mode"/>
587 <field name=
"Alpha blend dst factor" size=
"4" start=
"8" type=
"Blend Factor"/>
588 <field name=
"Alpha blend src factor" size=
"4" start=
"4" type=
"Blend Factor"/>
589 <field name=
"Alpha blend mode" size=
"4" start=
"0" type=
"Blend Mode"/>
592 <packet code=
"86" name=
"Blend Constant Colour">
593 <field name=
"Alpha (F16)" size=
"16" start=
"48" type=
"uint"/>
594 <field name=
"Blue (F16)" size=
"16" start=
"32" type=
"uint"/>
595 <field name=
"Green (F16)" size=
"16" start=
"16" type=
"uint"/>
596 <field name=
"Red (F16)" size=
"16" start=
"0" type=
"uint"/>
599 <packet code=
"87" name=
"Colour Write Masks">
600 <field name=
"Reserved" size=
"16" start=
"16" type=
"uint"/>
601 <field name=
"Render Target 3 per colour component write masks" size=
"4" start=
"12" type=
"uint"/>
602 <field name=
"Render Target 2 per colour component write masks" size=
"4" start=
"8" type=
"uint"/>
603 <field name=
"Render Target 1 per colour component write masks" size=
"4" start=
"4" type=
"uint"/>
604 <field name=
"Render Target 0 per colour component write masks" size=
"4" start=
"0" type=
"uint"/>
607 <packet code=
"88" name=
"Zero All Centroid Flags" min_ver=
"41"/>
609 <packet code=
"89" name=
"Centroid Flags" min_ver=
"41">
610 <field name=
"Centroid Flags for varyings V0*24" size=
"24" start=
"8" type=
"uint"/>
611 <field name=
"Action for Centroid Flags of higher numbered varyings" size=
"2" start=
"6" type=
"Varying Flags Action"/>
612 <field name=
"Action for Centroid Flags of lower numbered varyings" size=
"2" start=
"4" type=
"Varying Flags Action"/>
613 <field name=
"Varying offset V0" size=
"4" start=
"0" type=
"uint"/>
616 <packet code=
"91" name=
"Sample State" min_ver=
"41">
617 <field name=
"Coverage" size=
"16" start=
"16" type=
"uint"/> <!-- float-1-8-7 -->
618 <field name=
"Mask" size=
"4" start=
"0" type=
"uint"/>
621 <packet code=
"92" name=
"Occlusion Query Counter">
622 <field name=
"address" size=
"32" start=
"0" type=
"address"/>
625 <packet code=
"96" name=
"Configuration Bits">
626 <field name=
"Direct3D Provoking Vertex" size=
"1" start=
"21" type=
"bool"/>
627 <field name=
"Direct3D 'Point-fill' mode" size=
"1" start=
"20" type=
"bool"/>
628 <field name=
"Blend enable" size=
"1" start=
"19" type=
"bool"/>
629 <field name=
"Stencil enable" size=
"1" start=
"18" type=
"bool"/>
630 <field name=
"Early Z updates enable" size=
"1" start=
"17" type=
"bool"/>
631 <field name=
"Early Z enable" size=
"1" start=
"16" type=
"bool"/>
632 <field name=
"Z updates enable" size=
"1" start=
"15" type=
"bool"/>
633 <field name=
"Depth-Test Function" size=
"3" start=
"12" type=
"Compare Function"/>
634 <field name=
"Direct3D Wireframe triangles mode" size=
"1" start=
"11" type=
"bool"/>
635 <field name=
"Coverage Update Mode" size=
"2" start=
"9" type=
"uint"/>
636 <field name=
"Coverage Pipe Select" size=
"1" start=
"8" type=
"bool"/>
637 <field name=
"Rasterizer Oversample Mode" size=
"2" start=
"6" type=
"uint"/>
638 <field name=
"Line Rasterization" size=
"2" start=
"4" type=
"uint"/>
639 <field name=
"Enable Depth Offset" size=
"1" start=
"3" type=
"bool"/>
640 <field name=
"Clockwise Primitives" size=
"1" start=
"2" type=
"bool"/>
641 <field name=
"Enable Reverse Facing Primitive" size=
"1" start=
"1" type=
"bool"/>
642 <field name=
"Enable Forward Facing Primitive" size=
"1" start=
"0" type=
"bool"/>
645 <packet code=
"97" name=
"Zero All Flat Shade Flags"/>
647 <packet code=
"98" name=
"Flat Shade Flags">
648 <field name=
"Flat Shade Flags for varyings V0*24" size=
"24" start=
"8" type=
"uint"/>
649 <field name=
"Action for Flat Shade Flags of higher numbered varyings" size=
"2" start=
"6" type=
"Varying Flags Action"/>
650 <field name=
"Action for Flat Shade Flags of lower numbered varyings" size=
"2" start=
"4" type=
"Varying Flags Action"/>
651 <field name=
"Varying offset V0" size=
"4" start=
"0" type=
"uint"/>
654 <packet code=
"99" name=
"Zero All Non-perspective Flags" min_ver=
"41"/>
656 <packet code=
"100" name=
"Non-perspective Flags" min_ver=
"41">
657 <field name=
"Non-perspective Flags for varyings V0*24" size=
"24" start=
"8" type=
"uint"/>
658 <field name=
"Action for Non-perspective Flags of higher numbered varyings" size=
"2" start=
"6" type=
"Varying Flags Action"/>
659 <field name=
"Action for Non-perspectivey Flags of lower numbered varyings" size=
"2" start=
"4" type=
"Varying Flags Action"/>
660 <field name=
"Varying offset V0" size=
"4" start=
"0" type=
"uint"/>
663 <packet code=
"104" name=
"Point size">
664 <field name=
"Point Size" size=
"32" start=
"0" type=
"float"/>
667 <packet code=
"105" name=
"Line width">
668 <field name=
"Line width" size=
"32" start=
"0" type=
"float"/>
671 <packet name=
"Depth Offset" code=
"106" max_ver=
"33">
672 <!-- these fields are both float-1-8-7 encoded (top 16 bits of a float32) -->
673 <field name=
"Depth Offset Units" size=
"16" start=
"16" type=
"uint"/>
674 <field name=
"Depth Offset Factor" size=
"16" start=
"0" type=
"uint"/>
677 <packet name=
"Depth Offset" code=
"106" min_ver=
"41">
678 <field name=
"Limit" size=
"32" start=
"32" type=
"float"/>
679 <!-- these fields are both float-1-8-7 encoded (top 16 bits of a float32) -->
680 <field name=
"Depth Offset Units" size=
"16" start=
"16" type=
"uint"/>
681 <field name=
"Depth Offset Factor" size=
"16" start=
"0" type=
"uint"/>
684 <packet name=
"Clip Window" code=
"107">
685 <field name=
"Clip Window Height in pixels" size=
"16" start=
"48" type=
"uint"/>
686 <field name=
"Clip Window Width in pixels" size=
"16" start=
"32" type=
"uint"/>
687 <field name=
"Clip Window Bottom Pixel Coordinate" size=
"16" start=
"16" type=
"uint"/>
688 <field name=
"Clip Window Left Pixel Coordinate" size=
"16" start=
"0" type=
"uint"/>
691 <packet name=
"Viewport Offset" code=
"108" max_ver=
"33">
692 <field name=
"Viewport Centre Y-coordinate" size=
"32" start=
"32" type=
"s24.8"/>
693 <field name=
"Viewport Centre X-coordinate" size=
"32" start=
"0" type=
"s24.8"/>
696 <packet name=
"Viewport Offset" code=
"108" min_ver=
"41">
697 <field name=
"Coarse Y" size=
"10" start=
"54" type=
"uint"/>
698 <field name=
"Viewport Centre Y-coordinate" size=
"22" start=
"32" type=
"s14.8"/>
699 <field name=
"Coarse X" size=
"10" start=
"22" type=
"uint"/>
700 <field name=
"Viewport Centre X-coordinate" size=
"22" start=
"0" type=
"s14.8"/>
703 <packet name=
"Clipper Z min/max clipping planes" code=
"109">
704 <field name=
"Maximum Zw" size=
"32" start=
"32" type=
"float"/>
705 <field name=
"Minimum Zw" size=
"32" start=
"0" type=
"float"/>
708 <packet name=
"Clipper XY Scaling" code=
"110" cl=
"B">
709 <field name=
"Viewport Half-Height in 1/256th of pixel" size=
"32" start=
"32" type=
"float"/>
710 <field name=
"Viewport Half-Width in 1/256th of pixel" size=
"32" start=
"0" type=
"float"/>
713 <packet name=
"Clipper Z Scale and Offset" code=
"111" cl=
"B">
714 <field name=
"Viewport Z Offset (Zc to Zs)" size=
"32" start=
"32" type=
"float"/>
715 <field name=
"Viewport Z Scale (Zc to Zs)" size=
"32" start=
"0" type=
"float"/>
718 <packet name=
"Number of Layers" code=
"119" min_ver=
"41">
719 <field name=
"Number of Layers" size=
"8" start=
"0" type=
"uint" minus_one=
"true"/>
722 <packet code=
"120" name=
"Tile Binning Mode Configuration (Part1)" max_ver=
"33">
723 <field name=
"Double-buffer in non-ms mode" size=
"1" start=
"63" type=
"bool"/>
724 <field name=
"Multisample Mode (4x)" size=
"1" start=
"62" type=
"bool"/>
726 <field name=
"Maximum BPP of all render targets" size=
"2" start=
"60" type=
"Internal BPP"/>
728 <field name=
"Number of Render Targets" size=
"4" start=
"56" type=
"uint"/>
729 <field name=
"Height (in tiles)" size=
"12" start=
"44" type=
"uint"/>
730 <field name=
"Width (in tiles)" size=
"12" start=
"32" type=
"uint"/>
732 <field name=
"Tile State Data Array Base Address" size=
"26" start=
"6" type=
"address"/>
734 <field name=
"tile allocation block size" size=
"2" start=
"4" type=
"uint">
735 <value name=
"tile allocation block size 64b" value=
"0"/>
736 <value name=
"tile allocation block size 128b" value=
"1"/>
737 <value name=
"tile allocation block size 256b" value=
"2"/>
739 <field name=
"tile allocation initial block size" size=
"2" start=
"2" type=
"uint">
740 <value name=
"tile allocation initial block size 64b" value=
"0"/>
741 <value name=
"tile allocation initial block size 128b" value=
"1"/>
742 <value name=
"tile allocation initial block size 256b" value=
"2"/>
744 <field name=
"auto-initialize tile state data array" size=
"1" start=
"1" type=
"bool" default=
"1"/>
745 <field name=
"sub-id" size=
"1" start=
"0" type=
"uint" default=
"0"/>
748 <packet code=
"120" name=
"Tile Binning Mode Configuration (Part1)" min_ver=
"41">
750 <field name=
"Height (in pixels)" size=
"12" start=
"48" type=
"uint" minus_one=
"true"/>
751 <field name=
"Width (in pixels)" size=
"12" start=
"32" type=
"uint" minus_one=
"true"/>
753 <field name=
"Double-buffer in non-ms mode" size=
"1" start=
"15" type=
"bool"/>
754 <field name=
"Multisample Mode (4x)" size=
"1" start=
"14" type=
"bool"/>
756 <field name=
"Maximum BPP of all render targets" size=
"2" start=
"12" type=
"uint">
757 <value name=
"Render target maximum 32bpp" value=
"0"/>
758 <value name=
"Render target maximum 64bpp" value=
"1"/>
759 <value name=
"Render target maximum 128bpp" value=
"2"/>
762 <field name=
"Number of Render Targets" size=
"4" start=
"8" type=
"uint" minus_one=
"true"/>
764 <field name=
"tile allocation block size" size=
"2" start=
"4" type=
"uint">
765 <value name=
"tile allocation block size 64b" value=
"0"/>
766 <value name=
"tile allocation block size 128b" value=
"1"/>
767 <value name=
"tile allocation block size 256b" value=
"2"/>
769 <field name=
"tile allocation initial block size" size=
"2" start=
"2" type=
"uint">
770 <value name=
"tile allocation initial block size 64b" value=
"0"/>
771 <value name=
"tile allocation initial block size 128b" value=
"1"/>
772 <value name=
"tile allocation initial block size 256b" value=
"2"/>
776 <packet code=
"120" name=
"Tile Binning Mode Configuration (Part2)" cl=
"B" max_ver=
"33">
777 <field name=
"Tile Allocation Memory Address" size=
"32" start=
"32" type=
"address"/>
778 <field name=
"Tile Allocation Memory Size" size=
"32" start=
"0" type=
"uint"/>
780 <field name=
"sub-id" size=
"1" start=
"0" type=
"uint" default=
"1"/>
783 <packet code=
"121" name=
"Tile Rendering Mode Configuration (Common Configuration)" cl=
"R" max_ver=
"33">
784 <field name=
"Disable Render Target Stores" size=
"8" start=
"56" type=
"uint"/>
785 <field name=
"Enable Z Store" size=
"1" start=
"55" type=
"bool"/>
786 <field name=
"Enable Stencil Store" size=
"1" start=
"54" type=
"bool"/>
788 <field name=
"Early-Z disable" size=
"1" start=
"46" type=
"bool"/>
790 <field name=
"Early-Z Test and Update Direction" size=
"1" start=
"45" type=
"uint">
791 <value name=
"Early-Z direction LT/LE" value=
"0"/>
792 <value name=
"Early-Z direction GT/GE" value=
"1"/>
795 <field name=
"Select Coverage Mode" size=
"1" start=
"44" type=
"bool"/>
796 <field name=
"Double-buffer in non-ms mode" size=
"1" start=
"43" type=
"bool"/>
797 <field name=
"Multisample Mode (4x)" size=
"1" start=
"42" type=
"bool"/>
799 <field name=
"Maximum BPP of all render targets" size=
"2" start=
"40" type=
"uint">
800 <value name=
"Render target maximum 32bpp" value=
"0"/>
801 <value name=
"Render target maximum 64bpp" value=
"1"/>
802 <value name=
"Render target maximum 128bpp" value=
"2"/>
805 <field name=
"Image Height (pixels)" size=
"16" start=
"24" type=
"uint"/>
806 <field name=
"Image Width (pixels)" size=
"16" start=
"8" type=
"uint"/>
807 <field name=
"Number of Render Targets" size=
"4" start=
"4" type=
"uint" minus_one=
"true"/>
809 <field name=
"sub-id" size=
"4" start=
"0" type=
"uint" default=
"0"/>
812 <packet code=
"121" name=
"Tile Rendering Mode Configuration (Common Configuration)" cl=
"R" min_ver=
"41">
813 <field name=
"Pad" size=
"12" start=
"52" type=
"uint"/>
815 <field name=
"Early Depth/Stencil Clear" size=
"1" start=
"51" type=
"bool"/>
816 <field name=
"Internal Depth Type" size=
"4" start=
"47" type=
"Internal Depth Type"/>
818 <field name=
"Early-Z disable" size=
"1" start=
"46" type=
"bool"/>
820 <field name=
"Early-Z Test and Update Direction" size=
"1" start=
"45" type=
"uint">
821 <value name=
"Early-Z direction LT/LE" value=
"0"/>
822 <value name=
"Early-Z direction GT/GE" value=
"1"/>
825 <field name=
"Select Coverage Mode" size=
"1" start=
"44" type=
"bool"/>
826 <field name=
"Double-buffer in non-ms mode" size=
"1" start=
"43" type=
"bool"/>
827 <field name=
"Multisample Mode (4x)" size=
"1" start=
"42" type=
"bool"/>
829 <field name=
"Maximum BPP of all render targets" size=
"2" start=
"40" type=
"Internal BPP"/>
831 <field name=
"Image Height (pixels)" size=
"16" start=
"24" type=
"uint"/>
832 <field name=
"Image Width (pixels)" size=
"16" start=
"8" type=
"uint"/>
833 <field name=
"Number of Render Targets" size=
"4" start=
"4" type=
"uint" minus_one=
"true"/>
835 <field name=
"sub-id" size=
"4" start=
"0" type=
"uint" default=
"0"/>
838 <packet code=
"121" name=
"Tile Rendering Mode Configuration (Render Target config)" cl=
"R" max_ver=
"33">
839 <field name=
"Address" size=
"32" start=
"32" type=
"address"/>
841 <field name=
"Pad" size=
"4" start=
"28" type=
"uint"/>
843 <field name=
"Flip Y" size=
"1" start=
"27" type=
"bool"/>
845 <field name=
"Memory Format" size=
"3" start=
"24" type=
"Memory Format"/>
847 <field name=
"A dithered" size=
"1" start=
"23" type=
"bool"/>
848 <field name=
"BGR dithered" size=
"1" start=
"22" type=
"bool"/>
850 <field name=
"Output image format" size=
"6" start=
"16" type=
"Output Image Format"/>
852 <field name=
"Decimate mode" size=
"2" start=
"14" type=
"Decimate Mode"/>
854 <field name=
"Internal Type" size=
"4" start=
"10" type=
"Internal Type"/>
855 <field name=
"Internal BPP" size=
"2" start=
"8" type=
"Internal BPP"/>
856 <field name=
"Render Target Number" size=
"4" start=
"4" type=
"uint"/>
857 <field name=
"sub-id" size=
"4" start=
"0" type=
"uint" default=
"2"/>
860 <packet code=
"121" name=
"Tile Rendering Mode Configuration (Render Target config)" cl=
"R" min_ver=
"41">
862 <field name=
"Pad" size=
"28" start=
"34" type=
"uint"/>
864 <field name=
"Render Target 3 Clamp" size=
"2" start=
"32" type=
"Render Target Clamp"/>
865 <field name=
"Render Target 3 Internal Type" size=
"4" start=
"30" type=
"Internal Type"/>
866 <field name=
"Render Target 3 Internal BPP" size=
"2" start=
"28" type=
"Internal BPP"/>
868 <field name=
"Render Target 2 Clamp" size=
"2" start=
"26" type=
"Render Target Clamp"/>
869 <field name=
"Render Target 2 Internal Type" size=
"4" start=
"22" type=
"Internal Type"/>
870 <field name=
"Render Target 2 Internal BPP" size=
"2" start=
"20" type=
"Internal BPP"/>
872 <field name=
"Render Target 1 Clamp" size=
"2" start=
"18" type=
"Render Target Clamp"/>
873 <field name=
"Render Target 1 Internal Type" size=
"4" start=
"14" type=
"Internal Type"/>
874 <field name=
"Render Target 1 Internal BPP" size=
"2" start=
"12" type=
"Internal BPP"/>
876 <field name=
"Render Target 0 Clamp" size=
"2" start=
"10" type=
"Render Target Clamp"/>
877 <field name=
"Render Target 0 Internal Type" size=
"4" start=
"6" type=
"Internal Type"/>
878 <field name=
"Render Target 0 Internal BPP" size=
"2" start=
"4" type=
"Internal BPP"/>
880 <field name=
"sub-id" size=
"4" start=
"0" type=
"uint" default=
"1"/>
883 <packet code=
"121" name=
"Tile Rendering Mode Configuration (Z/Stencil config)" cl=
"R" max_ver=
"33">
884 <field name=
"Address" size=
"26" start=
"38" type=
"address"/>
886 <field name=
"Padded height of output image in UIF blocks" size=
"13" start=
"25" type=
"uint"/>
888 <field name=
"Memory Format" size=
"3" start=
"22" type=
"Memory Format"/>
890 <field name=
"Output image format" size=
"6" start=
"16" type=
"Z/S Output Image Format"/>
892 <field name=
"Decimate mode" size=
"2" start=
"14" type=
"uint"/>
894 <field name=
"Internal Type" size=
"4" start=
"10" type=
"Internal Depth Type"/>
896 <field name=
"Internal BPP (ignored)" size=
"2" start=
"8" type=
"uint"/>
897 <!-- selects between Z/Stencil config packet and Separate Stencil packet. -->
898 <field name=
"Z/Stencil ID" size=
"4" start=
"4" type=
"uint" default=
"0"/>
899 <field name=
"sub-id" size=
"4" start=
"0" type=
"uint" default=
"1"/>
902 <packet code=
"121" name=
"Tile Rendering Mode Configuration (Z Stencil Clear Values)" cl=
"R" max_ver=
"33">
903 <field name=
"unused" size=
"16" start=
"48" type=
"uint"/>
905 <field name=
"Z Clear Value" size=
"32" start=
"16" type=
"float"/>
907 <field name=
"Stencil/VG Mask Clear Value" size=
"8" start=
"8" type=
"uint"/>
908 <field name=
"sub-id" size=
"4" start=
"0" type=
"uint" default=
"3"/>
911 <packet code=
"121" name=
"Tile Rendering Mode Configuration (Z Stencil Clear Values)" cl=
"R" min_ver=
"41">
912 <field name=
"unused" size=
"16" start=
"48" type=
"uint"/>
914 <field name=
"Z Clear Value" size=
"32" start=
"16" type=
"float"/>
916 <field name=
"Stencil/VG Mask Clear Value" size=
"8" start=
"8" type=
"uint"/>
917 <field name=
"sub-id" size=
"4" start=
"0" type=
"uint" default=
"2"/>
920 <packet code=
"121" name=
"Tile Rendering Mode Configuration (Clear Colors Part1)" cl=
"R" max_ver=
"33">
921 <!-- Express this as a 56-bit field? -->
922 <field name=
"Clear Color next 24 bits" size=
"24" start=
"40" type=
"uint"/>
923 <field name=
"Clear Color low 32 bits" size=
"32" start=
"8" type=
"uint"/>
925 <field name=
"Render Target number" size=
"4" start=
"4" type=
"uint"/>
926 <field name=
"sub-id" size=
"4" start=
"0" type=
"uint" default=
"4"/>
929 <packet code=
"121" name=
"Tile Rendering Mode Configuration (Clear Colors Part1)" cl=
"R" min_ver=
"41">
930 <!-- Express this as a 56-bit field? -->
931 <field name=
"Clear Color next 24 bits" size=
"24" start=
"40" type=
"uint"/>
932 <field name=
"Clear Color low 32 bits" size=
"32" start=
"8" type=
"uint"/>
934 <field name=
"Render Target number" size=
"4" start=
"4" type=
"uint"/>
935 <field name=
"sub-id" size=
"4" start=
"0" type=
"uint" default=
"3"/>
938 <packet code=
"121" name=
"Tile Rendering Mode Configuration (Clear Colors Part2)" cl=
"R" max_ver=
"33">
939 <!-- Express this as a 56-bit field? -->
940 <field name=
"Clear Color mid-high 24 bits" size=
"24" start=
"40" type=
"uint"/>
941 <field name=
"Clear Color mid-low 32 bits" size=
"32" start=
"8" type=
"uint"/>
943 <field name=
"Render Target number" size=
"4" start=
"4" type=
"uint"/>
944 <field name=
"sub-id" size=
"4" start=
"0" type=
"uint" default=
"5"/>
947 <packet code=
"121" name=
"Tile Rendering Mode Configuration (Clear Colors Part2)" cl=
"R" min_ver=
"41">
948 <!-- Express this as a 56-bit field? -->
949 <field name=
"Clear Color mid-high 24 bits" size=
"24" start=
"40" type=
"uint"/>
950 <field name=
"Clear Color mid-low 32 bits" size=
"32" start=
"8" type=
"uint"/>
952 <field name=
"Render Target number" size=
"4" start=
"4" type=
"uint"/>
953 <field name=
"sub-id" size=
"4" start=
"0" type=
"uint" default=
"4"/>
956 <packet code=
"121" name=
"Tile Rendering Mode Configuration (Clear Colors Part3)" cl=
"R" max_ver=
"33">
957 <field name=
"pad" size=
"11" start=
"53" type=
"uint"/>
958 <field name=
"UIF padded height in UIF blocks" size=
"13" start=
"40" type=
"uint"/>
959 <!-- image height is for Y flipping -->
960 <field name=
"Raster Row Stride or Image Height in Pixels" size=
"16" start=
"24" type=
"uint"/>
961 <field name=
"Clear Color high 16 bits" size=
"16" start=
"8" type=
"uint"/>
963 <field name=
"Render Target number" size=
"4" start=
"4" type=
"uint"/>
964 <field name=
"sub-id" size=
"4" start=
"0" type=
"uint" default=
"6"/>
967 <packet code=
"121" name=
"Tile Rendering Mode Configuration (Clear Colors Part3)" cl=
"R" min_ver=
"41">
968 <field name=
"pad" size=
"11" start=
"53" type=
"uint"/>
969 <field name=
"UIF padded height in UIF blocks" size=
"13" start=
"40" type=
"uint"/>
970 <!-- image height is for Y flipping -->
971 <field name=
"Raster Row Stride or Image Height in Pixels" size=
"16" start=
"24" type=
"uint"/>
972 <field name=
"Clear Color high 16 bits" size=
"16" start=
"8" type=
"uint"/>
974 <field name=
"Render Target number" size=
"4" start=
"4" type=
"uint"/>
975 <field name=
"sub-id" size=
"4" start=
"0" type=
"uint" default=
"5"/>
978 <packet code=
"124" name=
"Tile Coordinates">
979 <field name=
"tile row number" size=
"12" start=
"12" type=
"uint"/>
980 <field name=
"tile column number" size=
"12" start=
"0" type=
"uint"/>
983 <packet code=
"122" name=
"Multicore Rendering Supertile Configuration" cl=
"R">
984 <field name=
"Supertile Raster Order" size=
"1" start=
"60" type=
"bool"/>
985 <field name=
"Multicore Enable" size=
"1" start=
"56" type=
"bool"/>
987 <field name=
"Total Frame Height in Tiles" size=
"12" start=
"44" type=
"uint"/>
988 <field name=
"Total Frame Width in Tiles" size=
"12" start=
"32" type=
"uint"/>
990 <field name=
"Total Frame Height in Supertiles" size=
"8" start=
"24" type=
"uint"/>
991 <field name=
"Total Frame Width in Supertiles" size=
"8" start=
"16" type=
"uint"/>
993 <field name=
"Supertile Height in Tiles" size=
"8" start=
"8" type=
"uint" minus_one=
"true"/>
994 <field name=
"Supertile Width in Tiles" size=
"8" start=
"0" type=
"uint" minus_one=
"true"/>
997 <packet code=
"123" name=
"Multicore Rendering Tile List Set Base" cl=
"R">
998 <field name=
"address" size=
"26" start=
"6" type=
"address"/>
999 <field name=
"Tile List Set Number" size=
"4" start=
"0" type=
"uint"/>
1003 <packet code=
"125" name=
"Tile Coordinates Implicit"/>
1005 <packet code=
"126" name=
"Tile List Initial Block Size">
1006 <field name=
"Use auto-chained tile lists" size=
"1" start=
"2" type=
"bool"/>
1008 <field name=
"Size of first block in chained tile lists" size=
"2" start=
"0" type=
"uint">
1009 <value name=
"tile allocation block size 64b" value=
"0"/>
1010 <value name=
"tile allocation block size 128b" value=
"1"/>
1011 <value name=
"tile allocation block size 256b" value=
"2"/>
1015 <struct name=
"GL Shader State Record" max_ver=
"33">
1016 <field name=
"Point size in shaded vertex data" size=
"1" start=
"0" type=
"bool"/>
1017 <field name=
"Enable clipping" size=
"1" start=
"1" type=
"bool"/>
1018 <field name=
"Vertex ID read by coordinate shader" size=
"1" start=
"2" type=
"bool"/>
1019 <field name=
"Instance ID read by coordinate shader" size=
"1" start=
"3" type=
"bool"/>
1020 <field name=
"Vertex ID read by vertex shader" size=
"1" start=
"4" type=
"bool"/>
1021 <field name=
"Instance ID read by vertex shader" size=
"1" start=
"5" type=
"bool"/>
1022 <field name=
"Fragment shader does Z writes" size=
"1" start=
"6" type=
"bool"/>
1023 <field name=
"Turn off early-z test" size=
"1" start=
"7" type=
"bool"/>
1024 <field name=
"Coordinate shader has separate input and output VPM blocks" size=
"1" start=
"8" type=
"bool"/>
1025 <field name=
"Vertex shader has separate input and output VPM blocks" size=
"1" start=
"9" type=
"bool"/>
1026 <field name=
"Fragment shader uses real pixel centre W in addition to centroid W2" size=
"1" start=
"10" type=
"bool"/>
1028 <field name=
"Number of varyings in Fragment Shader" size=
"8" start=
"2b" type=
"uint"/>
1029 <field name=
"Coordinate Shader output VPM segment size" size=
"8" start=
"4b" type=
"uint"/>
1030 <field name=
"Coordinate Shader input VPM segment size" size=
"8" start=
"5b" type=
"uint"/>
1031 <field name=
"Vertex Shader output VPM segment size" size=
"8" start=
"6b" type=
"uint"/>
1032 <field name=
"Vertex Shader input VPM segment size" size=
"8" start=
"7b" type=
"uint"/>
1033 <field name=
"Address of default attribute values" size=
"32" start=
"8b" type=
"address"/>
1034 <field name=
"Fragment Shader Code Address" size=
"29" start=
"99" type=
"address"/>
1035 <field name=
"Fragment Shader 2-way threadable" size=
"1" start=
"96" type=
"bool"/>
1036 <field name=
"Fragment Shader 4-way threadable" size=
"1" start=
"97" type=
"bool"/>
1037 <field name=
"Fragment Shader Propagate NaNs" size=
"1" start=
"98" type=
"bool"/>
1038 <field name=
"Fragment Shader Uniforms Address" size=
"32" start=
"16b" type=
"address"/>
1039 <field name=
"Vertex Shader Code Address" size=
"32" start=
"20b" type=
"address"/>
1040 <field name=
"Vertex Shader 2-way threadable" size=
"1" start=
"160" type=
"bool"/>
1041 <field name=
"Vertex Shader 4-way threadable" size=
"1" start=
"161" type=
"bool"/>
1042 <field name=
"Vertex Shader Propagate NaNs" size=
"1" start=
"162" type=
"bool"/>
1043 <field name=
"Vertex Shader Uniforms Address" size=
"32" start=
"24b" type=
"address"/>
1044 <field name=
"Coordinate Shader Code Address" size=
"32" start=
"28b" type=
"address"/>
1045 <field name=
"Coordinate Shader 2-way threadable" size=
"1" start=
"224" type=
"bool"/>
1046 <field name=
"Coordinate Shader 4-way threadable" size=
"1" start=
"225" type=
"bool"/>
1047 <field name=
"Coordinate Shader Propagate NaNs" size=
"1" start=
"226" type=
"bool"/>
1048 <field name=
"Coordinate Shader Uniforms Address" size=
"32" start=
"32b" type=
"address"/>
1051 <struct name=
"GL Shader State Record" min_ver=
"41">
1052 <field name=
"Point size in shaded vertex data" size=
"1" start=
"0" type=
"bool"/>
1053 <field name=
"Enable clipping" size=
"1" start=
"1" type=
"bool"/>
1055 <field name=
"Vertex ID read by coordinate shader" size=
"1" start=
"2" type=
"bool"/>
1056 <field name=
"Instance ID read by coordinate shader" size=
"1" start=
"3" type=
"bool"/>
1057 <field name=
"Base Instance ID read by coordinate shader" size=
"1" start=
"4" type=
"bool"/>
1058 <field name=
"Vertex ID read by vertex shader" size=
"1" start=
"5" type=
"bool"/>
1059 <field name=
"Instance ID read by vertex shader" size=
"1" start=
"6" type=
"bool"/>
1060 <field name=
"Base Instance ID read by vertex shader" size=
"1" start=
"7" type=
"bool"/>
1062 <field name=
"Fragment shader does Z writes" size=
"1" start=
"8" type=
"bool"/>
1063 <field name=
"Turn off early-z test" size=
"1" start=
"9" type=
"bool"/>
1064 <field name=
"Coordinate shader has separate input and output VPM blocks" size=
"1" start=
"10" type=
"bool"/>
1065 <field name=
"Vertex shader has separate input and output VPM blocks" size=
"1" start=
"11" type=
"bool"/>
1066 <field name=
"Fragment shader uses real pixel centre W in addition to centroid W2" size=
"1" start=
"12" type=
"bool"/>
1067 <field name=
"Enable Sample Rate Shading" size=
"1" start=
"13" type=
"bool"/>
1068 <field name=
"Any shader reads hardware-written Primitive ID" size=
"1" start=
"14" type=
"bool"/>
1069 <field name=
"Insert Primitive ID as first varying to fragment shader" size=
"1" start=
"15" type=
"bool"/>
1070 <field name=
"Turn off scoreboard" size=
"1" start=
"16" type=
"bool"/>
1071 <field name=
"Do scoreboard wait on first thread switch" size=
"1" start=
"17" type=
"bool"/>
1072 <field name=
"Disable implicit point/line varyings" size=
"1" start=
"18" type=
"bool"/>
1074 <field name=
"Number of varyings in Fragment Shader" size=
"8" start=
"3b" type=
"uint"/>
1076 <field name=
"Coordinate Shader output VPM segment size" size=
"4" start=
"4b" type=
"uint"/>
1077 <field name=
"Min Coord Shader output segments required in play in addition to VCM cache size" size=
"4" start=
"36" type=
"uint"/>
1079 <field name=
"Coordinate Shader input VPM segment size" size=
"4" start=
"5b" type=
"uint"/>
1080 <field name=
"Min Coord Shader input segments required in play" size=
"4" start=
"44" type=
"uint" minus_one=
"true"/>
1082 <field name=
"Vertex Shader output VPM segment size" size=
"4" start=
"6b" type=
"uint"/>
1083 <field name=
"Min Vertex Shader output segments required in play in addition to VCM cache size" size=
"4" start=
"52" type=
"uint"/>
1085 <field name=
"Vertex Shader input VPM segment size" size=
"4" start=
"7b" type=
"uint"/>
1086 <field name=
"Min Vertex Shader input segments required in play" size=
"4" start=
"60" type=
"uint" minus_one=
"true"/>
1088 <field name=
"Address of default attribute values" size=
"32" start=
"8b" type=
"address"/>
1090 <field name=
"Fragment Shader Code Address" size=
"32" start=
"12b" type=
"address"/>
1091 <field name=
"Fragment Shader 4-way threadable" size=
"1" start=
"96" type=
"bool"/>
1092 <field name=
"Fragment Shader start in final thread section" size=
"1" start=
"97" type=
"bool"/>
1093 <field name=
"Fragment Shader Propagate NaNs" size=
"1" start=
"98" type=
"bool"/>
1094 <field name=
"Fragment Shader Uniforms Address" size=
"32" start=
"16b" type=
"address"/>
1096 <field name=
"Vertex Shader Code Address" size=
"32" start=
"20b" type=
"address"/>
1097 <field name=
"Vertex Shader 4-way threadable" size=
"1" start=
"160" type=
"bool"/>
1098 <field name=
"Vertex Shader start in final thread section" size=
"1" start=
"161" type=
"bool"/>
1099 <field name=
"Vertex Shader Propagate NaNs" size=
"1" start=
"162" type=
"bool"/>
1100 <field name=
"Vertex Shader Uniforms Address" size=
"32" start=
"24b" type=
"address"/>
1102 <field name=
"Coordinate Shader Code Address" size=
"32" start=
"28b" type=
"address"/>
1103 <field name=
"Coordinate Shader 4-way threadable" size=
"1" start=
"224" type=
"bool"/>
1104 <field name=
"Coordinate Shader start in final thread section" size=
"1" start=
"225" type=
"bool"/>
1105 <field name=
"Coordinate Shader Propagate NaNs" size=
"1" start=
"226" type=
"bool"/>
1106 <field name=
"Coordinate Shader Uniforms Address" size=
"32" start=
"32b" type=
"address"/>
1109 <struct name=
"Geometry Shader State Record" min_ver=
"41">
1110 <field name=
"Geometry Bin Mode Shader Code Address" size=
"32" start=
"0b" type=
"address"/>
1111 <field name=
"4-way threadable" size=
"1" start=
"0" type=
"bool"/>
1112 <field name=
"Start in final thread section" size=
"1" start=
"1" type=
"bool"/>
1113 <field name=
"Propagate NaNs" size=
"1" start=
"2" type=
"bool"/>
1114 <field name=
"Geometry Bin Mode Shader Uniforms Address" size=
"32" start=
"4b" type=
"address"/>
1115 <field name=
"Geometry Render Mode Shader Code Address" size=
"32" start=
"8b" type=
"address"/>
1116 <field name=
"Geometry Render Mode Shader Uniforms Address" size=
"32" start=
"12b" type=
"address"/>
1119 <struct name=
"Tessellation Shader State Record" min_ver=
"41">
1120 <field name=
"Tessellation Bin Mode Control Shader Code Address" size=
"32" start=
"0b" type=
"address"/>
1121 <field name=
"Tessellation Bin Mode Control Shader Uniforms Address" size=
"32" start=
"4b" type=
"address"/>
1122 <field name=
"Tessellation Render Mode Control Shader Code Address" size=
"32" start=
"8b" type=
"address"/>
1123 <field name=
"Tessellation Render Mode Control Shader Uniforms Address" size=
"32" start=
"12b" type=
"address"/>
1125 <field name=
"Tessellation Bin Mode Evaluation Shader Code Address" size=
"32" start=
"16b" type=
"address"/>
1126 <field name=
"Tessellation Bin Mode Evaluation Shader Uniforms Address" size=
"32" start=
"20b" type=
"address"/>
1127 <field name=
"Tessellation Render Mode Evaluation Shader Code Address" size=
"32" start=
"24b" type=
"address"/>
1128 <field name=
"Tessellation Render Mode Evaluation Shader Uniforms Address" size=
"32" start=
"28b" type=
"address"/>
1131 <struct name=
"GL Shader State Attribute Record" max_ver=
"33">
1132 <field name=
"Address" size=
"32" start=
"0" type=
"address"/>
1134 <field name=
"Vec size" size=
"2" start=
"32" type=
"uint"/>
1135 <field name=
"Type" size=
"3" start=
"34" type=
"uint">
1136 <value name=
"Attribute half-float" value=
"1"/>
1137 <value name=
"Attribute float" value=
"2"/>
1138 <value name=
"Attribute fixed" value=
"3"/>
1139 <value name=
"Attribute byte" value=
"4"/>
1140 <value name=
"Attribute short" value=
"5"/>
1141 <value name=
"Attribute int" value=
"6"/>
1142 <value name=
"Attribute int2_10_10_10" value=
"7"/>
1144 <field name=
"Signed int type" size=
"1" start=
"37" type=
"bool"/>
1145 <field name=
"Normalized int type" size=
"1" start=
"38" type=
"bool"/>
1146 <field name=
"Read as int/uint" size=
"1" start=
"39" type=
"bool"/>
1148 <field name=
"Number of values read by Coordinate shader" size=
"4" start=
"40" type=
"uint"/>
1149 <field name=
"Number of values read by Vertex shader" size=
"4" start=
"44" type=
"uint"/>
1151 <field name=
"Instance Divisor" size=
"16" start=
"6b" type=
"uint"/>
1152 <field name=
"Stride" size=
"32" start=
"8b" type=
"uint"/>
1155 <struct name=
"GL Shader State Attribute Record" min_ver=
"41">
1156 <field name=
"Address" size=
"32" start=
"0" type=
"address"/>
1158 <field name=
"Vec size" size=
"2" start=
"32" type=
"uint"/>
1159 <field name=
"Type" size=
"3" start=
"34" type=
"uint">
1160 <value name=
"Attribute half-float" value=
"1"/>
1161 <value name=
"Attribute float" value=
"2"/>
1162 <value name=
"Attribute fixed" value=
"3"/>
1163 <value name=
"Attribute byte" value=
"4"/>
1164 <value name=
"Attribute short" value=
"5"/>
1165 <value name=
"Attribute int" value=
"6"/>
1166 <value name=
"Attribute int2_10_10_10" value=
"7"/>
1168 <field name=
"Signed int type" size=
"1" start=
"37" type=
"bool"/>
1169 <field name=
"Normalized int type" size=
"1" start=
"38" type=
"bool"/>
1170 <field name=
"Read as int/uint" size=
"1" start=
"39" type=
"bool"/>
1172 <field name=
"Number of values read by Coordinate shader" size=
"4" start=
"40" type=
"uint"/>
1173 <field name=
"Number of values read by Vertex shader" size=
"4" start=
"44" type=
"uint"/>
1175 <field name=
"Instance Divisor" size=
"16" start=
"6b" type=
"uint"/>
1176 <field name=
"Stride" size=
"32" start=
"8b" type=
"uint"/>
1177 <field name=
"Maximum Index" size=
"32" start=
"12b" type=
"uint"/>
1180 <struct name=
"VPM generic block write setup">
1181 <field name=
"id" size=
"2" start=
"30" type=
"uint" default=
"0"/>
1182 <field name=
"id0" size=
"3" start=
"27" type=
"uint" default=
"0"/>
1184 <field name=
"horiz" size=
"1" start=
"24" type=
"bool"/>
1185 <field name=
"laned" size=
"1" start=
"23" type=
"bool"/>
1186 <field name=
"segs" size=
"1" start=
"22" type=
"bool"/>
1187 <field name=
"stride" size=
"7" start=
"15" type=
"int"/>
1189 <field name=
"size" size=
"2" start=
"13" type=
"uint">
1190 <value name=
"VPM setup size 8-bit" value=
"0"/>
1191 <value name=
"VPM setup size 16-bit" value=
"1"/>
1192 <value name=
"VPM setup size 32-bit" value=
"2"/>
1195 <field name=
"addr" size=
"13" start=
"0" type=
"uint"/>
1198 <struct name=
"VPM generic block read setup">
1199 <field name=
"id" size=
"2" start=
"30" type=
"uint" default=
"1"/>
1201 <field name=
"horiz" size=
"1" start=
"29" type=
"bool"/>
1202 <field name=
"laned" size=
"1" start=
"28" type=
"bool"/>
1203 <field name=
"segs" size=
"1" start=
"27" type=
"bool"/>
1204 <field name=
"num" size=
"5" start=
"22" type=
"uint"/>
1205 <field name=
"stride" size=
"7" start=
"15" type=
"int"/>
1207 <field name=
"size" size=
"2" start=
"13" type=
"uint">
1208 <value name=
"VPM setup size 8-bit" value=
"0"/>
1209 <value name=
"VPM setup size 16-bit" value=
"1"/>
1210 <value name=
"VPM setup size 32-bit" value=
"2"/>
1213 <field name=
"addr" size=
"13" start=
"0" type=
"uint"/>
1216 <struct name=
"Texture Uniform Parameter 0 CFG_MODE=1" max_ver=
"33">
1217 <field name=
"Per-pixel mask enable" size=
"1" start=
"31" type=
"bool"/>
1219 <field name=
"Texel offset for r coordinate" size=
"4" start=
"27" type=
"int"/>
1220 <field name=
"Texel offset for t coordinate" size=
"4" start=
"23" type=
"int"/>
1221 <field name=
"Texel offset for s coordinate" size=
"4" start=
"19" type=
"int"/>
1223 <field name=
"R Wrap Mode" size=
"3" start=
"16" type=
"uint">
1224 <value name=
"Wrap mode REPEAT" value=
"0"/>
1225 <value name=
"Wrap mode CLAMP" value=
"1"/>
1226 <value name=
"Wrap mode MIRROR" value=
"2"/>
1227 <value name=
"Wrap mode BORDER" value=
"3"/>
1228 <value name=
"Wrap mode MIRROR_ONCE" value=
"4"/>
1231 <field name=
"T Wrap Mode" size=
"3" start=
"13" type=
"uint">
1232 <value name=
"Wrap mode REPEAT" value=
"0"/>
1233 <value name=
"Wrap mode CLAMP" value=
"1"/>
1234 <value name=
"Wrap mode MIRROR" value=
"2"/>
1235 <value name=
"Wrap mode BORDER" value=
"3"/>
1236 <value name=
"Wrap mode MIRROR_ONCE" value=
"4"/>
1239 <field name=
"S Wrap Mode" size=
"3" start=
"10" type=
"uint">
1240 <value name=
"Wrap mode REPEAT" value=
"0"/>
1241 <value name=
"Wrap mode CLAMP" value=
"1"/>
1242 <value name=
"Wrap mode MIRROR" value=
"2"/>
1243 <value name=
"Wrap mode BORDER" value=
"3"/>
1244 <value name=
"Wrap mode MIRROR_ONCE" value=
"4"/>
1247 <field name=
"New configuration mode" size=
"1" start=
"9" type=
"bool" default=
"1"/>
1249 <field name=
"Shadow" size=
"1" start=
"8" type=
"bool"/>
1250 <field name=
"Coefficient lookup mode" size=
"1" start=
"7" type=
"bool"/>
1251 <field name=
"Disable AutoLOD, use bias only" size=
"1" start=
"6" type=
"bool"/>
1252 <field name=
"Bias supplied" size=
"1" start=
"5" type=
"bool"/>
1253 <field name=
"Gather sample mode" size=
"1" start=
"4" type=
"bool"/>
1254 <field name=
"Fetch sample mode" size=
"1" start=
"3" type=
"bool"/>
1256 <field name=
"Lookup Type" size=
"3" start=
"0" type=
"uint">
1257 <value name=
"Texture 2D" value=
"0"/>
1258 <value name=
"Texture 2D array" value=
"1"/>
1259 <value name=
"Texture 3D" value=
"2"/>
1260 <value name=
"Texture Cube Map" value=
"3"/>
1261 <value name=
"Texture 1D" value=
"4"/>
1262 <value name=
"Texture 1D Array" value=
"5"/>
1263 <value name=
"Texture Child Image" value=
"6"/>
1267 <struct name=
"Texture Uniform Parameter 1 CFG_MODE=1" max_ver=
"33">
1268 <field name=
"Texture state record base address" size=
"28" start=
"4" type=
"address"/>
1269 <field name=
"Return words of texture data" size=
"4" start=
"0" type=
"uint"/>
1272 <struct name=
"TMU Config Parameter 0" min_ver=
"41">
1273 <field name=
"Texture state address" size=
"32" start=
"0" type=
"address"/>
1274 <field name=
"Return words of texture data" size=
"4" start=
"0" type=
"uint"/>
1277 <struct name=
"TMU Config Parameter 1" min_ver=
"41">
1278 <field name=
"Sampler state address" size=
"32" start=
"0" type=
"address"/>
1279 <field name=
"Per-pixel mask enable" size=
"1" start=
"2" type=
"bool"/>
1280 <field name=
"Unnormalized coordinates" size=
"1" start=
"1" type=
"bool"/>
1281 <field name=
"Output Type 32-bit" size=
"1" start=
"0" type=
"bool"/>
1284 <struct name=
"TMU Config Parameter 2" min_ver=
"41" max_ver=
"41">
1285 <field name=
"Pad" size=
"24" start=
"8" type=
"uint"/>
1286 <field name=
"Op" size=
"4" start=
"20" type=
"TMU Op"/>
1287 <field name=
"Offset R" size=
"4" start=
"16" type=
"int"/>
1288 <field name=
"Offset T" size=
"4" start=
"12" type=
"int"/>
1289 <field name=
"Offset S" size=
"4" start=
"8" type=
"int"/>
1290 <field name=
"Gather Mode" size=
"1" start=
"7" type=
"bool"/>
1291 <field name=
"Gather Component" size=
"2" start=
"5" type=
"uint"/>
1292 <field name=
"Coefficient Mode" size=
"1" start=
"4" type=
"bool"/>
1293 <field name=
"Sample Number" size=
"2" start=
"2" type=
"uint"/>
1294 <field name=
"Disable AutoLOD" size=
"1" start=
"1" type=
"bool"/>
1295 <field name=
"Offset Format 8" size=
"1" start=
"0" type=
"bool"/>
1298 <struct name=
"TMU Config Parameter 2" min_ver=
"42">
1299 <field name=
"Pad" size=
"23" start=
"9" type=
"uint"/>
1300 <field name=
"LOD Query" size=
"1" start=
"8" type=
"bool"/>
1301 <field name=
"Op" size=
"4" start=
"20" type=
"TMU Op"/>
1302 <field name=
"Offset R" size=
"4" start=
"16" type=
"int"/>
1303 <field name=
"Offset T" size=
"4" start=
"12" type=
"int"/>
1304 <field name=
"Offset S" size=
"4" start=
"8" type=
"int"/>
1305 <field name=
"Gather Mode" size=
"1" start=
"7" type=
"bool"/>
1306 <field name=
"Gather Component" size=
"2" start=
"5" type=
"uint"/>
1307 <field name=
"Coefficient Mode" size=
"1" start=
"4" type=
"bool"/>
1308 <field name=
"Sample Number" size=
"2" start=
"2" type=
"uint"/>
1309 <field name=
"Disable AutoLOD" size=
"1" start=
"1" type=
"bool"/>
1310 <field name=
"Offset Format 8" size=
"1" start=
"0" type=
"bool"/>
1313 <struct name=
"Texture Shader State" max_ver=
"33">
1314 <field name=
"UIF XOR disable" size=
"1" start=
"255" type=
"bool"/>
1315 <field name=
"Level 0 is strictly UIF" size=
"1" start=
"254" type=
"bool"/>
1316 <field name=
"Level 0 XOR enable" size=
"1" start=
"252" type=
"bool"/>
1317 <field name=
"Level 0 UB_PAD" size=
"4" start=
"248" type=
"uint"/>
1318 <field name=
"Output 32-bit" size=
"1" start=
"246" type=
"bool"/>
1319 <field name=
"Sample Number" size=
"2" start=
"244" type=
"uint"/>
1321 <field name=
"Base Level" size=
"4" start=
"240" type=
"uint"/>
1322 <field name=
"Fixed Bias" size=
"16" start=
"224" type=
"s8.8"/>
1323 <field name=
"Max Level-of-Detail" size=
"16" start=
"208" type=
"s8.8"/>
1324 <field name=
"Min Level-of-Detail" size=
"16" start=
"192" type=
"s8.8"/>
1326 <field name=
"Border Color alpha" size=
"16" start=
"176" type=
"uint"/>
1327 <field name=
"Border Color blue" size=
"16" start=
"160" type=
"uint"/>
1328 <field name=
"Border Color green" size=
"16" start=
"144" type=
"uint"/>
1329 <field name=
"Border Color red" size=
"16" start=
"128" type=
"uint"/>
1331 <field name=
"Flip S and T on incoming request" size=
"1" start=
"127" type=
"bool"/>
1332 <field name=
"Flip ETC Y" size=
"1" start=
"126" type=
"bool" default=
"1"/>
1333 <field name=
"Flip texture Y Axis" size=
"1" start=
"125" type=
"bool"/>
1334 <field name=
"Flip texture X Axis" size=
"1" start=
"124" type=
"bool"/>
1336 <field name=
"Swizzle A" size=
"3" start=
"121" type=
"uint">
1337 <value name=
"Swizzle Zero" value=
"0"/>
1338 <value name=
"Swizzle One" value=
"1"/>
1339 <value name=
"Swizzle Red" value=
"2"/>
1340 <value name=
"Swizzle Green" value=
"3"/>
1341 <value name=
"Swizzle Blue" value=
"4"/>
1342 <value name=
"Swizzle Alpha" value=
"5"/>
1345 <field name=
"Swizzle B" size=
"3" start=
"118" type=
"uint"/>
1346 <field name=
"Swizzle G" size=
"3" start=
"115" type=
"uint"/>
1347 <field name=
"Swizzle R" size=
"3" start=
"112" type=
"uint"/>
1349 <field name=
"Depth Compare Function" size=
"3" start=
"109" type=
"Compare Function"/>
1351 <field name=
"sRGB" size=
"1" start=
"107" type=
"bool"/>
1353 <field name=
"Texture type" size=
"7" start=
"100" type=
"uint"/>
1355 <field name=
"Image Depth" size=
"14" start=
"86" type=
"uint"/>
1356 <field name=
"Image Height" size=
"14" start=
"72" type=
"uint"/>
1357 <field name=
"Image Width" size=
"14" start=
"58" type=
"uint"/>
1359 <field name=
"Array Stride (64-byte aligned)" size=
"26" start=
"32" type=
"uint"/>
1361 <field name=
"Texture base pointer" size=
"30" start=
"2" type=
"address"/>
1363 <field name=
"Filter" size=
"4" start=
"0" type=
"TMU Filter"/>
1366 <struct name=
"Texture Shader State" min_ver=
"41">
1367 <field name=
"Pad" size=
"56" start=
"136" type=
"uint"/>
1368 <field name=
"UIF XOR disable" size=
"1" start=
"135" type=
"bool"/>
1369 <field name=
"Level 0 is strictly UIF" size=
"1" start=
"134" type=
"bool"/>
1370 <field name=
"Level 0 XOR enable" size=
"1" start=
"132" type=
"bool"/>
1371 <field name=
"Level 0 UB_PAD" size=
"4" start=
"128" type=
"uint"/>
1373 <field name=
"Base Level" size=
"4" start=
"124" type=
"uint"/>
1374 <field name=
"Max Level" size=
"4" start=
"120" type=
"uint"/>
1376 <field name=
"Swizzle A" size=
"3" start=
"117" type=
"uint">
1377 <value name=
"Swizzle Zero" value=
"0"/>
1378 <value name=
"Swizzle One" value=
"1"/>
1379 <value name=
"Swizzle Red" value=
"2"/>
1380 <value name=
"Swizzle Green" value=
"3"/>
1381 <value name=
"Swizzle Blue" value=
"4"/>
1382 <value name=
"Swizzle Alpha" value=
"5"/>
1385 <field name=
"Swizzle B" size=
"3" start=
"114" type=
"uint"/>
1386 <field name=
"Swizzle G" size=
"3" start=
"111" type=
"uint"/>
1387 <field name=
"Swizzle R" size=
"3" start=
"108" type=
"uint"/>
1388 <field name=
"Extended" size=
"1" start=
"107" type=
"bool"/>
1390 <field name=
"Texture type" size=
"7" start=
"100" type=
"uint"/>
1391 <field name=
"Image Depth" size=
"14" start=
"86" type=
"uint"/>
1392 <field name=
"Image Height" size=
"14" start=
"72" type=
"uint"/>
1393 <field name=
"Image Width" size=
"14" start=
"58" type=
"uint"/>
1395 <field name=
"Array Stride (64-byte aligned)" size=
"26" start=
"32" type=
"uint"/>
1397 <field name=
"Texture base pointer" size=
"32" start=
"0" type=
"address"/>
1399 <field name=
"Reverse Standard Border Colour" size=
"1" start=
"5" type=
"bool"/>
1400 <field name=
"AHDR" size=
"1" start=
"4" type=
"bool"/>
1401 <field name=
"sRGB" size=
"1" start=
"3" type=
"bool"/>
1402 <field name=
"Flip S and T on incoming request" size=
"1" start=
"2" type=
"bool"/>
1403 <field name=
"Flip texture Y Axis" size=
"1" start=
"1" type=
"bool"/>
1404 <field name=
"Flip texture X Axis" size=
"1" start=
"0" type=
"bool"/>
1407 <struct name=
"Sampler State" min_ver=
"41">
1408 <field name=
"Border colour Alpha" size=
"32" start=
"160" type=
"uint"/>
1409 <field name=
"Border colour Blue" size=
"32" start=
"128" type=
"uint"/>
1410 <field name=
"Border colour Green" size=
"32" start=
"96" type=
"uint"/>
1411 <field name=
"Border colour Red" size=
"32" start=
"64" type=
"uint"/>
1413 <field name=
"Maximum Anisotropy" size=
"2" start=
"61" type=
"uint"/>
1414 <field name=
"Border Colour Mode" size=
"3" start=
"58" type=
"Border Colour Mode"/>
1415 <field name=
"Wrap I Border" size=
"1" start=
"57" type=
"bool"/>
1416 <field name=
"Wrap R" size=
"3" start=
"54" type=
"Wrap Mode"/>
1417 <field name=
"Wrap T" size=
"3" start=
"51" type=
"Wrap Mode"/>
1418 <field name=
"Wrap S" size=
"3" start=
"48" type=
"Wrap Mode"/>
1420 <field name=
"Fixed Bias" size=
"16" start=
"32" type=
"s8.8"/>
1421 <field name=
"Max Level-of-Detail" size=
"12" start=
"20" type=
"u4.8"/>
1422 <field name=
"Min Level-of-Detail" size=
"12" start=
"8" type=
"u4.8"/>
1424 <field name=
"sRGB Disable" size=
"1" start=
"7" type=
"bool"/>
1426 <field name=
"Depth Compare Function" size=
"3" start=
"4" type=
"Compare Function"/>
1428 <field name=
"Anisotropy Enable" size=
"1" start=
"3" type=
"bool"/>
1429 <field name=
"Mip filter Nearest" size=
"1" start=
"2" type=
"bool"/>
1430 <field name=
"Min filter Nearest" size=
"1" start=
"1" type=
"bool"/>
1431 <field name=
"Mag filter Nearest" size=
"1" start=
"0" type=
"bool"/>
1434 <enum name=
"Texture Data Formats">
1436 most formats here have R in the low bits, A in the high bits.
1439 <value name=
"Texture Data Format R8" value=
"0"/>
1440 <value name=
"Texture Data Format R8 SNORM" value=
"1"/>
1441 <value name=
"Texture Data Format RG8" value=
"2"/>
1442 <value name=
"Texture Data Format RG8 SNORM" value=
"3"/>
1443 <value name=
"Texture Data Format RGBA8" value=
"4"/>
1444 <value name=
"Texture Data Format RGBA8 SNORM" value=
"5"/>
1445 <value name=
"Texture Data Format RGB565" value=
"6"/> <!-- B in low bits -->
1446 <value name=
"Texture Data Format RGBA4" value=
"7"/> <!-- A low, R high -->
1447 <value name=
"Texture Data Format RGB5_A1" value=
"8"/> <!-- A low, R high -->
1448 <value name=
"Texture Data Format RGB10_A2" value=
"9"/> <!-- R low, A high -->
1449 <value name=
"Texture Data Format R16" value=
"10"/>
1450 <value name=
"Texture Data Format R16 SNORM" value=
"11"/>
1451 <value name=
"Texture Data Format RG16" value=
"12"/>
1452 <value name=
"Texture Data Format RG16 SNORM" value=
"13"/>
1453 <value name=
"Texture Data Format RGBA16" value=
"14"/>
1454 <value name=
"Texture Data Format RGBA16 SNORM" value=
"15"/>
1455 <value name=
"Texture Data Format R16F" value=
"16"/>
1456 <value name=
"Texture Data Format RG16F" value=
"17"/>
1457 <value name=
"Texture Data Format RGBA16F" value=
"18"/>
1458 <value name=
"Texture Data Format R11F_G11F_B10F" value=
"19"/>
1459 <value name=
"Texture Data Format RGB9_E5" value=
"20"/>
1460 <value name=
"Texture Data Format DEPTH COMP16" value=
"21"/>
1461 <value name=
"Texture Data Format DEPTH COMP24" value=
"22"/>
1462 <value name=
"Texture Data Format DEPTH COMP32F" value=
"23"/>
1463 <value name=
"Texture Data Format DEPTH24_X8" value=
"24"/> <!-- X low, D high -->
1464 <value name=
"Texture Data Format R4" value=
"25"/>
1465 <value name=
"Texture Data Format R1" value=
"26"/>
1466 <!-- generic unfiltered 8-bit sample -->
1467 <value name=
"Texture Data Format S8" value=
"27"/>
1468 <!-- generic unfiltered 16-bit sample -->
1469 <value name=
"Texture Data Format S16" value=
"28"/>
1470 <!-- generic unfiltered 32-bit sample -->
1471 <value name=
"Texture Data Format R32F" value=
"29"/>
1472 <!-- generic unfiltered 64-bit sample -->
1473 <value name=
"Texture Data Format RG32F" value=
"30"/>
1474 <!-- generic unfiltered 128-bit sample -->
1475 <value name=
"Texture Data Format RGBA32F" value=
"31"/>
1477 <value name=
"Texture Data Format RGB8_ETC2" value=
"32"/>
1478 <value name=
"Texture Data Format RGB8_PUNCHTHROUGH_ALPHA1" value=
"33"/>
1480 <value name=
"Texture Data Format R11_EAC" value=
"34"/>
1481 <value name=
"Texture Data Format SIGNED_R11_EAC" value=
"35"/>
1482 <value name=
"Texture Data Format RG11_EAC" value=
"36"/>
1483 <value name=
"Texture Data Format SIGNED_RG11_EAC" value=
"37"/>
1485 <value name=
"Texture Data Format RGBA8_ETC2_EAC" value=
"38"/>
1486 <value name=
"Texture Data Format YCBCR_LUMA" value=
"39"/>
1487 <value name=
"Texture Data Format YCBCR_420_CHROMA" value=
"40"/>
1489 <value name=
"Texture Data Format BC1" value=
"48"/>
1490 <value name=
"Texture Data Format BC2" value=
"49"/>
1491 <value name=
"Texture Data Format BC3" value=
"50"/>
1493 <value name=
"Texture Data Format ASTC_4x4" value=
"64"/>
1494 <value name=
"Texture Data Format ASTC_5x4" value=
"65"/>
1495 <value name=
"Texture Data Format ASTC_5x5" value=
"66"/>
1496 <value name=
"Texture Data Format ASTC_6x5" value=
"67"/>
1497 <value name=
"Texture Data Format ASTC_6x6" value=
"68"/>
1498 <value name=
"Texture Data Format ASTC_8x5" value=
"69"/>
1499 <value name=
"Texture Data Format ASTC_8x6" value=
"70"/>
1500 <value name=
"Texture Data Format ASTC_8x8" value=
"71"/>
1501 <value name=
"Texture Data Format ASTC_10x5" value=
"72"/>
1502 <value name=
"Texture Data Format ASTC_10x6" value=
"73"/>
1503 <value name=
"Texture Data Format ASTC_10x8" value=
"74"/>
1504 <value name=
"Texture Data Format ASTC_10x10" value=
"75"/>
1505 <value name=
"Texture Data Format ASTC_12x10" value=
"76"/>
1506 <value name=
"Texture Data Format ASTC_12x12" value=
"77"/>
1508 <value name=
"Texture Data Format R8I" value=
"96"/>
1509 <value name=
"Texture Data Format R8UI" value=
"97"/>
1510 <value name=
"Texture Data Format RG8I" value=
"98"/>
1511 <value name=
"Texture Data Format RG8UI" value=
"99"/>
1512 <value name=
"Texture Data Format RGBA8I" value=
"100"/>
1513 <value name=
"Texture Data Format RGBA8UI" value=
"101"/>
1515 <value name=
"Texture Data Format R16I" value=
"102"/>
1516 <value name=
"Texture Data Format R16UI" value=
"103"/>
1517 <value name=
"Texture Data Format RG16I" value=
"104"/>
1518 <value name=
"Texture Data Format RG16UI" value=
"105"/>
1519 <value name=
"Texture Data Format RGBA16I" value=
"106"/>
1520 <value name=
"Texture Data Format RGBA16UI" value=
"107"/>
1522 <value name=
"Texture Data Format R32I" value=
"108"/>
1523 <value name=
"Texture Data Format R32UI" value=
"109"/>
1524 <value name=
"Texture Data Format RG32I" value=
"110"/>
1525 <value name=
"Texture Data Format RG32UI" value=
"111"/>
1526 <value name=
"Texture Data Format RGBA32I" value=
"112"/>
1527 <value name=
"Texture Data Format RGBA32UI" value=
"113"/>
1528 <value name=
"Texture Data Format RGB10_A2UI" value=
"114"/>