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=
"Border Colour Mode" prefix=
"V3D_BORDER_COLOUR">
73 <value name=
"0000" value=
"0"/>
74 <value name=
"0001" value=
"1"/>
75 <value name=
"1111" value=
"2"/>
76 <value name=
"Follows" value=
"7"/>
79 <enum name=
"Wrap Mode" prefix=
"V3D_WRAP_MODE">
80 <value name=
"Wrap mode REPEAT" value=
"0"/>
81 <value name=
"Wrap mode CLAMP" value=
"1"/>
82 <value name=
"Wrap mode MIRROR" value=
"2"/>
83 <value name=
"Wrap mode BORDER" value=
"3"/>
84 <value name=
"Wrap mode MIRROR_ONCE" value=
"4"/>
87 <enum name=
"TMU Op" prefix=
"V3D_TMU_OP">
88 <value name=
"Write ADD, Read Prefetch" value=
"0"/>
89 <value name=
"Write SUB, Read Clear" value=
"1"/>
90 <value name=
"Write XCHG, Read Flush" value=
"2"/>
91 <value name=
"Write CMPXCHG, Read Flush" value=
"3"/>
92 <value name=
"Write UMIN, Full L1 Clear" value=
"4"/>
93 <value name=
"Write UMAX" value=
"5"/>
94 <value name=
"Write SMIN" value=
"6"/>
95 <value name=
"Write SMAX" value=
"7"/>
96 <value name=
"Write AND, Read INC" value=
"8"/>
97 <value name=
"Write OR, Read DEC" value=
"9"/>
98 <value name=
"Write XOR, Read NOT" value=
"10"/>
99 <value name=
"Regular" value=
"15"/>
102 <enum name=
"Varying Flags Action" prefix=
"V3D_VARYING_FLAGS_ACTION">
103 <value name=
"unchanged" value=
"0"/>
104 <value name=
"zeroed" value=
"1"/>
105 <value name=
"set" value=
"2"/>
108 <enum name=
"Memory Format" prefix=
"V3D_MEMORY_FORMAT">
109 <value name=
"Raster" value=
"0"/>
110 <value name=
"Lineartile" value=
"1"/>
111 <value name=
"UB-linear (1 UIF block wide)" value=
"2"/>
112 <value name=
"UB-linear (2 UIF blocks wide)" value=
"3"/>
113 <value name=
"UIF (No XOR)" value=
"4"/>
114 <value name=
"UIF (XOR)" value=
"5"/>
117 <enum name=
"Decimate Mode" prefix=
"V3D_DECIMATE_MODE">
118 <value name=
"sample 0" value=
"0"/>
119 <value name=
"4x" value=
"1"/>
120 <value name=
"16x" value=
"2"/>
121 <value name=
"all samples" value=
"3"/>
124 <enum name=
"Internal Type" prefix=
"V3D_INTERNAL_TYPE">
125 <value name=
"8i" value=
"0"/>
126 <value name=
"8ui" value=
"1"/>
127 <value name=
"8" value=
"2"/>
128 <value name=
"16i" value=
"4"/>
129 <value name=
"16ui" value=
"5"/>
130 <value name=
"16f" value=
"6"/>
131 <value name=
"32i" value=
"8"/>
132 <value name=
"32ui" value=
"9"/>
133 <value name=
"32f" value=
"10"/>
136 <enum name=
"Internal BPP" prefix=
"V3D_INTERNAL_BPP">
137 <value name=
"32" value=
"0"/>
138 <value name=
"64" value=
"1"/>
139 <value name=
"128" value=
"2"/>
142 <enum name=
"Internal Depth Type" prefix=
"V3D_INTERNAL_TYPE">
143 <value name=
"depth_32f" value=
"0"/>
144 <value name=
"depth_24" value=
"1"/>
145 <value name=
"depth_16" value=
"2"/>
148 <enum name=
"Render Target Clamp" prefix=
"V3D_RENDER_TARGET_CLAMP">
149 <value name=
"none" value=
"0"/> <!-- no clamping -->
150 <value name=
"norm" value=
"1"/> <!-- [0,1] for f16 -->
151 <value name=
"pos" value=
"2"/> <!-- [0, for f16 -->
152 <value name=
"int" value=
"3"/> <!-- clamp to integer RT's range -->
155 <enum name=
"Output Image Format" prefix=
"V3D_OUTPUT_IMAGE_FORMAT">
157 Formats appear with their channels named from the low bits to
160 <value name=
"srgb8_alpha8" value=
"0"/>
161 <value name=
"srgb" value=
"1"/>
162 <value name=
"rgb10_a2ui" value=
"2"/>
163 <value name=
"rgb10_a2" value=
"3"/>
164 <value name=
"abgr1555" value=
"4"/>
165 <value name=
"alpha-masked abgr1555" value=
"5"/>
166 <value name=
"abgr4444" value=
"6"/>
167 <value name=
"bgr565" value=
"7"/>
168 <value name=
"r11f_g11f_b10f" value=
"8"/>
169 <value name=
"rgba32f" value=
"9"/>
170 <value name=
"rg32f" value=
"10"/>
171 <value name=
"r32f" value=
"11"/>
172 <value name=
"rgba32i" value=
"12"/>
173 <value name=
"rg32i" value=
"13"/>
174 <value name=
"r32i" value=
"14"/>
175 <value name=
"rgba32ui" value=
"15"/>
176 <value name=
"rg32ui" value=
"16"/>
177 <value name=
"r32ui" value=
"17"/>
178 <value name=
"rgba16f" value=
"18"/>
179 <value name=
"rg16f" value=
"19"/>
180 <value name=
"r16f" value=
"20"/>
181 <value name=
"rgba16i" value=
"21"/>
182 <value name=
"rg16i" value=
"22"/>
183 <value name=
"r16i" value=
"23"/>
184 <value name=
"rgba16ui" value=
"24"/>
185 <value name=
"rg16ui" value=
"25"/>
186 <value name=
"r16ui" value=
"26"/>
187 <value name=
"rgba8" value=
"27"/>
188 <value name=
"rgb8" value=
"28"/>
189 <value name=
"rg8" value=
"29"/>
190 <value name=
"r8" value=
"30"/>
191 <value name=
"rgba8i" value=
"31"/>
192 <value name=
"rg8i" value=
"32"/>
193 <value name=
"r8i" value=
"33"/>
194 <value name=
"rgba8ui" value=
"34"/>
195 <value name=
"rg8ui" value=
"35"/>
196 <value name=
"r8ui" value=
"36"/>
197 <!-- rgbx8/srgbx8 were removed -->
198 <value name=
"bstc" value=
"39"/>
199 <value name=
"d32f" value=
"40"/>
200 <value name=
"d24" value=
"41"/>
201 <value name=
"d16" value=
"42"/>
202 <value name=
"d24s8" value=
"43"/>
203 <value name=
"s8" value=
"44"/>
206 <packet code=
"0" name=
"Halt"/>
207 <packet code=
"1" name=
"NOP"/>
208 <packet code=
"4" name=
"Flush"/>
209 <packet code=
"5" name=
"Flush All State"/>
210 <packet code=
"6" name=
"Start Tile Binning"/>
211 <packet code=
"7" name=
"Increment Semaphore"/>
212 <packet code=
"8" name=
"Wait on Semaphore"/>
213 <packet code=
"9" name=
"Wait for previous frame"/>
214 <packet code=
"10" name=
"Enable Z-only rendering" cl=
"R"/>
215 <packet code=
"11" name=
"Disable Z-only rendering" cl=
"R"/>
216 <packet code=
"12" name=
"End of Z-only rendering in frame"/>
217 <packet code=
"13" name=
"End of rendering"/>
219 <packet code=
"14" name=
"Wait for transform feedback" cl=
"B">
220 <field name=
"Block count" size=
"8" start=
"0" type=
"uint"/>
223 <packet code=
"15" name=
"Branch to auto-chained sub-list">
224 <field name=
"address" size=
"32" start=
"0" type=
"address"/>
227 <packet code=
"16" name=
"Branch">
228 <field name=
"address" size=
"32" start=
"0" type=
"address"/>
231 <packet code=
"17" name=
"Branch to Sub-list">
232 <field name=
"address" size=
"32" start=
"0" type=
"address"/>
235 <packet code=
"18" name=
"Return from sub-list"/>
236 <packet code=
"19" name=
"Flush VCD cache"/>
238 <packet code=
"20" name=
"Start Address of Generic Tile List">
239 <field name=
"start" size=
"32" start=
"0" type=
"address"/>
240 <field name=
"end" size=
"32" start=
"32" type=
"address"/>
243 <packet code=
"21" name=
"Branch to Implicit Tile List">
244 <field name=
"tile list set number" size=
"8" start=
"0" type=
"uint"/>
247 <packet code=
"22" name=
"Branch to Explicit Supertile">
248 <field name=
"Absolute address of explicit supertile render list" size=
"32" start=
"24" type=
"address"/>
249 <field name=
"explicit supertile number" size=
"8" start=
"16" type=
"uint"/>
250 <field name=
"row number" size=
"8" start=
"8" type=
"uint"/>
251 <field name=
"column number" size=
"8" start=
"0" type=
"uint"/>
254 <packet code=
"23" name=
"Supertile Coordinates">
255 <field name=
"row number in supertiles" size=
"8" start=
"8" type=
"uint"/>
256 <field name=
"column number in supertiles" size=
"8" start=
"0" type=
"uint"/>
259 <packet code=
"25" name=
"Clear Tile Buffers" cl=
"R">
260 <field name=
"Clear Z/Stencil Buffer" size=
"1" start=
"1" type=
"bool"/>
261 <field name=
"Clear all Render Targets" size=
"1" start=
"0" type=
"bool"/>
264 <packet code=
"26" name=
"End of Loads" cl=
"R"/>
265 <packet code=
"27" name=
"End of Tile Marker" cl=
"R"/>
267 <packet code=
"29" name=
"Store Tile Buffer General" cl=
"R">
268 <field name=
"Address" size=
"32" start=
"64" type=
"address"/>
270 <!-- used for y flip -->
271 <field name=
"Height" size=
"16" start=
"48" type=
"uint"/>
273 <!-- height in ub for UIF, byte stride for raster -->
274 <field name=
"Height in UB or Stride" size=
"20" start=
"28" type=
"uint"/>
276 <field name=
"R/B swap" size=
"1" start=
"20" type=
"bool"/>
277 <field name=
"Channel Reverse" size=
"1" start=
"19" type=
"bool"/>
278 <field name=
"Clear buffer being stored" size=
"1" start=
"18" type=
"bool"/>
279 <field name=
"Output Image Format" size=
"6" start=
"12" type=
"Output Image Format"/>
281 <field name=
"Decimate mode" size=
"2" start=
"10" type=
"Decimate Mode"/>
283 <field name=
"A dithered" size=
"1" start=
"9" type=
"bool"/>
284 <field name=
"BGR dithered" size=
"1" start=
"8" type=
"bool"/>
286 <field name=
"Flip Y" size=
"1" start=
"7" type=
"bool"/>
288 <field name=
"Memory Format" size=
"3" start=
"4" type=
"Memory Format"/>
289 <field name=
"Buffer to Store" size=
"4" start=
"0" type=
"uint">
290 <value name=
"Render target 0" value=
"0"/>
291 <value name=
"Render target 1" value=
"1"/>
292 <value name=
"Render target 2" value=
"2"/>
293 <value name=
"Render target 3" value=
"3"/>
294 <value name=
"None" value=
"8"/>
295 <value name=
"Z" value=
"9"/>
296 <value name=
"Stencil" value=
"10"/>
297 <value name=
"Z+Stencil" value=
"11"/>
301 <packet code=
"30" name=
"Load Tile Buffer General" cl=
"R">
302 <field name=
"Address" size=
"32" start=
"64" type=
"address"/>
304 <!-- used for y flip -->
305 <field name=
"Height" size=
"16" start=
"48" type=
"uint"/>
307 <!-- height in ub for UIF, byte stride for raster -->
308 <field name=
"Height in UB or Stride" size=
"20" start=
"28" type=
"uint"/>
310 <field name=
"R/B swap" size=
"1" start=
"20" type=
"bool"/>
311 <field name=
"Channel Reverse" size=
"1" start=
"19" type=
"bool"/>
313 <field name=
"Input Image Format" size=
"6" start=
"12" type=
"Output Image Format"/>
315 <field name=
"Decimate mode" size=
"2" start=
"10" type=
"Decimate Mode"/>
317 <field name=
"Flip Y" size=
"1" start=
"7" type=
"bool"/>
319 <field name=
"Memory Format" size=
"3" start=
"4" type=
"Memory Format"/>
320 <field name=
"Buffer to Load" size=
"4" start=
"0" type=
"uint">
321 <value name=
"Render target 0" value=
"0"/>
322 <value name=
"Render target 1" value=
"1"/>
323 <value name=
"Render target 2" value=
"2"/>
324 <value name=
"Render target 3" value=
"3"/>
325 <value name=
"None" value=
"8"/>
326 <value name=
"Z" value=
"9"/>
327 <value name=
"Stencil" value=
"10"/>
328 <value name=
"Z+Stencil" value=
"11"/>
332 <packet code=
"32" name=
"Indexed Primitive List" cl=
"B">
333 <field name=
"Index Offset" size=
"32" start=
"40" type=
"uint"/>
335 <field name=
"Enable Primitive Restarts" size=
"1" start=
"39" type=
"bool"/>
336 <field name=
"Length" size=
"31" start=
"8" type=
"uint"/>
338 <field name=
"Index type" size=
"2" start=
"6" type=
"uint">
339 <value name=
"Index type 8-bit" value=
"0"/>
340 <value name=
"Index type 16-bit" value=
"1"/>
341 <value name=
"Index type 32-bit" value=
"2"/>
344 <field name=
"mode" size=
"6" start=
"0" type=
"Primitive"/>
347 <packet code=
"34" name=
"Indexed Instanced Primitive List" cl=
"B">
348 <field name=
"Index Offset" size=
"32" start=
"72" type=
"uint"/>
349 <field name=
"Number of Instances" size=
"32" start=
"40" type=
"uint"/>
350 <field name=
"Enable Primitive Restarts" size=
"1" start=
"39" type=
"bool"/>
351 <field name=
"Instance Length" size=
"31" start=
"8" type=
"uint"/>
353 <field name=
"Index type" size=
"2" start=
"6" type=
"uint">
354 <value name=
"Index type 8-bit" value=
"0"/>
355 <value name=
"Index type 16-bit" value=
"1"/>
356 <value name=
"Index type 32-bit" value=
"2"/>
359 <field name=
"mode" size=
"6" start=
"0" type=
"Primitive"/>
362 <packet code=
"36" name=
"Vertex Array Primitives" cl=
"B">
363 <field name=
"Index of First Vertex" size=
"32" start=
"40" type=
"uint"/>
364 <field name=
"Length" size=
"32" start=
"8" type=
"uint"/>
366 <field name=
"mode" size=
"8" start=
"0" type=
"Primitive"/>
369 <packet code=
"38" name=
"Vertex Array Instanced Primitives" cl=
"B">
370 <field name=
"Index of First Vertex" size=
"32" start=
"72" type=
"uint"/>
371 <field name=
"Number of Instances" size=
"32" start=
"40" type=
"uint"/>
372 <field name=
"Instance Length" size=
"32" start=
"8" type=
"uint"/>
374 <field name=
"mode" size=
"8" start=
"0" type=
"Primitive"/>
377 <packet code=
"43" name=
"Base Vertex Base Instance" cl=
"B">
378 <field name=
"Base Instance" size=
"32" start=
"32" type=
"uint"/>
380 <field name=
"Base Vertex" size=
"32" start=
"0" type=
"uint"/>
383 <packet code=
"44" name=
"Index Buffer Setup" cl=
"B">
384 <field name=
"Address" size=
"32" start=
"0" type=
"address"/>
385 <field name=
"Size" size=
"32" start=
"32" type=
"uint"/>
388 <packet code=
"56" name=
"Primitive List Format">
389 <field name=
"data type" size=
"1" start=
"6" type=
"uint">
390 <value name=
"List Indexed" value=
"0"/>
391 <value name=
"List 32-bit X/Y" value=
"1"/>
393 <field name=
"primitive type" size=
"6" start=
"0" type=
"uint">
394 <value name=
"List Points" value=
"0"/>
395 <value name=
"List Lines" value=
"1"/>
396 <value name=
"List Triangles" value=
"2"/>
400 <packet code=
"64" name=
"GL Shader State">
401 <field name=
"address" size=
"27" start=
"5" type=
"address"/>
402 <field name=
"number of attribute arrays" size=
"5" start=
"0" type=
"uint"/>
405 <packet code=
"73" name=
"Transform Feedback Buffer">
406 <field name=
"Buffer Address" size=
"32" start=
"32" type=
"address"/>
407 <field name=
"Buffer Size in 32-bit words" size=
"30" start=
"2" type=
"uint"/>
408 <field name=
"Buffer Number" size=
"2" start=
"0" type=
"uint"/>
411 <packet code=
"74" name=
"Transform Feedback Specs">
412 <field name=
"Enable" size=
"1" start=
"7" type=
"bool"/>
413 <field name=
"Number of 16-bit Output Data Specs following" size=
"5" start=
"0" type=
"uint"/>
416 <packet code=
"75" name=
"Flush Transform Feedback Data"/>
418 <struct name=
"Transform Feedback Output Data Spec">
419 <field name=
"First Shaded Vertex Value to output" size=
"8" start=
"0" type=
"uint"/>
420 <field name=
"Number of consecutive Vertex Values to output as 32-bit values minus 1" size=
"4" start=
"8" type=
"uint"/>
421 <field name=
"Output Buffer to write to" size=
"2" start=
"12" type=
"uint"/>
424 <struct name=
"Transform Feedback Output Address">
425 <field name=
"address" size=
"32" start=
"0" type=
"address"/>
428 <packet code=
"80" name=
"Stencil Config">
429 <field name=
"Stencil Write Mask" size=
"8" start=
"32" type=
"uint"/>
430 <field name=
"Back Config" size=
"1" start=
"29" type=
"bool"/>
431 <field name=
"Front Config" size=
"1" start=
"28" type=
"bool"/>
432 <field name=
"Stencil Pass Op" size=
"3" start=
"25" type=
"Stencil Op"/>
433 <field name=
"Depth Test Fail Op" size=
"3" start=
"22" type=
"Stencil Op"/>
434 <field name=
"Stencil Test Fail Op" size=
"3" start=
"19" type=
"Stencil Op"/>
435 <field name=
"Stencil Test Function" size=
"3" start=
"16" type=
"Compare Function"/>
436 <field name=
"Stencil Test Mask" size=
"8" start=
"8" type=
"uint"/>
437 <field name=
"Stencil Ref Value" size=
"8" start=
"0" type=
"uint"/>
440 <packet code=
"83" name=
"Blend Enables">
441 <field name=
"Mask" size=
"8" start=
"0" type=
"uint"/>
444 <packet code=
"84" name=
"Blend Config">
445 <field name=
"VG Coverage Modes" size=
"2" start=
"28" type=
"uint"/>
446 <field name=
"Render Target Mask" size=
"4" start=
"24" type=
"uint"/>
447 <field name=
"Colour blend dst factor" size=
"4" start=
"20" type=
"Blend Factor"/>
448 <field name=
"Colour blend src factor" size=
"4" start=
"16" type=
"Blend Factor"/>
449 <field name=
"Colour blend mode" size=
"4" start=
"12" type=
"Blend Mode"/>
450 <field name=
"Alpha blend dst factor" size=
"4" start=
"8" type=
"Blend Factor"/>
451 <field name=
"Alpha blend src factor" size=
"4" start=
"4" type=
"Blend Factor"/>
452 <field name=
"Alpha blend mode" size=
"4" start=
"0" type=
"Blend Mode"/>
455 <packet code=
"86" name=
"Blend Constant Colour">
456 <field name=
"Alpha (F16)" size=
"16" start=
"48" type=
"uint"/>
457 <field name=
"Blue (F16)" size=
"16" start=
"32" type=
"uint"/>
458 <field name=
"Green (F16)" size=
"16" start=
"16" type=
"uint"/>
459 <field name=
"Red (F16)" size=
"16" start=
"0" type=
"uint"/>
462 <packet code=
"87" name=
"Colour Write Masks">
463 <field name=
"Reserved" size=
"16" start=
"16" type=
"uint"/>
464 <field name=
"Render Target 3 per colour component write masks" size=
"4" start=
"12" type=
"uint"/>
465 <field name=
"Render Target 2 per colour component write masks" size=
"4" start=
"8" type=
"uint"/>
466 <field name=
"Render Target 1 per colour component write masks" size=
"4" start=
"4" type=
"uint"/>
467 <field name=
"Render Target 0 per colour component write masks" size=
"4" start=
"0" type=
"uint"/>
470 <packet code=
"88" name=
"Zero All Centroid Flags"/>
472 <packet code=
"89" name=
"Centroid Flags">
473 <field name=
"Centroid Flags for varyings V0*24" size=
"24" start=
"8" type=
"uint"/>
474 <field name=
"Action for Centroid Flags of higher numbered varyings" size=
"2" start=
"6" type=
"Varying Flags Action"/>
475 <field name=
"Action for Centroid Flags of lower numbered varyings" size=
"2" start=
"4" type=
"Varying Flags Action"/>
476 <field name=
"Varying offset V0" size=
"4" start=
"0" type=
"uint"/>
479 <packet code=
"91" name=
"Sample State">
480 <field name=
"Coverage" size=
"16" start=
"16" type=
"uint"/> <!-- float-1-8-7 -->
481 <field name=
"Mask" size=
"4" start=
"0" type=
"uint"/>
484 <packet code=
"92" name=
"Occlusion Query Counter">
485 <field name=
"address" size=
"32" start=
"0" type=
"address"/>
488 <packet code=
"96" name=
"Configuration Bits">
489 <field name=
"Direct3D Provoking Vertex" size=
"1" start=
"21" type=
"bool"/>
490 <field name=
"Direct3D 'Point-fill' mode" size=
"1" start=
"20" type=
"bool"/>
491 <field name=
"Blend enable" size=
"1" start=
"19" type=
"bool"/>
492 <field name=
"Stencil enable" size=
"1" start=
"18" type=
"bool"/>
493 <field name=
"Early Z updates enable" size=
"1" start=
"17" type=
"bool"/>
494 <field name=
"Early Z enable" size=
"1" start=
"16" type=
"bool"/>
495 <field name=
"Z updates enable" size=
"1" start=
"15" type=
"bool"/>
496 <field name=
"Depth-Test Function" size=
"3" start=
"12" type=
"Compare Function"/>
497 <field name=
"Direct3D Wireframe triangles mode" size=
"1" start=
"11" type=
"bool"/>
498 <field name=
"Coverage Update Mode" size=
"2" start=
"9" type=
"uint"/>
499 <field name=
"Coverage Pipe Select" size=
"1" start=
"8" type=
"bool"/>
500 <field name=
"Rasterizer Oversample Mode" size=
"2" start=
"6" type=
"uint"/>
501 <field name=
"Line Rasterization" size=
"2" start=
"4" type=
"uint"/>
502 <field name=
"Enable Depth Offset" size=
"1" start=
"3" type=
"bool"/>
503 <field name=
"Clockwise Primitives" size=
"1" start=
"2" type=
"bool"/>
504 <field name=
"Enable Reverse Facing Primitive" size=
"1" start=
"1" type=
"bool"/>
505 <field name=
"Enable Forward Facing Primitive" size=
"1" start=
"0" type=
"bool"/>
508 <packet code=
"97" name=
"Zero All Flat Shade Flags"/>
510 <packet code=
"98" name=
"Flat Shade Flags">
511 <field name=
"Flat Shade Flags for varyings V0*24" size=
"24" start=
"8" type=
"uint"/>
512 <field name=
"Action for Flat Shade Flags of higher numbered varyings" size=
"2" start=
"6" type=
"Varying Flags Action"/>
513 <field name=
"Action for Flat Shade Flags of lower numbered varyings" size=
"2" start=
"4" type=
"Varying Flags Action"/>
514 <field name=
"Varying offset V0" size=
"4" start=
"0" type=
"uint"/>
517 <packet code=
"99" name=
"Zero All Non-perspective Flags"/>
519 <packet code=
"100" name=
"Non-perspective Flags">
520 <field name=
"Non-perspective Flags for varyings V0*24" size=
"24" start=
"8" type=
"uint"/>
521 <field name=
"Action for Non-perspective Flags of higher numbered varyings" size=
"2" start=
"6" type=
"Varying Flags Action"/>
522 <field name=
"Action for Non-perspectivey Flags of lower numbered varyings" size=
"2" start=
"4" type=
"Varying Flags Action"/>
523 <field name=
"Varying offset V0" size=
"4" start=
"0" type=
"uint"/>
526 <packet code=
"104" name=
"Point size">
527 <field name=
"Point Size" size=
"32" start=
"0" type=
"float"/>
530 <packet code=
"105" name=
"Line width">
531 <field name=
"Line width" size=
"32" start=
"0" type=
"float"/>
534 <packet name=
"Depth Offset" code=
"106">
535 <field name=
"Limit" size=
"32" start=
"32" type=
"float"/>
536 <!-- these fields are both float-1-8-7 encoded (top 16 bits of a float32) -->
537 <field name=
"Depth Offset Units" size=
"16" start=
"16" type=
"uint"/>
538 <field name=
"Depth Offset Factor" size=
"16" start=
"0" type=
"uint"/>
541 <packet name=
"Clip Window" code=
"107">
542 <field name=
"Clip Window Height in pixels" size=
"16" start=
"48" type=
"uint"/>
543 <field name=
"Clip Window Width in pixels" size=
"16" start=
"32" type=
"uint"/>
544 <field name=
"Clip Window Bottom Pixel Coordinate" size=
"16" start=
"16" type=
"uint"/>
545 <field name=
"Clip Window Left Pixel Coordinate" size=
"16" start=
"0" type=
"uint"/>
548 <packet name=
"Viewport Offset" code=
"108">
549 <field name=
"Coarse Y" size=
"10" start=
"54" type=
"uint"/>
550 <field name=
"Viewport Centre Y-coordinate" size=
"22" start=
"32" type=
"s14.8"/>
551 <field name=
"Coarse X" size=
"10" start=
"22" type=
"uint"/>
552 <field name=
"Viewport Centre X-coordinate" size=
"22" start=
"0" type=
"s14.8"/>
555 <packet name=
"Clipper Z min/max clipping planes" code=
"109">
556 <field name=
"Maximum Zw" size=
"32" start=
"32" type=
"float"/>
557 <field name=
"Minimum Zw" size=
"32" start=
"0" type=
"float"/>
560 <packet name=
"Clipper XY Scaling" code=
"110" cl=
"B">
561 <field name=
"Viewport Half-Height in 1/256th of pixel" size=
"32" start=
"32" type=
"float"/>
562 <field name=
"Viewport Half-Width in 1/256th of pixel" size=
"32" start=
"0" type=
"float"/>
565 <packet name=
"Clipper Z Scale and Offset" code=
"111" cl=
"B">
566 <field name=
"Viewport Z Offset (Zc to Zs)" size=
"32" start=
"32" type=
"float"/>
567 <field name=
"Viewport Z Scale (Zc to Zs)" size=
"32" start=
"0" type=
"float"/>
570 <packet name=
"Number of Layers" code=
"119">
571 <field name=
"Number of Layers Minus 1" size=
"8" start=
"0" type=
"uint"/>
574 <packet code=
"120" name=
"Tile Binning Mode Configuration (Part1)">
576 <field name=
"Height (in pixels minus 1)" size=
"12" start=
"48" type=
"uint"/>
577 <field name=
"Width (in pixels minus 1)" size=
"12" start=
"32" type=
"uint"/>
579 <field name=
"Double-buffer in non-ms mode" size=
"1" start=
"15" type=
"bool"/>
580 <field name=
"Multisample Mode (4x)" size=
"1" start=
"14" type=
"bool"/>
582 <field name=
"Maximum BPP of all render targets" size=
"2" start=
"12" type=
"uint">
583 <value name=
"Render target maximum 32bpp" value=
"0"/>
584 <value name=
"Render target maximum 64bpp" value=
"1"/>
585 <value name=
"Render target maximum 128bpp" value=
"2"/>
588 <field name=
"Number of Render Targets minus 1" size=
"4" start=
"8" type=
"uint"/>
590 <field name=
"tile allocation block size" size=
"2" start=
"4" type=
"uint">
591 <value name=
"tile allocation block size 64b" value=
"0"/>
592 <value name=
"tile allocation block size 128b" value=
"1"/>
593 <value name=
"tile allocation block size 256b" value=
"2"/>
595 <field name=
"tile allocation initial block size" size=
"2" start=
"2" type=
"uint">
596 <value name=
"tile allocation initial block size 64b" value=
"0"/>
597 <value name=
"tile allocation initial block size 128b" value=
"1"/>
598 <value name=
"tile allocation initial block size 256b" value=
"2"/>
602 <packet code=
"121" name=
"Tile Rendering Mode Configuration (Common Configuration)" cl=
"R">
603 <field name=
"Pad" size=
"12" start=
"52" type=
"uint"/>
605 <field name=
"Early Depth/Stencil Clear" size=
"1" start=
"51" type=
"bool"/>
606 <field name=
"Internal Depth Type" size=
"4" start=
"47" type=
"Internal Depth Type"/>
608 <field name=
"Early-Z disable" size=
"1" start=
"46" type=
"bool"/>
610 <field name=
"Early-Z Test and Update Direction" size=
"1" start=
"45" type=
"uint">
611 <value name=
"Early-Z direction LT/LE" value=
"0"/>
612 <value name=
"Early-Z direction GT/GE" value=
"1"/>
615 <field name=
"Select Coverage Mode" size=
"1" start=
"44" type=
"bool"/>
616 <field name=
"Double-buffer in non-ms mode" size=
"1" start=
"43" type=
"bool"/>
617 <field name=
"Multisample Mode (4x)" size=
"1" start=
"42" type=
"bool"/>
619 <field name=
"Maximum BPP of all render targets" size=
"2" start=
"40" type=
"Internal BPP"/>
621 <field name=
"Image Height (pixels)" size=
"16" start=
"24" type=
"uint"/>
622 <field name=
"Image Width (pixels)" size=
"16" start=
"8" type=
"uint"/>
623 <field name=
"Number of Render Targets Minus 1" size=
"4" start=
"4" type=
"uint"/>
625 <field name=
"sub-id" size=
"4" start=
"0" type=
"uint" default=
"0"/>
628 <packet code=
"121" name=
"Tile Rendering Mode Configuration (Render Target config)" cl=
"R">
630 <field name=
"Pad" size=
"28" start=
"34" type=
"uint"/>
632 <field name=
"Render Target 3 Clamp" size=
"2" start=
"32" type=
"Render Target Clamp"/>
633 <field name=
"Render Target 3 Internal Type" size=
"4" start=
"30" type=
"Internal Type"/>
634 <field name=
"Render Target 3 Internal BPP" size=
"2" start=
"28" type=
"Internal BPP"/>
636 <field name=
"Render Target 2 Clamp" size=
"2" start=
"26" type=
"Render Target Clamp"/>
637 <field name=
"Render Target 2 Internal Type" size=
"4" start=
"22" type=
"Internal Type"/>
638 <field name=
"Render Target 2 Internal BPP" size=
"2" start=
"20" type=
"Internal BPP"/>
640 <field name=
"Render Target 1 Clamp" size=
"2" start=
"18" type=
"Render Target Clamp"/>
641 <field name=
"Render Target 1 Internal Type" size=
"4" start=
"14" type=
"Internal Type"/>
642 <field name=
"Render Target 1 Internal BPP" size=
"2" start=
"12" type=
"Internal BPP"/>
644 <field name=
"Render Target 0 Clamp" size=
"2" start=
"10" type=
"Render Target Clamp"/>
645 <field name=
"Render Target 0 Internal Type" size=
"4" start=
"6" type=
"Internal Type"/>
646 <field name=
"Render Target 0 Internal BPP" size=
"2" start=
"4" type=
"Internal BPP"/>
648 <field name=
"sub-id" size=
"4" start=
"0" type=
"uint" default=
"1"/>
651 <packet code=
"121" name=
"Tile Rendering Mode Configuration (Z Stencil Clear Values)" cl=
"R">
652 <field name=
"unused" size=
"16" start=
"48" type=
"uint"/>
654 <field name=
"Z Clear Value" size=
"32" start=
"16" type=
"float"/>
656 <field name=
"Stencil/VG Mask Clear Value" size=
"8" start=
"8" type=
"uint"/>
657 <field name=
"sub-id" size=
"4" start=
"0" type=
"uint" default=
"2"/>
660 <packet code=
"121" name=
"Tile Rendering Mode Configuration (Clear Colors Part1)" cl=
"R">
661 <!-- Express this as a 56-bit field? -->
662 <field name=
"Clear Color next 24 bits" size=
"24" start=
"40" type=
"uint"/>
663 <field name=
"Clear Color low 32 bits" size=
"32" start=
"8" type=
"uint"/>
665 <field name=
"Render Target number" size=
"4" start=
"4" type=
"uint"/>
666 <field name=
"sub-id" size=
"4" start=
"0" type=
"uint" default=
"3"/>
669 <packet code=
"121" name=
"Tile Rendering Mode Configuration (Clear Colors Part2)" cl=
"R">
670 <!-- Express this as a 56-bit field? -->
671 <field name=
"Clear Color mid-high 24 bits" size=
"24" start=
"40" type=
"uint"/>
672 <field name=
"Clear Color mid-low 32 bits" size=
"32" start=
"8" type=
"uint"/>
674 <field name=
"Render Target number" size=
"4" start=
"4" type=
"uint"/>
675 <field name=
"sub-id" size=
"4" start=
"0" type=
"uint" default=
"4"/>
678 <packet code=
"121" name=
"Tile Rendering Mode Configuration (Clear Colors Part3)" cl=
"R">
679 <field name=
"pad" size=
"11" start=
"53" type=
"uint"/>
680 <field name=
"UIF padded height in UIF blocks" size=
"13" start=
"40" type=
"uint"/>
681 <!-- image height is for Y flipping -->
682 <field name=
"Raster Row Stride or Image Height in Pixels" size=
"16" start=
"24" type=
"uint"/>
683 <field name=
"Clear Color high 16 bits" size=
"16" start=
"8" type=
"uint"/>
685 <field name=
"Render Target number" size=
"4" start=
"4" type=
"uint"/>
686 <field name=
"sub-id" size=
"4" start=
"0" type=
"uint" default=
"5"/>
689 <packet code=
"124" name=
"Tile Coordinates">
690 <field name=
"tile row number" size=
"12" start=
"12" type=
"uint"/>
691 <field name=
"tile column number" size=
"12" start=
"0" type=
"uint"/>
694 <packet code=
"122" name=
"Multicore Rendering Supertile Configuration" cl=
"R">
695 <field name=
"Supertile Raster Order" size=
"1" start=
"60" type=
"bool"/>
696 <field name=
"Multicore Enable" size=
"1" start=
"56" type=
"bool"/>
698 <field name=
"Total Frame Height in Tiles" size=
"12" start=
"44" type=
"uint"/>
699 <field name=
"Total Frame Width in Tiles" size=
"12" start=
"32" type=
"uint"/>
701 <field name=
"Total Frame Height in Supertiles" size=
"8" start=
"24" type=
"uint"/>
702 <field name=
"Total Frame Width in Supertiles" size=
"8" start=
"16" type=
"uint"/>
704 <field name=
"Supertile Height in Tiles minus 1" size=
"8" start=
"8" type=
"uint"/>
705 <field name=
"Supertile Width in Tiles minus 1" size=
"8" start=
"0" type=
"uint"/>
708 <packet code=
"123" name=
"Multicore Rendering Tile List Set Base" cl=
"R">
709 <field name=
"address" size=
"26" start=
"6" type=
"address"/>
710 <field name=
"Tile List Set Number" size=
"4" start=
"0" type=
"uint"/>
714 <packet code=
"125" name=
"Tile Coordinates Implicit"/>
716 <packet code=
"126" name=
"Tile List Initial Block Size">
717 <field name=
"Use auto-chained tile lists" size=
"1" start=
"2" type=
"bool"/>
719 <field name=
"Size of first block in chained tile lists" size=
"2" start=
"0" type=
"uint">
720 <value name=
"tile allocation block size 64b" value=
"0"/>
721 <value name=
"tile allocation block size 128b" value=
"1"/>
722 <value name=
"tile allocation block size 256b" value=
"2"/>
726 <struct name=
"Geometry Shader State Record">
727 <field name=
"Geometry Bin Mode Shader Code Address" size=
"32" start=
"0b" type=
"address"/>
728 <field name=
"4-way threadable" size=
"1" start=
"0" type=
"bool"/>
729 <field name=
"Start in final thread section" size=
"1" start=
"1" type=
"bool"/>
730 <field name=
"Propagate NaNs" size=
"1" start=
"2" type=
"bool"/>
731 <field name=
"Geometry Bin Mode Shader Uniforms Address" size=
"32" start=
"4b" type=
"address"/>
732 <field name=
"Geometry Render Mode Shader Code Address" size=
"32" start=
"8b" type=
"address"/>
733 <field name=
"Geometry Render Mode Shader Uniforms Address" size=
"32" start=
"12b" type=
"address"/>
736 <struct name=
"Tessellation Shader State Record">
737 <field name=
"Tessellation Bin Mode Control Shader Code Address" size=
"32" start=
"0b" type=
"address"/>
738 <field name=
"Tessellation Bin Mode Control Shader Uniforms Address" size=
"32" start=
"4b" type=
"address"/>
739 <field name=
"Tessellation Render Mode Control Shader Code Address" size=
"32" start=
"8b" type=
"address"/>
740 <field name=
"Tessellation Render Mode Control Shader Uniforms Address" size=
"32" start=
"12b" type=
"address"/>
742 <field name=
"Tessellation Bin Mode Evaluation Shader Code Address" size=
"32" start=
"16b" type=
"address"/>
743 <field name=
"Tessellation Bin Mode Evaluation Shader Uniforms Address" size=
"32" start=
"20b" type=
"address"/>
744 <field name=
"Tessellation Render Mode Evaluation Shader Code Address" size=
"32" start=
"24b" type=
"address"/>
745 <field name=
"Tessellation Render Mode Evaluation Shader Uniforms Address" size=
"32" start=
"28b" type=
"address"/>
748 <struct name=
"GL Shader State Record">
749 <field name=
"Point size in shaded vertex data" size=
"1" start=
"0" type=
"bool"/>
750 <field name=
"Enable clipping" size=
"1" start=
"1" type=
"bool"/>
752 <field name=
"Vertex ID read by coordinate shader" size=
"1" start=
"2" type=
"bool"/>
753 <field name=
"Instance ID read by coordinate shader" size=
"1" start=
"3" type=
"bool"/>
754 <field name=
"Base Instance ID read by coordinate shader" size=
"1" start=
"4" type=
"bool"/>
755 <field name=
"Vertex ID read by vertex shader" size=
"1" start=
"5" type=
"bool"/>
756 <field name=
"Instance ID read by vertex shader" size=
"1" start=
"6" type=
"bool"/>
757 <field name=
"Base Instance ID read by vertex shader" size=
"1" start=
"7" type=
"bool"/>
759 <field name=
"Fragment shader does Z writes" size=
"1" start=
"8" type=
"bool"/>
760 <field name=
"Turn off early-z test" size=
"1" start=
"9" type=
"bool"/>
761 <field name=
"Coordinate shader has separate input and output VPM blocks" size=
"1" start=
"10" type=
"bool"/>
762 <field name=
"Vertex shader has separate input and output VPM blocks" size=
"1" start=
"11" type=
"bool"/>
763 <field name=
"Fragment shader uses real pixel centre W in addition to centroid W2" size=
"1" start=
"12" type=
"bool"/>
764 <field name=
"Enable Sample Rate Shading" size=
"1" start=
"13" type=
"bool"/>
765 <field name=
"Any shader reads hardware-written Primitive ID" size=
"1" start=
"14" type=
"bool"/>
766 <field name=
"Insert Primitive ID as first varying to fragment shader" size=
"1" start=
"15" type=
"bool"/>
767 <field name=
"Turn off scoreboard" size=
"1" start=
"16" type=
"bool"/>
768 <field name=
"Do scoreboard wait on first thread switch" size=
"1" start=
"17" type=
"bool"/>
769 <field name=
"Disable implicit point/line varyings" size=
"1" start=
"18" type=
"bool"/>
771 <field name=
"Number of varyings in Fragment Shader" size=
"8" start=
"3b" type=
"uint"/>
773 <field name=
"Coordinate Shader output VPM segment size" size=
"4" start=
"4b" type=
"uint"/>
774 <field name=
"Min Coord Shader output segments required in play in addition to VCM cache size" size=
"4" start=
"36" type=
"uint"/>
776 <field name=
"Coordinate Shader input VPM segment size" size=
"4" start=
"5b" type=
"uint"/>
777 <field name=
"Min Coord Shader input segments required in play minus 1" size=
"4" start=
"44" type=
"uint"/>
779 <field name=
"Vertex Shader output VPM segment size" size=
"4" start=
"6b" type=
"uint"/>
780 <field name=
"Min Vertex Shader output segments required in play in addition to VCM cache size" size=
"4" start=
"52" type=
"uint"/>
782 <field name=
"Vertex Shader input VPM segment size" size=
"4" start=
"7b" type=
"uint"/>
783 <field name=
"Min Vertex Shader input segments required in play minus 1" size=
"4" start=
"60" type=
"uint"/>
785 <field name=
"Address of default attribute values" size=
"32" start=
"8b" type=
"address"/>
787 <field name=
"Fragment Shader Code Address" size=
"32" start=
"12b" type=
"address"/>
788 <field name=
"Fragment Shader 4-way threadable" size=
"1" start=
"96" type=
"bool"/>
789 <field name=
"Fragment Shader start in final thread section" size=
"1" start=
"97" type=
"bool"/>
790 <field name=
"Fragment Shader Propagate NaNs" size=
"1" start=
"98" type=
"bool"/>
791 <field name=
"Fragment Shader Uniforms Address" size=
"32" start=
"16b" type=
"address"/>
793 <field name=
"Vertex Shader Code Address" size=
"32" start=
"20b" type=
"address"/>
794 <field name=
"Vertex Shader 4-way threadable" size=
"1" start=
"160" type=
"bool"/>
795 <field name=
"Vertex Shader start in final thread section" size=
"1" start=
"161" type=
"bool"/>
796 <field name=
"Vertex Shader Propagate NaNs" size=
"1" start=
"162" type=
"bool"/>
797 <field name=
"Vertex Shader Uniforms Address" size=
"32" start=
"24b" type=
"address"/>
799 <field name=
"Coordinate Shader Code Address" size=
"32" start=
"28b" type=
"address"/>
800 <field name=
"Coordinate Shader 4-way threadable" size=
"1" start=
"224" type=
"bool"/>
801 <field name=
"Coordinate Shader start in final thread section" size=
"1" start=
"225" type=
"bool"/>
802 <field name=
"Coordinate Shader Propagate NaNs" size=
"1" start=
"226" type=
"bool"/>
803 <field name=
"Coordinate Shader Uniforms Address" size=
"32" start=
"32b" type=
"address"/>
806 <struct name=
"GL Shader State Attribute Record">
807 <field name=
"Address" size=
"32" start=
"0" type=
"address"/>
809 <field name=
"Vec size" size=
"2" start=
"32" type=
"uint"/>
810 <field name=
"Type" size=
"3" start=
"34" type=
"uint">
811 <value name=
"Attribute half-float" value=
"1"/>
812 <value name=
"Attribute float" value=
"2"/>
813 <value name=
"Attribute fixed" value=
"3"/>
814 <value name=
"Attribute byte" value=
"4"/>
815 <value name=
"Attribute short" value=
"5"/>
816 <value name=
"Attribute int" value=
"6"/>
817 <value name=
"Attribute int2_10_10_10" value=
"7"/>
819 <field name=
"Signed int type" size=
"1" start=
"37" type=
"bool"/>
820 <field name=
"Normalized int type" size=
"1" start=
"38" type=
"bool"/>
821 <field name=
"Read as int/uint" size=
"1" start=
"39" type=
"bool"/>
823 <field name=
"Number of values read by Coordinate shader" size=
"4" start=
"40" type=
"uint"/>
824 <field name=
"Number of values read by Vertex shader" size=
"4" start=
"44" type=
"uint"/>
826 <field name=
"Instance Divisor" size=
"16" start=
"6b" type=
"uint"/>
827 <field name=
"Stride" size=
"32" start=
"8b" type=
"uint"/>
828 <field name=
"Maximum Index" size=
"32" start=
"12b" type=
"uint"/>
831 <struct name=
"VPM generic block write setup">
832 <field name=
"id" size=
"2" start=
"30" type=
"uint" default=
"0"/>
833 <field name=
"id0" size=
"3" start=
"27" type=
"uint" default=
"0"/>
835 <field name=
"horiz" size=
"1" start=
"24" type=
"bool"/>
836 <field name=
"laned" size=
"1" start=
"23" type=
"bool"/>
837 <field name=
"segs" size=
"1" start=
"22" type=
"bool"/>
838 <field name=
"stride" size=
"7" start=
"15" type=
"int"/>
840 <field name=
"size" size=
"2" start=
"13" type=
"uint">
841 <value name=
"VPM setup size 8-bit" value=
"0"/>
842 <value name=
"VPM setup size 16-bit" value=
"1"/>
843 <value name=
"VPM setup size 32-bit" value=
"2"/>
846 <field name=
"addr" size=
"13" start=
"0" type=
"uint"/>
849 <struct name=
"VPM generic block read setup">
850 <field name=
"id" size=
"2" start=
"30" type=
"uint" default=
"1"/>
852 <field name=
"horiz" size=
"1" start=
"29" type=
"bool"/>
853 <field name=
"laned" size=
"1" start=
"28" type=
"bool"/>
854 <field name=
"segs" size=
"1" start=
"27" type=
"bool"/>
855 <field name=
"num" size=
"5" start=
"22" type=
"uint"/>
856 <field name=
"stride" size=
"7" start=
"15" type=
"int"/>
858 <field name=
"size" size=
"2" start=
"13" type=
"uint">
859 <value name=
"VPM setup size 8-bit" value=
"0"/>
860 <value name=
"VPM setup size 16-bit" value=
"1"/>
861 <value name=
"VPM setup size 32-bit" value=
"2"/>
864 <field name=
"addr" size=
"13" start=
"0" type=
"uint"/>
867 <struct name=
"TMU Config Parameter 0">
868 <field name=
"Texture state address" size=
"32" start=
"0" type=
"address"/>
869 <field name=
"Return words of texture data" size=
"4" start=
"0" type=
"uint"/>
872 <struct name=
"TMU Config Parameter 1">
873 <field name=
"Sampler state address" size=
"32" start=
"0" type=
"address"/>
874 <field name=
"Per-pixel mask enable" size=
"1" start=
"2" type=
"bool"/>
875 <field name=
"Unnormalized coordinates" size=
"1" start=
"1" type=
"bool"/>
876 <field name=
"Output Type 32-bit" size=
"1" start=
"0" type=
"bool"/>
879 <struct name=
"TMU Config Parameter 2">
880 <field name=
"Pad" size=
"23" start=
"9" type=
"uint"/>
881 <field name=
"LOD Query" size=
"1" start=
"8" type=
"bool"/>
882 <field name=
"Op" size=
"4" start=
"20" type=
"TMU Op"/>
883 <field name=
"Offset R" size=
"4" start=
"16" type=
"int"/>
884 <field name=
"Offset T" size=
"4" start=
"12" type=
"int"/>
885 <field name=
"Offset S" size=
"4" start=
"8" type=
"int"/>
886 <field name=
"Gather Mode" size=
"1" start=
"7" type=
"bool"/>
887 <field name=
"Gather Component" size=
"2" start=
"5" type=
"uint"/>
888 <field name=
"Coefficient Mode" size=
"1" start=
"4" type=
"bool"/>
889 <field name=
"Sample Number" size=
"2" start=
"2" type=
"uint"/>
890 <field name=
"Disable AutoLOD" size=
"1" start=
"1" type=
"bool"/>
891 <field name=
"Offset Format 8" size=
"1" start=
"0" type=
"bool"/>
894 <struct name=
"Texture Shader State">
895 <field name=
"Pad" size=
"56" start=
"136" type=
"uint"/>
896 <field name=
"UIF XOR disable" size=
"1" start=
"135" type=
"bool"/>
897 <field name=
"Level 0 is strictly UIF" size=
"1" start=
"134" type=
"bool"/>
898 <field name=
"Level 0 XOR enable" size=
"1" start=
"132" type=
"bool"/>
899 <field name=
"Level 0 UB_PAD" size=
"4" start=
"128" type=
"uint"/>
901 <field name=
"Base Level" size=
"4" start=
"124" type=
"uint"/>
902 <field name=
"Max Level" size=
"4" start=
"120" type=
"uint"/>
904 <field name=
"Swizzle A" size=
"3" start=
"117" type=
"uint">
905 <value name=
"Swizzle Zero" value=
"0"/>
906 <value name=
"Swizzle One" value=
"1"/>
907 <value name=
"Swizzle Red" value=
"2"/>
908 <value name=
"Swizzle Green" value=
"3"/>
909 <value name=
"Swizzle Blue" value=
"4"/>
910 <value name=
"Swizzle Alpha" value=
"5"/>
913 <field name=
"Swizzle B" size=
"3" start=
"114" type=
"uint"/>
914 <field name=
"Swizzle G" size=
"3" start=
"111" type=
"uint"/>
915 <field name=
"Swizzle R" size=
"3" start=
"108" type=
"uint"/>
916 <field name=
"Extended" size=
"1" start=
"107" type=
"bool"/>
918 <field name=
"Texture type" size=
"7" start=
"100" type=
"uint"/>
919 <field name=
"Image Depth" size=
"14" start=
"86" type=
"uint"/>
920 <field name=
"Image Height" size=
"14" start=
"72" type=
"uint"/>
921 <field name=
"Image Width" size=
"14" start=
"58" type=
"uint"/>
923 <field name=
"Array Stride (64-byte aligned)" size=
"26" start=
"32" type=
"uint"/>
925 <field name=
"Texture base pointer" size=
"32" start=
"0" type=
"address"/>
927 <field name=
"Reverse Standard Border Colour" size=
"1" start=
"5" type=
"bool"/>
928 <field name=
"AHDR" size=
"1" start=
"4" type=
"bool"/>
929 <field name=
"sRGB" size=
"1" start=
"3" type=
"bool"/>
930 <field name=
"Flip S and T on incoming request" size=
"1" start=
"2" type=
"bool"/>
931 <field name=
"Flip texture Y Axis" size=
"1" start=
"1" type=
"bool"/>
932 <field name=
"Flip texture X Axis" size=
"1" start=
"0" type=
"bool"/>
935 <struct name=
"Sampler State">
936 <field name=
"Border colour Alpha" size=
"32" start=
"160" type=
"uint"/>
937 <field name=
"Border colour Blue" size=
"32" start=
"128" type=
"uint"/>
938 <field name=
"Border colour Green" size=
"32" start=
"96" type=
"uint"/>
939 <field name=
"Border colour Red" size=
"32" start=
"64" type=
"uint"/>
941 <field name=
"Maximum Anisotropy" size=
"2" start=
"61" type=
"uint"/>
942 <field name=
"Border Colour Mode" size=
"3" start=
"58" type=
"Border Colour Mode"/>
943 <field name=
"Wrap I Border" size=
"1" start=
"57" type=
"bool"/>
944 <field name=
"Wrap R" size=
"3" start=
"54" type=
"Wrap Mode"/>
945 <field name=
"Wrap T" size=
"3" start=
"51" type=
"Wrap Mode"/>
946 <field name=
"Wrap S" size=
"3" start=
"48" type=
"Wrap Mode"/>
948 <field name=
"Fixed Bias" size=
"16" start=
"32" type=
"s8.8"/>
949 <field name=
"Max Level-of-Detail" size=
"12" start=
"20" type=
"u4.8"/>
950 <field name=
"Min Level-of-Detail" size=
"12" start=
"8" type=
"u4.8"/>
952 <field name=
"sRGB Disable" size=
"1" start=
"7" type=
"bool"/>
954 <field name=
"Depth Compare Function" size=
"3" start=
"4" type=
"Compare Function"/>
956 <field name=
"Anisotropy Enable" size=
"1" start=
"3" type=
"bool"/>
957 <field name=
"Mip filter Nearest" size=
"1" start=
"2" type=
"bool"/>
958 <field name=
"Min filter Nearest" size=
"1" start=
"1" type=
"bool"/>
959 <field name=
"Mag filter Nearest" size=
"1" start=
"0" type=
"bool"/>
962 <enum name=
"Texture Data Formats">
964 most formats here have R in the low bits, A in the high bits.
967 <value name=
"Texture Data Format R8" value=
"0"/>
968 <value name=
"Texture Data Format R8 SNORM" value=
"1"/>
969 <value name=
"Texture Data Format RG8" value=
"2"/>
970 <value name=
"Texture Data Format RG8 SNORM" value=
"3"/>
971 <value name=
"Texture Data Format RGBA8" value=
"4"/>
972 <value name=
"Texture Data Format RGBA8 SNORM" value=
"5"/>
973 <value name=
"Texture Data Format RGB565" value=
"6"/> <!-- B in low bits -->
974 <value name=
"Texture Data Format RGBA4" value=
"7"/> <!-- A low, R high -->
975 <value name=
"Texture Data Format RGB5_A1" value=
"8"/> <!-- A low, R high -->
976 <value name=
"Texture Data Format RGB10_A2" value=
"9"/> <!-- R low, A high -->
977 <value name=
"Texture Data Format R16" value=
"10"/>
978 <value name=
"Texture Data Format R16 SNORM" value=
"11"/>
979 <value name=
"Texture Data Format RG16" value=
"12"/>
980 <value name=
"Texture Data Format RG16 SNORM" value=
"13"/>
981 <value name=
"Texture Data Format RGBA16" value=
"14"/>
982 <value name=
"Texture Data Format RGBA16 SNORM" value=
"15"/>
983 <value name=
"Texture Data Format R16F" value=
"16"/>
984 <value name=
"Texture Data Format RG16F" value=
"17"/>
985 <value name=
"Texture Data Format RGBA16F" value=
"18"/>
986 <value name=
"Texture Data Format R11F_G11F_B10F" value=
"19"/>
987 <value name=
"Texture Data Format RGB9_E5" value=
"20"/>
988 <value name=
"Texture Data Format DEPTH COMP16" value=
"21"/>
989 <value name=
"Texture Data Format DEPTH COMP24" value=
"22"/>
990 <value name=
"Texture Data Format DEPTH COMP32F" value=
"23"/>
991 <value name=
"Texture Data Format DEPTH24_X8" value=
"24"/> <!-- X low, D high -->
992 <value name=
"Texture Data Format R4" value=
"25"/>
993 <value name=
"Texture Data Format R1" value=
"26"/>
994 <!-- generic unfiltered 8-bit sample -->
995 <value name=
"Texture Data Format S8" value=
"27"/>
996 <!-- generic unfiltered 16-bit sample -->
997 <value name=
"Texture Data Format S16" value=
"28"/>
998 <!-- generic unfiltered 32-bit sample -->
999 <value name=
"Texture Data Format R32F" value=
"29"/>
1000 <!-- generic unfiltered 64-bit sample -->
1001 <value name=
"Texture Data Format RG32F" value=
"30"/>
1002 <!-- generic unfiltered 128-bit sample -->
1003 <value name=
"Texture Data Format RGBA32F" value=
"31"/>
1005 <value name=
"Texture Data Format RGB8_ETC2" value=
"32"/>
1006 <value name=
"Texture Data Format RGB8_PUNCHTHROUGH_ALPHA1" value=
"33"/>
1008 <value name=
"Texture Data Format R11_EAC" value=
"34"/>
1009 <value name=
"Texture Data Format SIGNED_R11_EAC" value=
"35"/>
1010 <value name=
"Texture Data Format RG11_EAC" value=
"36"/>
1011 <value name=
"Texture Data Format SIGNED_RG11_EAC" value=
"37"/>
1013 <value name=
"Texture Data Format RGBA8_ETC2_EAC" value=
"38"/>
1014 <value name=
"Texture Data Format YCBCR_LUMA" value=
"39"/>
1015 <value name=
"Texture Data Format YCBCR_420_CHROMA" value=
"40"/>
1017 <value name=
"Texture Data Format BC1" value=
"48"/>
1018 <value name=
"Texture Data Format BC2" value=
"49"/>
1019 <value name=
"Texture Data Format BC3" value=
"50"/>
1021 <value name=
"Texture Data Format ASTC_4x4" value=
"64"/>
1022 <value name=
"Texture Data Format ASTC_5x4" value=
"65"/>
1023 <value name=
"Texture Data Format ASTC_5x5" value=
"66"/>
1024 <value name=
"Texture Data Format ASTC_6x5" value=
"67"/>
1025 <value name=
"Texture Data Format ASTC_6x6" value=
"68"/>
1026 <value name=
"Texture Data Format ASTC_8x5" value=
"69"/>
1027 <value name=
"Texture Data Format ASTC_8x6" value=
"70"/>
1028 <value name=
"Texture Data Format ASTC_8x8" value=
"71"/>
1029 <value name=
"Texture Data Format ASTC_10x5" value=
"72"/>
1030 <value name=
"Texture Data Format ASTC_10x6" value=
"73"/>
1031 <value name=
"Texture Data Format ASTC_10x8" value=
"74"/>
1032 <value name=
"Texture Data Format ASTC_10x10" value=
"75"/>
1033 <value name=
"Texture Data Format ASTC_12x10" value=
"76"/>
1034 <value name=
"Texture Data Format ASTC_12x12" value=
"77"/>
1036 <value name=
"Texture Data Format R8I" value=
"96"/>
1037 <value name=
"Texture Data Format R8UI" value=
"97"/>
1038 <value name=
"Texture Data Format RG8I" value=
"98"/>
1039 <value name=
"Texture Data Format RG8UI" value=
"99"/>
1040 <value name=
"Texture Data Format RGBA8I" value=
"100"/>
1041 <value name=
"Texture Data Format RGBA8UI" value=
"101"/>
1043 <value name=
"Texture Data Format R16I" value=
"102"/>
1044 <value name=
"Texture Data Format R16UI" value=
"103"/>
1045 <value name=
"Texture Data Format RG16I" value=
"104"/>
1046 <value name=
"Texture Data Format RG16UI" value=
"105"/>
1047 <value name=
"Texture Data Format RGBA16I" value=
"106"/>
1048 <value name=
"Texture Data Format RGBA16UI" value=
"107"/>
1050 <value name=
"Texture Data Format R32I" value=
"108"/>
1051 <value name=
"Texture Data Format R32UI" value=
"109"/>
1052 <value name=
"Texture Data Format RG32I" value=
"110"/>
1053 <value name=
"Texture Data Format RG32UI" value=
"111"/>
1054 <value name=
"Texture Data Format RGBA32I" value=
"112"/>
1055 <value name=
"Texture Data Format RGBA32UI" value=
"113"/>
1056 <value name=
"Texture Data Format RGB10_A2UI" value=
"114"/>