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">
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=
"Flat Shade Action" prefix=
"V3D_FLAT_SHADE_ACTION">
96 <value name=
"unchanged" value=
"0"/>
97 <value name=
"zeroed" value=
"1"/>
98 <value name=
"set" value=
"2"/>
101 <packet code=
"0" name=
"Halt"/>
102 <packet code=
"1" name=
"NOP"/>
103 <packet code=
"4" name=
"Flush"/>
104 <packet code=
"5" name=
"Flush All State"/>
105 <packet code=
"6" name=
"Start Tile Binning"/>
106 <packet code=
"7" name=
"Increment Semaphore"/>
107 <packet code=
"8" name=
"Wait on Semaphore"/>
108 <packet code=
"9" name=
"Wait for previous frame"/>
109 <packet code=
"10" name=
"Enable Z-only rendering" cl=
"R"/>
110 <packet code=
"11" name=
"Disable Z-only rendering" cl=
"R"/>
111 <packet code=
"12" name=
"End of Z-only rendering in frame"/>
112 <packet code=
"13" name=
"End of rendering"/>
114 <packet code=
"14" name=
"Wait for transform feedback" cl=
"B">
115 <field name=
"Block count" size=
"8" start=
"0" type=
"uint"/>
118 <packet code=
"15" name=
"Branch to auto-chained sub-list">
119 <field name=
"address" size=
"32" start=
"0" type=
"address"/>
122 <packet code=
"16" name=
"Branch">
123 <field name=
"address" size=
"32" start=
"0" type=
"address"/>
126 <packet code=
"17" name=
"Branch to Sub-list">
127 <field name=
"address" size=
"32" start=
"0" type=
"address"/>
130 <packet code=
"18" name=
"Return from sub-list"/>
131 <packet code=
"19" name=
"Flush VCD cache"/>
133 <packet code=
"20" name=
"Start Address of Generic Tile List">
134 <field name=
"start" size=
"32" start=
"0" type=
"address"/>
135 <field name=
"end" size=
"32" start=
"32" type=
"address"/>
138 <packet code=
"21" name=
"Branch to Implicit Tile List">
139 <field name=
"tile list set number" size=
"8" start=
"0" type=
"uint"/>
142 <packet code=
"22" name=
"Branch to Explicit Supertile">
143 <field name=
"Absolute address of explicit supertile render list" size=
"32" start=
"24" type=
"address"/>
144 <field name=
"explicit supertile number" size=
"8" start=
"16" type=
"uint"/>
145 <field name=
"row number" size=
"8" start=
"8" type=
"uint"/>
146 <field name=
"column number" size=
"8" start=
"0" type=
"uint"/>
149 <packet code=
"23" name=
"Supertile Coordinates">
150 <field name=
"row number in supertiles" size=
"8" start=
"8" type=
"uint"/>
151 <field name=
"column number in supertiles" size=
"8" start=
"0" type=
"uint"/>
154 <packet code=
"24" name=
"Store Multi-Sample Resolved Tile Color Buffer" cl=
"R"/>
156 <packet code=
"25" name=
"Store Multi-Sample Resolved Tile Color Buffer (extended)" cl=
"R">
157 <field name=
"Disable Color Buffer write" size=
"8" start=
"8" type=
"uint"/>
158 <field name=
"Enable Z write" size=
"1" start=
"7" type=
"bool"/>
159 <field name=
"Enable Stencil write" size=
"1" start=
"6" type=
"bool"/>
160 <!-- bit 5 unused -->
161 <field name=
"Disable Colour buffer(s) clear on write" size=
"1" start=
"4" type=
"bool"/>
162 <field name=
"Disable Stencil buffer clear on write" size=
"1" start=
"3" type=
"bool"/>
163 <field name=
"Disable Z buffer clear on write" size=
"1" start=
"2" type=
"bool"/>
164 <field name=
"Disable fast opportunistic write out in multisample mode" size=
"1" start=
"1" type=
"bool"/>
165 <field name=
"Last Tile of Frame" size=
"1" start=
"0" type=
"bool"/>
168 <packet code=
"26" name=
"Reload Tile Colour Buffer" cl=
"R">
169 <field name=
"Disable Colour Buffer load" size=
"8" start=
"8" type=
"uint"/>
170 <field name=
"Enable Z load" size=
"1" start=
"7" type=
"bool"/>
171 <field name=
"Enable Stencil load" size=
"1" start=
"6" type=
"bool"/>
174 <packet code=
"27" name=
"End of Tile Marker" cl=
"R"/>
176 <packet code=
"29" name=
"Store Tile Buffer General" cl=
"R">
177 <field name=
"Address" size=
"24" start=
"24" type=
"address"/>
178 <field name=
"Padded height of output image in UIF blocks" size=
"13" start=
"11" type=
"uint"/>
179 <field name=
"XOR UIF" size=
"1" start=
"10" type=
"bool"/>
180 <field name=
"Last Tile of Frame" size=
"1" start=
"8" type=
"bool"/>
181 <field name=
"Disable Colour buffer(s) clear on write" size=
"1" start=
"7" type=
"bool"/>
182 <field name=
"Disable Stencil buffer clear on write" size=
"1" start=
"6" type=
"bool"/>
183 <field name=
"Disable Z buffer clear on write" size=
"1" start=
"5" type=
"bool"/>
184 <field name=
"Raw Mode" size=
"1" start=
"4" type=
"bool"/>
185 <field name=
"Buffer to Store" size=
"4" start=
"0" type=
"uint">
186 <value name=
"Render target 0" value=
"0"/>
187 <value name=
"Render target 1" value=
"1"/>
188 <value name=
"Render target 2" value=
"2"/>
189 <value name=
"Render target 3" value=
"3"/>
190 <value name=
"None" value=
"8"/>
191 <value name=
"Z" value=
"9"/>
192 <value name=
"Stencil" value=
"10"/>
193 <value name=
"Z+Stencil" value=
"11"/>
197 <packet code=
"30" name=
"Load Tile Buffer General" cl=
"R">
198 <field name=
"Address" size=
"24" start=
"24" type=
"address"/>
199 <field name=
"Padded height of output image in UIF blocks" size=
"13" start=
"11" type=
"uint"/>
200 <field name=
"XOR UIF" size=
"1" start=
"10" type=
"bool"/>
201 <field name=
"Raw Mode" size=
"1" start=
"4" type=
"bool"/>
202 <field name=
"Buffer to Load" size=
"4" start=
"0" type=
"uint">
203 <value name=
"Render target 0" value=
"0"/>
204 <value name=
"Render target 1" value=
"1"/>
205 <value name=
"Render target 2" value=
"2"/>
206 <value name=
"Render target 3" value=
"3"/>
207 <value name=
"None" value=
"8"/>
208 <value name=
"Z" value=
"9"/>
209 <value name=
"Stencil" value=
"10"/>
210 <value name=
"Z+Stencil" value=
"11"/>
214 <packet code=
"32" name=
"Indexed Primitive List" cl=
"B">
215 <field name=
"Minimum index" size=
"32" start=
"104" type=
"uint"/>
216 <field name=
"Enable Primitive Restarts" size=
"1" start=
"103" type=
"bool"/>
217 <field name=
"Maximum index" size=
"31" start=
"72" type=
"uint"/>
218 <field name=
"Address of Indices List" size=
"32" start=
"40" type=
"address"/>
219 <field name=
"Length" size=
"32" start=
"8" type=
"uint"/>
221 <field name=
"Index type" size=
"2" start=
"6" type=
"uint">
222 <value name=
"Index type 8-bit" value=
"0"/>
223 <value name=
"Index type 16-bit" value=
"1"/>
224 <value name=
"Index type 32-bit" value=
"2"/>
227 <field name=
"mode" size=
"5" start=
"0" type=
"Primitive"/>
230 <packet code=
"34" name=
"Indexed Instanced Primitive List" cl=
"B">
231 <field name=
"Enable Primitive Restarts" size=
"1" start=
"135" type=
"bool"/>
232 <field name=
"Maximum index" size=
"31" start=
"104" type=
"uint"/>
233 <field name=
"Address of Indices List" size=
"32" start=
"72" type=
"address"/>
234 <field name=
"Number of Instances" size=
"32" start=
"40" type=
"uint"/>
235 <field name=
"Instance Length" size=
"32" start=
"8" type=
"uint"/>
237 <field name=
"Index type" size=
"2" start=
"6" type=
"uint">
238 <value name=
"Index type 8-bit" value=
"0"/>
239 <value name=
"Index type 16-bit" value=
"1"/>
240 <value name=
"Index type 32-bit" value=
"2"/>
243 <field name=
"mode" size=
"5" start=
"0" type=
"Primitive"/>
246 <packet code=
"36" name=
"Vertex Array Primitives" cl=
"B">
247 <field name=
"Index of First Vertex" size=
"32" start=
"40" type=
"uint"/>
248 <field name=
"Length" size=
"32" start=
"8" type=
"uint"/>
250 <field name=
"mode" size=
"8" start=
"0" type=
"Primitive"/>
253 <packet code=
"38" name=
"Vertex Array Instanced Primitives" cl=
"B">
254 <field name=
"Index of First Vertex" size=
"32" start=
"72" type=
"uint"/>
255 <field name=
"Number of Instances" size=
"32" start=
"40" type=
"uint"/>
256 <field name=
"Instance Length" size=
"32" start=
"8" type=
"uint"/>
258 <field name=
"mode" size=
"8" start=
"0" type=
"Primitive"/>
261 <packet code=
"43" name=
"Base Vertex Base Instance" cl=
"B">
262 <field name=
"Base Instance" size=
"32" start=
"32" type=
"uint"/>
264 <field name=
"Base Vertex" size=
"32" start=
"0" type=
"uint"/>
267 <packet code=
"56" name=
"Primitive List Format">
268 <field name=
"data type" size=
"1" start=
"6" type=
"uint">
269 <value name=
"List Indexed" value=
"0"/>
270 <value name=
"List 32-bit X/Y" value=
"1"/>
272 <field name=
"primitive type" size=
"6" start=
"0" type=
"uint">
273 <value name=
"List Points" value=
"0"/>
274 <value name=
"List Lines" value=
"1"/>
275 <value name=
"List Triangles" value=
"2"/>
279 <packet code=
"64" name=
"GL Shader State">
280 <field name=
"address" size=
"27" start=
"5" type=
"address"/>
281 <field name=
"number of attribute arrays" size=
"5" start=
"0" type=
"uint"/>
284 <packet code=
"74" name=
"Transform Feedback Enable">
285 <field name=
"number of 32-bit Output Buffer Address following" size=
"3" start=
"8" type=
"uint"/>
286 <field name=
"number of 16-bit Output Data Specs following" size=
"5" start=
"11" type=
"uint"/>
289 <packet code=
"75" name=
"Flush Transform Feedback Data"/>
291 <struct name=
"Transform Feedback Output Data Spec">
292 <field name=
"First Shaded Vertex Value to output" size=
"8" start=
"0" type=
"uint"/>
293 <field name=
"Number of consecutive Vertex Values to output as 32-bit values minus 1" size=
"4" start=
"8" type=
"uint"/>
294 <field name=
"Output Buffer to write to" size=
"2" start=
"12" type=
"uint"/>
297 <struct name=
"Transform Feedback Output Address">
298 <field name=
"address" size=
"32" start=
"0" type=
"address"/>
301 <packet code=
"80" name=
"Stencil Config">
302 <field name=
"Stencil Write Mask" size=
"8" start=
"32" type=
"uint"/>
303 <field name=
"Back Config" size=
"1" start=
"29" type=
"bool"/>
304 <field name=
"Front Config" size=
"1" start=
"28" type=
"bool"/>
305 <field name=
"Stencil Pass Op" size=
"3" start=
"25" type=
"Stencil Op"/>
306 <field name=
"Depth Test Fail Op" size=
"3" start=
"22" type=
"Stencil Op"/>
307 <field name=
"Stencil Test Fail Op" size=
"3" start=
"19" type=
"Stencil Op"/>
308 <field name=
"Stencil Test Function" size=
"3" start=
"16" type=
"Compare Function"/>
309 <field name=
"Stencil Test Mask" size=
"8" start=
"8" type=
"uint"/>
310 <field name=
"Stencil Ref Value" size=
"8" start=
"0" type=
"uint"/>
313 <packet code=
"84" name=
"Blend Config">
314 <field name=
"VG Coverage Modes" size=
"2" start=
"28" type=
"uint"/>
315 <field name=
"Colour blend dst factor" size=
"4" start=
"20" type=
"Blend Factor"/>
316 <field name=
"Colour blend src factor" size=
"4" start=
"16" type=
"Blend Factor"/>
317 <field name=
"Colour blend mode" size=
"4" start=
"12" type=
"Blend Mode"/>
318 <field name=
"Alpha blend dst factor" size=
"4" start=
"8" type=
"Blend Factor"/>
319 <field name=
"Alpha blend src factor" size=
"4" start=
"4" type=
"Blend Factor"/>
320 <field name=
"Alpha blend mode" size=
"4" start=
"0" type=
"Blend Mode"/>
323 <packet code=
"86" name=
"Blend Constant Colour">
324 <field name=
"Alpha (F16)" size=
"16" start=
"48" type=
"uint"/>
325 <field name=
"Blue (F16)" size=
"16" start=
"32" type=
"uint"/>
326 <field name=
"Green (F16)" size=
"16" start=
"16" type=
"uint"/>
327 <field name=
"Red (F16)" size=
"16" start=
"0" type=
"uint"/>
330 <packet code=
"87" name=
"Colour Write Masks">
331 <field name=
"Reserved" size=
"16" start=
"16" type=
"uint"/>
332 <field name=
"Render Target 3 per colour component write masks" size=
"4" start=
"12" type=
"uint"/>
333 <field name=
"Render Target 2 per colour component write masks" size=
"4" start=
"8" type=
"uint"/>
334 <field name=
"Render Target 1 per colour component write masks" size=
"4" start=
"4" type=
"uint"/>
335 <field name=
"Render Target 0 per colour component write masks" size=
"4" start=
"0" type=
"uint"/>
338 <packet code=
"92" name=
"Occlusion Query Counter">
339 <field name=
"address" size=
"32" start=
"0" type=
"address"/>
342 <packet code=
"96" name=
"Configuration Bits">
343 <field name=
"Direct3D Provoking Vertex" size=
"1" start=
"21" type=
"bool"/>
344 <field name=
"Direct3D 'Point-fill' mode" size=
"1" start=
"20" type=
"bool"/>
345 <field name=
"Blend enable" size=
"1" start=
"19" type=
"bool"/>
346 <field name=
"Stencil enable" size=
"1" start=
"18" type=
"bool"/>
347 <field name=
"Early Z updates enable" size=
"1" start=
"17" type=
"bool"/>
348 <field name=
"Early Z enable" size=
"1" start=
"16" type=
"bool"/>
349 <field name=
"Z updates enable" size=
"1" start=
"15" type=
"bool"/>
350 <field name=
"Depth-Test Function" size=
"3" start=
"12" type=
"Compare Function"/>
351 <field name=
"Direct3D Wireframe triangles mode" size=
"1" start=
"11" type=
"bool"/>
352 <field name=
"Coverage Update Mode" size=
"2" start=
"9" type=
"uint"/>
353 <field name=
"Coverage Pipe Select" size=
"1" start=
"8" type=
"bool"/>
354 <field name=
"Rasterizer Oversample Mode" size=
"2" start=
"6" type=
"uint"/>
355 <field name=
"Line Rasterization" size=
"2" start=
"4" type=
"uint"/>
356 <field name=
"Enable Depth Offset" size=
"1" start=
"3" type=
"bool"/>
357 <field name=
"Clockwise Primitives" size=
"1" start=
"2" type=
"bool"/>
358 <field name=
"Enable Reverse Facing Primitive" size=
"1" start=
"1" type=
"bool"/>
359 <field name=
"Enable Forward Facing Primitive" size=
"1" start=
"0" type=
"bool"/>
362 <packet code=
"97" name=
"Zero All Flat Shade Flags"/>
364 <packet code=
"98" name=
"Flat Shade Flags">
365 <field name=
"Flat Shade Flags for varyings V0*24" size=
"24" start=
"8" type=
"uint"/>
366 <field name=
"Action for Flat Shade Flags of higher numbered varyings" size=
"2" start=
"6" type=
"Flat Shade Action"/>
367 <field name=
"Action for Flat Shade Flags of lower numbered varyings" size=
"2" start=
"4" type=
"Flat Shade Action"/>
368 <field name=
"Varying offset V0" size=
"4" start=
"0" type=
"uint"/>
371 <packet code=
"104" name=
"Point size">
372 <field name=
"Point Size" size=
"32" start=
"0" type=
"float"/>
375 <packet code=
"105" name=
"Line width">
376 <field name=
"Line width" size=
"32" start=
"0" type=
"float"/>
379 <packet name=
"Depth Offset" code=
"106">
380 <!-- these fields are both float-1-8-7 encoded (top 16 bits of a float32) -->
381 <field name=
"Depth Offset Units" size=
"16" start=
"16" type=
"uint"/>
382 <field name=
"Depth Offset Factor" size=
"16" start=
"0" type=
"uint"/>
385 <packet name=
"Clip Window" code=
"107">
386 <field name=
"Clip Window Height in pixels" size=
"16" start=
"48" type=
"uint"/>
387 <field name=
"Clip Window Width in pixels" size=
"16" start=
"32" type=
"uint"/>
388 <field name=
"Clip Window Bottom Pixel Coordinate" size=
"16" start=
"16" type=
"uint"/>
389 <field name=
"Clip Window Left Pixel Coordinate" size=
"16" start=
"0" type=
"uint"/>
392 <packet name=
"Viewport Offset" code=
"108">
393 <field name=
"Viewport Centre Y-coordinate" size=
"32" start=
"32" type=
"s24.8"/>
394 <field name=
"Viewport Centre X-coordinate" size=
"32" start=
"0" type=
"s24.8"/>
397 <packet name=
"Clipper Z min/max clipping planes" code=
"109">
398 <field name=
"Maximum Zw" size=
"32" start=
"32" type=
"float"/>
399 <field name=
"Minimum Zw" size=
"32" start=
"0" type=
"float"/>
402 <packet name=
"Clipper XY Scaling" code=
"110" cl=
"B">
403 <field name=
"Viewport Half-Height in 1/256th of pixel" size=
"32" start=
"32" type=
"float"/>
404 <field name=
"Viewport Half-Width in 1/256th of pixel" size=
"32" start=
"0" type=
"float"/>
407 <packet name=
"Clipper Z Scale and Offset" code=
"111" cl=
"B">
408 <field name=
"Viewport Z Offset (Zc to Zs)" size=
"32" start=
"32" type=
"float"/>
409 <field name=
"Viewport Z Scale (Zc to Zs)" size=
"32" start=
"0" type=
"float"/>
412 <packet code=
"120" name=
"Tile Binning Mode Configuration (Part1)">
413 <field name=
"Double-buffer in non-ms mode" size=
"1" start=
"63" type=
"bool"/>
414 <field name=
"Multisample Mode (4x)" size=
"1" start=
"62" type=
"bool"/>
416 <field name=
"Maximum BPP of all render targets" size=
"2" start=
"60" type=
"uint">
417 <value name=
"Render target maximum 32bpp" value=
"0"/>
418 <value name=
"Render target maximum 64bpp" value=
"1"/>
419 <value name=
"Render target maximum 128bpp" value=
"2"/>
422 <field name=
"Number of Render Targets" size=
"4" start=
"56" type=
"uint"/>
423 <field name=
"Height (in tiles)" size=
"12" start=
"44" type=
"uint"/>
424 <field name=
"Width (in tiles)" size=
"12" start=
"32" type=
"uint"/>
426 <field name=
"Tile State Data Array Base Address" size=
"26" start=
"6" type=
"address"/>
428 <field name=
"tile allocation block size" size=
"2" start=
"4" type=
"uint">
429 <value name=
"tile allocation block size 64b" value=
"0"/>
430 <value name=
"tile allocation block size 128b" value=
"1"/>
431 <value name=
"tile allocation block size 256b" value=
"2"/>
433 <field name=
"tile allocation initial block size" size=
"2" start=
"2" type=
"uint">
434 <value name=
"tile allocation initial block size 64b" value=
"0"/>
435 <value name=
"tile allocation initial block size 128b" value=
"1"/>
436 <value name=
"tile allocation initial block size 256b" value=
"2"/>
438 <field name=
"auto-initialize tile state data array" size=
"1" start=
"1" type=
"bool" default=
"1"/>
439 <field name=
"sub-id" size=
"1" start=
"0" type=
"uint" default=
"0"/>
442 <packet code=
"120" name=
"Tile Binning Mode Configuration (Part2)" cl=
"B">
443 <field name=
"Tile Allocation Memory Address" size=
"32" start=
"32" type=
"address"/>
444 <field name=
"Tile Allocation Memory Size" size=
"32" start=
"0" type=
"uint"/>
446 <field name=
"sub-id" size=
"1" start=
"0" type=
"uint" default=
"1"/>
449 <packet code=
"121" name=
"Tile Rendering Mode Configuration (Common Configuration)" cl=
"R">
450 <field name=
"Disable Render Target Stores" size=
"8" start=
"56" type=
"uint"/>
451 <field name=
"Enable Z Store" size=
"1" start=
"55" type=
"bool"/>
452 <field name=
"Enable Stencil Store" size=
"1" start=
"54" type=
"bool"/>
454 <field name=
"Early-Z disable" size=
"1" start=
"46" type=
"bool"/>
456 <field name=
"Early-Z Test and Update Direction" size=
"1" start=
"45" type=
"uint">
457 <value name=
"Early-Z direction LT/LE" value=
"0"/>
458 <value name=
"Early-Z direction GT/GE" value=
"1"/>
461 <field name=
"Select Coverage Mode" size=
"1" start=
"44" type=
"bool"/>
462 <field name=
"Double-buffer in non-ms mode" size=
"1" start=
"43" type=
"bool"/>
463 <field name=
"Multisample Mode (4x)" size=
"1" start=
"42" type=
"bool"/>
465 <field name=
"Maximum BPP of all render targets" size=
"2" start=
"40" type=
"uint">
466 <value name=
"Render target maximum 32bpp" value=
"0"/>
467 <value name=
"Render target maximum 64bpp" value=
"1"/>
468 <value name=
"Render target maximum 128bpp" value=
"2"/>
471 <field name=
"Image Height (pixels)" size=
"16" start=
"24" type=
"uint"/>
472 <field name=
"Image Width (pixels)" size=
"16" start=
"8" type=
"uint"/>
473 <field name=
"Number of Render Targets Minus 1" size=
"4" start=
"4" type=
"uint"/>
475 <field name=
"sub-id" size=
"4" start=
"0" type=
"uint" default=
"0"/>
478 <packet code=
"121" name=
"Tile Rendering Mode Configuration (Render Target config)" cl=
"R">
479 <field name=
"Address" size=
"32" start=
"32" type=
"address"/>
481 <field name=
"Pad" size=
"4" start=
"28" type=
"uint"/>
483 <field name=
"Flip Y" size=
"1" start=
"27" type=
"bool"/>
485 <field name=
"Memory Format" size=
"3" start=
"24" type=
"uint" prefix=
"Memory Format">
486 <value name=
"Raster" value=
"0"/>
487 <value name=
"Lineartile" value=
"1"/>
488 <value name=
"UB-linear (1 UIF block wide)" value=
"2"/>
489 <value name=
"UB-linear (2 UIF blocks wide)" value=
"3"/>
490 <value name=
"UIF (No XOR)" value=
"4"/>
491 <value name=
"UIF (XOR)" value=
"5"/>
494 <field name=
"A dithered" size=
"1" start=
"23" type=
"bool"/>
495 <field name=
"BGR dithered" size=
"1" start=
"22" type=
"bool"/>
497 <field name=
"Output image format" size=
"6" start=
"16" type=
"uint" prefix=
"Output Image Format">
499 Formats appear with their channels named from the low bits to
502 <value name=
"srgb8_alpha8" value=
"0"/>
503 <value name=
"srgb" value=
"1"/>
504 <value name=
"rgb10_a2ui" value=
"2"/>
505 <value name=
"rgb10_a2" value=
"3"/>
506 <value name=
"abgr1555" value=
"4"/>
507 <value name=
"alpha-masked abgr1555" value=
"5"/>
508 <value name=
"abgr4444" value=
"6"/>
509 <value name=
"bgr565" value=
"7"/>
510 <value name=
"r11f_g11f_b10f" value=
"8"/>
511 <value name=
"rgba32f" value=
"9"/>
512 <value name=
"rg32f" value=
"10"/>
513 <value name=
"r32f" value=
"11"/>
514 <value name=
"rgba32i" value=
"12"/>
515 <value name=
"rg32i" value=
"13"/>
516 <value name=
"r32i" value=
"14"/>
517 <value name=
"rgba32ui" value=
"15"/>
518 <value name=
"rg32ui" value=
"16"/>
519 <value name=
"r32ui" value=
"17"/>
520 <value name=
"rgba16f" value=
"18"/>
521 <value name=
"rg16f" value=
"19"/>
522 <value name=
"r16f" value=
"20"/>
523 <value name=
"rgba16i" value=
"21"/>
524 <value name=
"rg16i" value=
"22"/>
525 <value name=
"r16i" value=
"23"/>
526 <value name=
"rgba16ui" value=
"24"/>
527 <value name=
"rg16ui" value=
"25"/>
528 <value name=
"r16ui" value=
"26"/>
529 <value name=
"rgba8" value=
"27"/>
530 <value name=
"rgb8" value=
"28"/>
531 <value name=
"rg8" value=
"29"/>
532 <value name=
"r8" value=
"30"/>
533 <value name=
"rgba8i" value=
"31"/>
534 <value name=
"rg8i" value=
"32"/>
535 <value name=
"r8i" value=
"33"/>
536 <value name=
"rgba8ui" value=
"34"/>
537 <value name=
"rg8ui" value=
"35"/>
538 <value name=
"r8ui" value=
"36"/>
539 <value name=
"srgbx8" value=
"37"/>
540 <value name=
"rgbx8" value=
"38"/>
543 <field name=
"Decimate mode" size=
"2" start=
"14" type=
"uint"/>
545 <field name=
"Internal Type" size=
"4" start=
"10" type=
"uint" prefix=
"Internal Type">
546 <value name=
"8i" value=
"0"/>
547 <value name=
"8ui" value=
"1"/>
548 <value name=
"8" value=
"2"/>
549 <value name=
"16i" value=
"4"/>
550 <value name=
"16ui" value=
"5"/>
551 <value name=
"16f" value=
"6"/>
552 <value name=
"32i" value=
"8"/>
553 <value name=
"32ui" value=
"9"/>
554 <value name=
"32f" value=
"10"/>
557 <field name=
"Internal BPP" size=
"2" start=
"8" type=
"uint" prefix=
"Internal Bpp">
558 <value name=
"32" value=
"0"/>
559 <value name=
"64" value=
"1"/>
560 <value name=
"128" value=
"2"/>
562 <field name=
"Render Target Number" size=
"4" start=
"4" type=
"uint"/>
563 <field name=
"sub-id" size=
"4" start=
"0" type=
"uint" default=
"2"/>
566 <packet code=
"121" name=
"Tile Rendering Mode Configuration (Z/Stencil config)" cl=
"R">
567 <field name=
"Address" size=
"26" start=
"38" type=
"address"/>
569 <field name=
"Padded height of output image in UIF blocks" size=
"13" start=
"25" type=
"uint"/>
571 <field name=
"Memory Format" size=
"3" start=
"22" type=
"uint" prefix=
"Memory Format">
572 <value name=
"Raster" value=
"0"/>
573 <value name=
"Lineartile" value=
"1"/>
574 <value name=
"UB-linear (1 UIF block wide)" value=
"2"/>
575 <value name=
"UB-linear (2 UIF blocks wide)" value=
"3"/>
576 <value name=
"UIF (No XOR)" value=
"4"/>
577 <value name=
"UIF (XOR)" value=
"5"/>
580 <field name=
"Output image format" size=
"6" start=
"16" type=
"uint" prefix=
"Output Image Format">
581 <value name=
"depth_component32f" value=
"0"/>
582 <value name=
"depth_component24" value=
"1"/> <!-- depth low, pad high -->
583 <value name=
"depth_component16" value=
"2"/>
584 <value name=
"depth24_stencil8" value=
"3"/> <!-- stencil low, depth high -->
587 <field name=
"Decimate mode" size=
"2" start=
"14" type=
"uint"/>
589 <field name=
"Internal Type" size=
"4" start=
"10" type=
"uint" prefix=
"Internal Type">
590 <value name=
"depth_32f" value=
"0"/>
591 <value name=
"depth_24" value=
"1"/>
592 <value name=
"depth_16" value=
"2"/>
595 <field name=
"Internal BPP (ignored)" size=
"2" start=
"8" type=
"uint"/>
596 <!-- selects between Z/Stencil config packet and Separate Stencil packet. -->
597 <field name=
"Z/Stencil ID" size=
"4" start=
"4" type=
"uint" default=
"0"/>
598 <field name=
"sub-id" size=
"4" start=
"0" type=
"uint" default=
"1"/>
601 <packet code=
"121" name=
"Tile Rendering Mode Configuration (Z Stencil Clear Values)" cl=
"R">
602 <field name=
"unused" size=
"16" start=
"48" type=
"uint"/>
604 <field name=
"Z Clear Value" size=
"32" start=
"16" type=
"float"/>
606 <field name=
"Stencil/VG Mask Clear Value" size=
"8" start=
"8" type=
"uint"/>
607 <field name=
"sub-id" size=
"4" start=
"0" type=
"uint" default=
"3"/>
610 <packet code=
"121" name=
"Tile Rendering Mode Configuration (Clear Colors Part1)" cl=
"R">
611 <!-- Express this as a 56-bit field? -->
612 <field name=
"Clear Color next 24 bits" size=
"24" start=
"40" type=
"uint"/>
613 <field name=
"Clear Color low 32 bits" size=
"32" start=
"8" type=
"uint"/>
615 <field name=
"Render Target number" size=
"4" start=
"4" type=
"uint"/>
616 <field name=
"sub-id" size=
"4" start=
"0" type=
"uint" default=
"4"/>
619 <packet code=
"121" name=
"Tile Rendering Mode Configuration (Clear Colors Part2)" cl=
"R">
620 <!-- Express this as a 56-bit field? -->
621 <field name=
"Clear Color mid-high 24 bits" size=
"24" start=
"40" type=
"uint"/>
622 <field name=
"Clear Color mid-low 32 bits" size=
"32" start=
"8" type=
"uint"/>
624 <field name=
"Render Target number" size=
"4" start=
"4" type=
"uint"/>
625 <field name=
"sub-id" size=
"4" start=
"0" type=
"uint" default=
"5"/>
628 <packet code=
"121" name=
"Tile Rendering Mode Configuration (Clear Colors Part3)" cl=
"R">
629 <field name=
"pad" size=
"11" start=
"53" type=
"uint"/>
630 <field name=
"UIF padded height in UIF blocks" size=
"13" start=
"40" type=
"uint"/>
631 <!-- image height is for Y flipping -->
632 <field name=
"Raster Row Stride or Image Height in Pixels" size=
"16" start=
"24" type=
"uint"/>
633 <field name=
"Clear Color high 16 bits" size=
"16" start=
"8" type=
"uint"/>
635 <field name=
"Render Target number" size=
"4" start=
"4" type=
"uint"/>
636 <field name=
"sub-id" size=
"4" start=
"0" type=
"uint" default=
"6"/>
639 <packet code=
"124" name=
"Tile Coordinates">
640 <field name=
"tile row number" size=
"12" start=
"12" type=
"uint"/>
641 <field name=
"tile column number" size=
"12" start=
"0" type=
"uint"/>
644 <packet code=
"122" name=
"Multicore Rendering Supertile Configuration" cl=
"R">
645 <field name=
"Supertile Raster Order" size=
"1" start=
"60" type=
"bool"/>
646 <field name=
"Multicore Enable" size=
"1" start=
"56" type=
"bool"/>
648 <field name=
"Total Frame Height in Tiles" size=
"12" start=
"44" type=
"uint"/>
649 <field name=
"Total Frame Width in Tiles" size=
"12" start=
"32" type=
"uint"/>
651 <field name=
"Total Frame Height in Supertiles" size=
"8" start=
"24" type=
"uint"/>
652 <field name=
"Total Frame Width in Supertiles" size=
"8" start=
"16" type=
"uint"/>
654 <field name=
"Supertile Height in Tiles minus 1" size=
"8" start=
"8" type=
"uint"/>
655 <field name=
"Supertile Width in Tiles minus 1" size=
"8" start=
"0" type=
"uint"/>
658 <packet code=
"123" name=
"Multicore Rendering Tile List Set Base" cl=
"R">
659 <field name=
"address" size=
"26" start=
"6" type=
"address"/>
660 <field name=
"Tile List Set Number" size=
"4" start=
"0" type=
"uint"/>
664 <packet code=
"125" name=
"Tile Coordinates Implicit"/>
666 <packet code=
"126" name=
"Tile List Initial Block Size">
667 <field name=
"Use auto-chained tile lists" size=
"1" start=
"2" type=
"bool"/>
669 <field name=
"Size of first block in chained tile lists" size=
"2" start=
"0" type=
"uint">
670 <value name=
"tile allocation block size 64b" value=
"0"/>
671 <value name=
"tile allocation block size 128b" value=
"1"/>
672 <value name=
"tile allocation block size 256b" value=
"2"/>
676 <struct name=
"GL Shader State Record">
677 <field name=
"Point size in shaded vertex data" size=
"1" start=
"0" type=
"bool"/>
678 <field name=
"Enable clipping" size=
"1" start=
"1" type=
"bool"/>
679 <field name=
"Vertex ID read by coordinate shader" size=
"1" start=
"2" type=
"bool"/>
680 <field name=
"Instance ID read by coordinate shader" size=
"1" start=
"3" type=
"bool"/>
681 <field name=
"Vertex ID read by vertex shader" size=
"1" start=
"4" type=
"bool"/>
682 <field name=
"Instance ID read by vertex shader" size=
"1" start=
"5" type=
"bool"/>
683 <field name=
"Fragment shader does Z writes" size=
"1" start=
"6" type=
"bool"/>
684 <field name=
"Turn off early-z test" size=
"1" start=
"7" type=
"bool"/>
685 <field name=
"Coordinate shader has separate input and output VPM blocks" size=
"1" start=
"8" type=
"bool"/>
686 <field name=
"Vertex shader has separate input and output VPM blocks" size=
"1" start=
"9" type=
"bool"/>
687 <field name=
"Fragment shader uses real pixel centre W in addition to centroid W2" size=
"1" start=
"10" type=
"bool"/>
689 <field name=
"Number of varyings in Fragment Shader" size=
"8" start=
"2b" type=
"uint"/>
690 <field name=
"Coordinate Shader output VPM segment size" size=
"8" start=
"4b" type=
"uint"/>
691 <field name=
"Coordinate Shader input VPM segment size" size=
"8" start=
"5b" type=
"uint"/>
692 <field name=
"Vertex Shader output VPM segment size" size=
"8" start=
"6b" type=
"uint"/>
693 <field name=
"Vertex Shader input VPM segment size" size=
"8" start=
"7b" type=
"uint"/>
694 <field name=
"Address of default attribute values" size=
"32" start=
"8b" type=
"address"/>
695 <field name=
"Fragment Shader Code Address" size=
"29" start=
"99" type=
"address"/>
696 <field name=
"2-way threadable" size=
"1" start=
"96" type=
"bool"/>
697 <field name=
"4-way threadable" size=
"1" start=
"97" type=
"bool"/>
698 <field name=
"Propagate NaNs" size=
"1" start=
"98" type=
"bool"/>
699 <field name=
"Fragment Shader Uniforms Address" size=
"32" start=
"16b" type=
"address"/>
700 <field name=
"Vertex Shader Code Address" size=
"32" start=
"20b" type=
"address"/>
701 <field name=
"Vertex Shader Uniforms Address" size=
"32" start=
"24b" type=
"address"/>
702 <field name=
"Coordinate Shader Code Address" size=
"32" start=
"28b" type=
"address"/>
703 <field name=
"Coordinate Shader Uniforms Address" size=
"32" start=
"32b" type=
"address"/>
706 <struct name=
"GL Shader State Attribute Record">
707 <field name=
"Address" size=
"32" start=
"0" type=
"address"/>
709 <field name=
"Vec size" size=
"2" start=
"32" type=
"uint"/>
710 <field name=
"Type" size=
"3" start=
"34" type=
"uint">
711 <value name=
"Attribute half-float" value=
"1"/>
712 <value name=
"Attribute float" value=
"2"/>
713 <value name=
"Attribute fixed" value=
"3"/>
714 <value name=
"Attribute byte" value=
"4"/>
715 <value name=
"Attribute short" value=
"5"/>
716 <value name=
"Attribute int" value=
"6"/>
717 <value name=
"Attribute int2_10_10_10" value=
"7"/>
719 <field name=
"Signed int type" size=
"1" start=
"37" type=
"bool"/>
720 <field name=
"Normalized int type" size=
"1" start=
"38" type=
"bool"/>
721 <field name=
"Read as int/uint" size=
"1" start=
"39" type=
"bool"/>
723 <field name=
"Number of values read by Coordinate shader" size=
"4" start=
"40" type=
"uint"/>
724 <field name=
"Number of values read by Vertex shader" size=
"4" start=
"44" type=
"uint"/>
726 <field name=
"Instance Divisor" size=
"16" start=
"6b" type=
"uint"/>
727 <field name=
"Stride" size=
"32" start=
"8b" type=
"uint"/>
730 <struct name=
"VPM generic block write setup">
731 <field name=
"id" size=
"2" start=
"30" type=
"uint" default=
"0"/>
732 <field name=
"id0" size=
"3" start=
"27" type=
"uint" default=
"0"/>
734 <field name=
"horiz" size=
"1" start=
"24" type=
"bool"/>
735 <field name=
"laned" size=
"1" start=
"23" type=
"bool"/>
736 <field name=
"segs" size=
"1" start=
"22" type=
"bool"/>
737 <field name=
"stride" size=
"7" start=
"15" type=
"int"/>
739 <field name=
"size" size=
"2" start=
"13" type=
"uint">
740 <value name=
"VPM setup size 8-bit" value=
"0"/>
741 <value name=
"VPM setup size 16-bit" value=
"1"/>
742 <value name=
"VPM setup size 32-bit" value=
"2"/>
745 <field name=
"addr" size=
"13" start=
"0" type=
"uint"/>
748 <struct name=
"VPM generic block read setup">
749 <field name=
"id" size=
"2" start=
"30" type=
"uint" default=
"1"/>
751 <field name=
"horiz" size=
"1" start=
"29" type=
"bool"/>
752 <field name=
"laned" size=
"1" start=
"28" type=
"bool"/>
753 <field name=
"segs" size=
"1" start=
"27" type=
"bool"/>
754 <field name=
"num" size=
"5" start=
"22" type=
"uint"/>
755 <field name=
"stride" size=
"7" start=
"15" type=
"int"/>
757 <field name=
"size" size=
"2" start=
"13" type=
"uint">
758 <value name=
"VPM setup size 8-bit" value=
"0"/>
759 <value name=
"VPM setup size 16-bit" value=
"1"/>
760 <value name=
"VPM setup size 32-bit" value=
"2"/>
763 <field name=
"addr" size=
"13" start=
"0" type=
"uint"/>
766 <struct name=
"Texture Uniform Parameter 0 CFG_MODE=1">
767 <field name=
"Per-pixel mask enable" size=
"1" start=
"31" type=
"bool"/>
769 <field name=
"Texel offset for r coordinate" size=
"4" start=
"27" type=
"int"/>
770 <field name=
"Texel offset for t coordinate" size=
"4" start=
"23" type=
"int"/>
771 <field name=
"Texel offset for s coordinate" size=
"4" start=
"19" type=
"int"/>
773 <field name=
"R Wrap Mode" size=
"3" start=
"16" type=
"uint">
774 <value name=
"Wrap mode REPEAT" value=
"0"/>
775 <value name=
"Wrap mode CLAMP" value=
"1"/>
776 <value name=
"Wrap mode MIRROR" value=
"2"/>
777 <value name=
"Wrap mode BORDER" value=
"3"/>
778 <value name=
"Wrap mode MIRROR_ONCE" value=
"4"/>
781 <field name=
"T Wrap Mode" size=
"3" start=
"13" type=
"uint">
782 <value name=
"Wrap mode REPEAT" value=
"0"/>
783 <value name=
"Wrap mode CLAMP" value=
"1"/>
784 <value name=
"Wrap mode MIRROR" value=
"2"/>
785 <value name=
"Wrap mode BORDER" value=
"3"/>
786 <value name=
"Wrap mode MIRROR_ONCE" value=
"4"/>
789 <field name=
"S Wrap Mode" size=
"3" start=
"10" type=
"uint">
790 <value name=
"Wrap mode REPEAT" value=
"0"/>
791 <value name=
"Wrap mode CLAMP" value=
"1"/>
792 <value name=
"Wrap mode MIRROR" value=
"2"/>
793 <value name=
"Wrap mode BORDER" value=
"3"/>
794 <value name=
"Wrap mode MIRROR_ONCE" value=
"4"/>
797 <field name=
"New configuration mode" size=
"1" start=
"9" type=
"bool" default=
"1"/>
799 <field name=
"Shadow" size=
"1" start=
"8" type=
"bool"/>
800 <field name=
"Coefficient lookup mode" size=
"1" start=
"7" type=
"bool"/>
801 <field name=
"Disable AutoLOD, use bias only" size=
"1" start=
"6" type=
"bool"/>
802 <field name=
"Bias supplied" size=
"1" start=
"5" type=
"bool"/>
803 <field name=
"Gather sample mode" size=
"1" start=
"4" type=
"bool"/>
804 <field name=
"Fetch sample mode" size=
"1" start=
"3" type=
"bool"/>
806 <field name=
"Lookup Type" size=
"3" start=
"0" type=
"uint">
807 <value name=
"Texture 2D" value=
"0"/>
808 <value name=
"Texture 2D array" value=
"1"/>
809 <value name=
"Texture 3D" value=
"2"/>
810 <value name=
"Texture Cube Map" value=
"3"/>
811 <value name=
"Texture 1D" value=
"4"/>
812 <value name=
"Texture 1D Array" value=
"5"/>
813 <value name=
"Texture Child Image" value=
"6"/>
817 <struct name=
"Texture Uniform Parameter 1 CFG_MODE=1">
818 <field name=
"Texture state record base address" size=
"28" start=
"4" type=
"address"/>
819 <field name=
"Return words of texture data" size=
"4" start=
"0" type=
"uint"/>
822 <struct name=
"Texture Shader State">
823 <field name=
"UIF XOR disable" size=
"1" start=
"255" type=
"bool"/>
824 <field name=
"Level 0 is strictly UIF" size=
"1" start=
"254" type=
"bool"/>
825 <field name=
"Level 0 XOR enable" size=
"1" start=
"252" type=
"bool"/>
826 <field name=
"Level 0 UB_PAD" size=
"4" start=
"248" type=
"uint"/>
827 <field name=
"Output 32-bit" size=
"1" start=
"246" type=
"bool"/>
828 <field name=
"Sample Number" size=
"2" start=
"244" type=
"uint"/>
830 <field name=
"Base Level" size=
"4" start=
"240" type=
"uint"/>
831 <field name=
"Fixed Bias" size=
"16" start=
"224" type=
"s8.8"/>
832 <field name=
"Max Level-of-Detail" size=
"16" start=
"208" type=
"s8.8"/>
833 <field name=
"Min Level-of-Detail" size=
"16" start=
"192" type=
"s8.8"/>
835 <field name=
"Border Color alpha" size=
"16" start=
"176" type=
"uint"/>
836 <field name=
"Border Color blue" size=
"16" start=
"160" type=
"uint"/>
837 <field name=
"Border Color green" size=
"16" start=
"144" type=
"uint"/>
838 <field name=
"Border Color red" size=
"16" start=
"128" type=
"uint"/>
840 <field name=
"Flip S and T on incoming request" size=
"1" start=
"127" type=
"bool"/>
841 <field name=
"Flip ETC Y" size=
"1" start=
"126" type=
"bool" default=
"1"/>
842 <field name=
"Flip texture Y Axis" size=
"1" start=
"125" type=
"bool"/>
843 <field name=
"Flip texture X Axis" size=
"1" start=
"124" type=
"bool"/>
845 <field name=
"Swizzle A" size=
"3" start=
"121" type=
"uint">
846 <value name=
"Swizzle Zero" value=
"0"/>
847 <value name=
"Swizzle One" value=
"1"/>
848 <value name=
"Swizzle Red" value=
"2"/>
849 <value name=
"Swizzle Green" value=
"3"/>
850 <value name=
"Swizzle Blue" value=
"4"/>
851 <value name=
"Swizzle Alpha" value=
"5"/>
854 <field name=
"Swizzle B" size=
"3" start=
"118" type=
"uint"/>
855 <field name=
"Swizzle G" size=
"3" start=
"115" type=
"uint"/>
856 <field name=
"Swizzle R" size=
"3" start=
"112" type=
"uint"/>
858 <field name=
"Depth Compare Function" size=
"3" start=
"109" type=
"Compare Function"/>
860 <field name=
"sRGB" size=
"1" start=
"107" type=
"bool"/>
862 <field name=
"Texture type" size=
"7" start=
"100" type=
"uint"/>
864 <field name=
"Image Depth" size=
"14" start=
"86" type=
"uint"/>
865 <field name=
"Image Height" size=
"14" start=
"72" type=
"uint"/>
866 <field name=
"Image Width" size=
"14" start=
"58" type=
"uint"/>
868 <field name=
"Array Stride (64-byte aligned)" size=
"26" start=
"32" type=
"uint"/>
870 <field name=
"Texture base pointer" size=
"30" start=
"2" type=
"address"/>
872 <field name=
"Filter" size=
"4" start=
"0" type=
"TMU Filter"/>
875 <enum name=
"Texture Data Formats">
877 most formats here have R in the low bits, A in the high bits.
880 <value name=
"Texture Data Format R8" value=
"0"/>
881 <value name=
"Texture Data Format R8 SNORM" value=
"1"/>
882 <value name=
"Texture Data Format RG8" value=
"2"/>
883 <value name=
"Texture Data Format RG8 SNORM" value=
"3"/>
884 <value name=
"Texture Data Format RGBA8" value=
"4"/>
885 <value name=
"Texture Data Format RGBA8 SNORM" value=
"5"/>
886 <value name=
"Texture Data Format RGB565" value=
"6"/> <!-- B in low bits -->
887 <value name=
"Texture Data Format RGBA4" value=
"7"/> <!-- A low, R high -->
888 <value name=
"Texture Data Format RGB5_A1" value=
"8"/> <!-- A low, R high -->
889 <value name=
"Texture Data Format RGB10_A2" value=
"9"/> <!-- R low, A high -->
890 <value name=
"Texture Data Format R16" value=
"10"/>
891 <value name=
"Texture Data Format R16 SNORM" value=
"11"/>
892 <value name=
"Texture Data Format RG16" value=
"12"/>
893 <value name=
"Texture Data Format RG16 SNORM" value=
"13"/>
894 <value name=
"Texture Data Format RGBA16" value=
"14"/>
895 <value name=
"Texture Data Format RGBA16 SNORM" value=
"15"/>
896 <value name=
"Texture Data Format R16F" value=
"16"/>
897 <value name=
"Texture Data Format RG16F" value=
"17"/>
898 <value name=
"Texture Data Format RGBA16F" value=
"18"/>
899 <value name=
"Texture Data Format R11F_G11F_B10F" value=
"19"/>
900 <value name=
"Texture Data Format RGB9_E5" value=
"20"/>
901 <value name=
"Texture Data Format DEPTH COMP16" value=
"21"/>
902 <value name=
"Texture Data Format DEPTH COMP24" value=
"22"/>
903 <value name=
"Texture Data Format DEPTH COMP32F" value=
"23"/>
904 <value name=
"Texture Data Format DEPTH24_X8" value=
"24"/> <!-- X low, D high -->
905 <value name=
"Texture Data Format R4" value=
"25"/>
906 <value name=
"Texture Data Format R1" value=
"26"/>
907 <!-- generic unfiltered 8-bit sample -->
908 <value name=
"Texture Data Format S8" value=
"27"/>
909 <!-- generic unfiltered 16-bit sample -->
910 <value name=
"Texture Data Format S16" value=
"28"/>
911 <!-- generic unfiltered 32-bit sample -->
912 <value name=
"Texture Data Format R32F" value=
"29"/>
913 <!-- generic unfiltered 64-bit sample -->
914 <value name=
"Texture Data Format RG32F" value=
"30"/>
915 <!-- generic unfiltered 128-bit sample -->
916 <value name=
"Texture Data Format RGBA32F" value=
"31"/>
918 <value name=
"Texture Data Format RGB8_ETC2" value=
"32"/>
919 <value name=
"Texture Data Format RGB8_PUNCHTHROUGH_ALPHA1" value=
"33"/>
921 <value name=
"Texture Data Format R11_EAC" value=
"34"/>
922 <value name=
"Texture Data Format SIGNED_R11_EAC" value=
"35"/>
923 <value name=
"Texture Data Format RG11_EAC" value=
"36"/>
924 <value name=
"Texture Data Format SIGNED_RG11_EAC" value=
"37"/>
926 <value name=
"Texture Data Format RGBA8_ETC2_EAC" value=
"38"/>
927 <value name=
"Texture Data Format YCBCR_LUMA" value=
"39"/>
928 <value name=
"Texture Data Format YCBCR_420_CHROMA" value=
"40"/>
930 <value name=
"Texture Data Format BC1" value=
"48"/>
931 <value name=
"Texture Data Format BC2" value=
"49"/>
932 <value name=
"Texture Data Format BC3" value=
"50"/>
934 <value name=
"Texture Data Format ASTC_4x4" value=
"64"/>
935 <value name=
"Texture Data Format ASTC_5x4" value=
"65"/>
936 <value name=
"Texture Data Format ASTC_5x5" value=
"66"/>
937 <value name=
"Texture Data Format ASTC_6x5" value=
"67"/>
938 <value name=
"Texture Data Format ASTC_6x6" value=
"68"/>
939 <value name=
"Texture Data Format ASTC_8x5" value=
"69"/>
940 <value name=
"Texture Data Format ASTC_8x6" value=
"70"/>
941 <value name=
"Texture Data Format ASTC_8x8" value=
"71"/>
942 <value name=
"Texture Data Format ASTC_10x5" value=
"72"/>
943 <value name=
"Texture Data Format ASTC_10x6" value=
"73"/>
944 <value name=
"Texture Data Format ASTC_10x8" value=
"74"/>
945 <value name=
"Texture Data Format ASTC_10x10" value=
"75"/>
946 <value name=
"Texture Data Format ASTC_12x10" value=
"76"/>
947 <value name=
"Texture Data Format ASTC_12x12" value=
"77"/>
949 <value name=
"Texture Data Format R8I" value=
"96"/>
950 <value name=
"Texture Data Format R8UI" value=
"97"/>
951 <value name=
"Texture Data Format RG8I" value=
"98"/>
952 <value name=
"Texture Data Format RG8UI" value=
"99"/>
953 <value name=
"Texture Data Format RGBA8I" value=
"100"/>
954 <value name=
"Texture Data Format RGBA8UI" value=
"101"/>
956 <value name=
"Texture Data Format R16I" value=
"102"/>
957 <value name=
"Texture Data Format R16UI" value=
"103"/>
958 <value name=
"Texture Data Format RG16I" value=
"104"/>
959 <value name=
"Texture Data Format RG16UI" value=
"105"/>
960 <value name=
"Texture Data Format RGBA16I" value=
"106"/>
961 <value name=
"Texture Data Format RGBA16UI" value=
"107"/>
963 <value name=
"Texture Data Format R32I" value=
"108"/>
964 <value name=
"Texture Data Format R32UI" value=
"109"/>
965 <value name=
"Texture Data Format RG32I" value=
"110"/>
966 <value name=
"Texture Data Format RG32UI" value=
"111"/>
967 <value name=
"Texture Data Format RGBA32I" value=
"112"/>
968 <value name=
"Texture Data Format RGBA32UI" value=
"113"/>
969 <value name=
"Texture Data Format RGB10_A2UI" value=
"114"/>