• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<vcxml gen="4.1">
2
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"/>
12  </enum>
13
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"/>
30  </enum>
31
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"/>
42  </enum>
43
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"/>
53  </enum>
54
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"/>
70  </enum>
71
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"/>
77  </enum>
78
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"/>
85  </enum>
86
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"/>
100  </enum>
101
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"/>
106  </enum>
107
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"/>
115  </enum>
116
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"/>
122  </enum>
123
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"/>
134  </enum>
135
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"/>
140  </enum>
141
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"/>
146  </enum>
147
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  </enum>
153
154  <enum name="Output Image Format" prefix="V3D_OUTPUT_IMAGE_FORMAT">
155    <!--
156	Formats appear with their channels named from the low bits to
157	the high bits.
158    -->
159    <value name="srgb8_alpha8" value="0"/>
160    <value name="srgb" value="1"/>
161    <value name="rgb10_a2ui" value="2"/>
162    <value name="rgb10_a2" value="3"/>
163    <value name="abgr1555" value="4"/>
164    <value name="alpha-masked abgr1555" value="5"/>
165    <value name="abgr4444" value="6"/>
166    <value name="bgr565" value="7"/>
167    <value name="r11f_g11f_b10f" value="8"/>
168    <value name="rgba32f"  value="9"/>
169    <value name="rg32f"    value="10"/>
170    <value name="r32f"     value="11"/>
171    <value name="rgba32i"  value="12"/>
172    <value name="rg32i"    value="13"/>
173    <value name="r32i"     value="14"/>
174    <value name="rgba32ui" value="15"/>
175    <value name="rg32ui"   value="16"/>
176    <value name="r32ui"    value="17"/>
177    <value name="rgba16f"  value="18"/>
178    <value name="rg16f"    value="19"/>
179    <value name="r16f"     value="20"/>
180    <value name="rgba16i"  value="21"/>
181    <value name="rg16i"    value="22"/>
182    <value name="r16i"     value="23"/>
183    <value name="rgba16ui" value="24"/>
184    <value name="rg16ui"   value="25"/>
185    <value name="r16ui"    value="26"/>
186    <value name="rgba8"    value="27"/>
187    <value name="rgb8"     value="28"/>
188    <value name="rg8"      value="29"/>
189    <value name="r8"       value="30"/>
190    <value name="rgba8i"   value="31"/>
191    <value name="rg8i"     value="32"/>
192    <value name="r8i"      value="33"/>
193    <value name="rgba8ui"  value="34"/>
194    <value name="rg8ui"    value="35"/>
195    <value name="r8ui"     value="36"/>
196    <!-- rgbx8/srgbx8 were removed -->
197    <value name="bstc"     value="39"/>
198    <value name="d32f"     value="40"/>
199    <value name="d24"      value="41"/>
200    <value name="d16"      value="42"/>
201    <value name="d24s8"    value="43"/>
202    <value name="s8"       value="44"/>
203  </enum>
204
205  <packet code="0" name="Halt"/>
206  <packet code="1" name="NOP"/>
207  <packet code="4" name="Flush"/>
208  <packet code="5" name="Flush All State"/>
209  <packet code="6" name="Start Tile Binning"/>
210  <packet code="7" name="Increment Semaphore"/>
211  <packet code="8" name="Wait on Semaphore"/>
212  <packet code="9" name="Wait for previous frame"/>
213  <packet code="10" name="Enable Z-only rendering" cl="R"/>
214  <packet code="11" name="Disable Z-only rendering" cl="R"/>
215  <packet code="12" name="End of Z-only rendering in frame"/>
216  <packet code="13" name="End of rendering"/>
217
218  <packet code="14" name="Wait for transform feedback" cl="B">
219    <field name="Block count" size="8" start="0" type="uint"/>
220  </packet>
221
222  <packet code="15" name="Branch to auto-chained sub-list">
223    <field name="address" size="32" start="0" type="address"/>
224  </packet>
225
226  <packet code="16" name="Branch">
227    <field name="address" size="32" start="0" type="address"/>
228  </packet>
229
230  <packet code="17" name="Branch to Sub-list">
231    <field name="address" size="32" start="0" type="address"/>
232  </packet>
233
234  <packet code="18" name="Return from sub-list"/>
235  <packet code="19" name="Flush VCD cache"/>
236
237  <packet code="20" name="Start Address of Generic Tile List">
238    <field name="start" size="32" start="0" type="address"/>
239    <field name="end" size="32" start="32" type="address"/>
240  </packet>
241
242  <packet code="21" name="Branch to Implicit Tile List">
243    <field name="tile list set number" size="8" start="0" type="uint"/>
244  </packet>
245
246  <packet code="22" name="Branch to Explicit Supertile">
247    <field name="Absolute address of explicit supertile render list" size="32" start="24" type="address"/>
248    <field name="explicit supertile number" size="8" start="16" type="uint"/>
249    <field name="row number" size="8" start="8" type="uint"/>
250    <field name="column number" size="8" start="0" type="uint"/>
251  </packet>
252
253  <packet code="23" name="Supertile Coordinates">
254    <field name="row number in supertiles" size="8" start="8" type="uint"/>
255    <field name="column number in supertiles" size="8" start="0" type="uint"/>
256  </packet>
257
258  <packet code="25" name="Clear Tile Buffers" cl="R">
259    <field name="Clear Z/Stencil Buffer" size="1" start="1" type="bool"/>
260    <field name="Clear all Render Targets" size="1" start="0" type="bool"/>
261  </packet>
262
263  <packet code="26" name="End of Loads" cl="R"/>
264  <packet code="27" name="End of Tile Marker" cl="R"/>
265
266  <packet code="29" name="Store Tile Buffer General" cl="R">
267    <field name="Address" size="32" start="64" type="address"/>
268
269    <!-- used for y flip -->
270    <field name="Height" size="16" start="48" type="uint"/>
271
272    <!-- height in ub for UIF, byte stride for raster -->
273    <field name="Height in UB or Stride" size="20" start="28" type="uint"/>
274
275    <field name="R/B swap" size="1" start="20" type="bool"/>
276    <field name="Channel Reverse" size="1" start="19" type="bool"/>
277    <field name="Clear buffer being stored" size="1" start="18" type="bool"/>
278    <field name="Output Image Format" size="6" start="12" type="Output Image Format"/>
279
280    <field name="Decimate" size="2" start="10" type="Decimate Mode"/>
281
282    <field name="A dithered" size="1" start="9" type="bool"/>
283    <field name="BGR dithered" size="1" start="8" type="bool"/>
284
285    <field name="Flip Y" size="1" start="7" type="bool"/>
286
287    <field name="Memory Format" size="3" start="4" type="Memory Format"/>
288    <field name="Buffer to Store" size="4" start="0" type="uint">
289      <value name="Render target 0" value="0"/>
290      <value name="Render target 1" value="1"/>
291      <value name="Render target 2" value="2"/>
292      <value name="Render target 3" value="3"/>
293      <value name="None" value="8"/>
294      <value name="Z" value="9"/>
295      <value name="Stencil" value="10"/>
296      <value name="Z+Stencil" value="11"/>
297    </field>
298  </packet>
299
300  <packet code="30" name="Load Tile Buffer General" cl="R">
301    <field name="Address" size="32" start="64" type="address"/>
302
303    <!-- used for y flip -->
304    <field name="Height" size="16" start="48" type="uint"/>
305
306    <!-- height in ub for UIF, byte stride for raster -->
307    <field name="Height in UB or Stride" size="20" start="28" type="uint"/>
308
309    <field name="R/B swap" size="1" start="20" type="bool"/>
310    <field name="Channel Reverse" size="1" start="19" type="bool"/>
311
312    <field name="Input Image Format" size="6" start="12" type="Output Image Format"/>
313
314    <field name="Decimate" size="2" start="10" type="Decimate Mode"/>
315
316    <field name="Flip Y" size="1" start="7" type="bool"/>
317
318    <field name="Memory Format" size="3" start="4" type="Memory Format"/>
319    <field name="Buffer to Load" size="4" start="0" type="uint">
320      <value name="Render target 0" value="0"/>
321      <value name="Render target 1" value="1"/>
322      <value name="Render target 2" value="2"/>
323      <value name="Render target 3" value="3"/>
324      <value name="None" value="8"/>
325      <value name="Z" value="9"/>
326      <value name="Stencil" value="10"/>
327      <value name="Z+Stencil" value="11"/>
328    </field>
329  </packet>
330
331  <packet code="32" name="Indexed Primitive List" cl="B">
332    <field name="Index Offset" size="32" start="40" type="uint"/>
333
334    <field name="Enable Primitive Restarts" size="1" start="39" type="bool"/>
335    <field name="Length" size="31" start="8" type="uint"/>
336
337    <field name="Index type" size="2" start="6" type="uint">
338      <value name="Index type 8-bit" value="0"/>
339      <value name="Index type 16-bit" value="1"/>
340      <value name="Index type 32-bit" value="2"/>
341    </field>
342
343    <field name="mode" size="6" start="0" type="Primitive"/>
344  </packet>
345
346  <packet code="34" name="Indexed Instanced Primitive List" cl="B">
347    <field name="Index Offset" size="32" start="72" type="uint"/>
348    <field name="Number of Instances" size="32" start="40" type="uint"/>
349    <field name="Enable Primitive Restarts" size="1" start="39" type="bool"/>
350    <field name="Instance Length" size="31" start="8" type="uint"/>
351
352    <field name="Index type" size="2" start="6" type="uint">
353      <value name="Index type 8-bit" value="0"/>
354      <value name="Index type 16-bit" value="1"/>
355      <value name="Index type 32-bit" value="2"/>
356    </field>
357
358    <field name="mode" size="6" start="0" type="Primitive"/>
359  </packet>
360
361  <packet code="36" name="Vertex Array Primitives" cl="B">
362    <field name="Index of First Vertex" size="32" start="40" type="uint"/>
363    <field name="Length" size="32" start="8" type="uint"/>
364
365    <field name="mode" size="8" start="0" type="Primitive"/>
366  </packet>
367
368  <packet code="38" name="Vertex Array Instanced Primitives" cl="B">
369    <field name="Index of First Vertex" size="32" start="72" type="uint"/>
370    <field name="Number of Instances" size="32" start="40" type="uint"/>
371    <field name="Instance Length" size="32" start="8" type="uint"/>
372
373    <field name="mode" size="8" start="0" type="Primitive"/>
374  </packet>
375
376  <packet code="43" name="Base Vertex Base Instance" cl="B">
377    <field name="Base Instance" size="32" start="32" type="uint"/>
378
379    <field name="Base Vertex" size="32" start="0" type="uint"/>
380  </packet>
381
382  <packet code="44" name="Index Buffer Setup" cl="B">
383    <field name="Address" size="32" start="0" type="address"/>
384    <field name="Size" size="32" start="32" type="uint"/>
385  </packet>
386
387  <packet code="56" name="Primitive List Format">
388    <field name="data type" size="1" start="6" type="uint">
389      <value name="List Indexed" value="0"/>
390      <value name="List 32-bit X/Y" value="1"/>
391    </field>
392    <field name="primitive type" size="6" start="0" type="uint">
393      <value name="List Points" value="0"/>
394      <value name="List Lines" value="1"/>
395      <value name="List Triangles" value="2"/>
396    </field>
397  </packet>
398
399  <packet code="64" name="GL Shader State">
400    <field name="address" size="27" start="5" type="address"/>
401    <field name="number of attribute arrays" size="5" start="0" type="uint"/>
402  </packet>
403
404  <packet code="73" name="Transform Feedback Buffer">
405    <field name="Buffer Address" size="32" start="32" type="address"/>
406    <field name="Buffer Size in 32-bit words" size="30" start="2" type="uint"/>
407    <field name="Buffer Number" size="2" start="0" type="uint"/>
408  </packet>
409
410  <packet code="74" name="Transform Feedback Specs">
411    <field name="Enable" size="1" start="7" type="bool"/>
412    <field name="Number of 16-bit Output Data Specs following" size="5" start="0" type="uint"/>
413  </packet>
414
415  <packet code="75" name="Flush Transform Feedback Data"/>
416
417  <struct name="Transform Feedback Output Data Spec">
418    <field name="First Shaded Vertex Value to output" size="8" start="0" type="uint"/>
419    <field name="Number of consecutive Vertex Values to output as 32-bit values minus 1" size="4" start="8" type="uint"/>
420    <field name="Output Buffer to write to" size="2" start="12" type="uint"/>
421  </struct>
422
423  <struct name="Transform Feedback Output Address">
424    <field name="address" size="32" start="0" type="address"/>
425  </struct>
426
427  <packet code="80" name="Stencil Config">
428    <field name="Stencil Write Mask" size="8" start="32" type="uint"/>
429    <field name="Back Config" size="1" start="29" type="bool"/>
430    <field name="Front Config" size="1" start="28" type="bool"/>
431    <field name="Stencil Pass Op" size="3" start="25" type="Stencil Op"/>
432    <field name="Depth Test Fail Op" size="3" start="22" type="Stencil Op"/>
433    <field name="Stencil Test Fail Op" size="3" start="19" type="Stencil Op"/>
434    <field name="Stencil Test Function" size="3" start="16" type="Compare Function"/>
435    <field name="Stencil Test Mask" size="8" start="8" type="uint"/>
436    <field name="Stencil Ref Value" size="8" start="0" type="uint"/>
437  </packet>
438
439  <packet code="83" name="Blend Enables">
440    <field name="Mask" size="8" start="0" type="uint"/>
441  </packet>
442
443  <packet code="84" name="Blend Config">
444    <field name="VG Coverage Modes" size="2" start="28" type="uint"/>
445    <field name="Render Target Mask" size="4" start="24" type="uint"/>
446    <field name="Colour blend dst factor" size="4" start="20" type="Blend Factor"/>
447    <field name="Colour blend src factor" size="4" start="16" type="Blend Factor"/>
448    <field name="Colour blend mode" size="4" start="12" type="Blend Mode"/>
449    <field name="Alpha blend dst factor" size="4" start="8" type="Blend Factor"/>
450    <field name="Alpha blend src factor" size="4" start="4" type="Blend Factor"/>
451    <field name="Alpha blend mode" size="4" start="0" type="Blend Mode"/>
452  </packet>
453
454  <packet code="86" name="Blend Constant Colour">
455    <field name="Alpha (F16)" size="16" start="48" type="uint"/>
456    <field name="Blue (F16)" size="16" start="32" type="uint"/>
457    <field name="Green (F16)" size="16" start="16" type="uint"/>
458    <field name="Red (F16)" size="16" start="0" type="uint"/>
459  </packet>
460
461  <packet code="87" name="Colour Write Masks">
462    <field name="Reserved" size="16" start="16" type="uint"/>
463    <field name="Render Target 3 per colour component write masks" size="4" start="12" type="uint"/>
464    <field name="Render Target 2 per colour component write masks" size="4" start="8" type="uint"/>
465    <field name="Render Target 1 per colour component write masks" size="4" start="4" type="uint"/>
466    <field name="Render Target 0 per colour component write masks" size="4" start="0" type="uint"/>
467  </packet>
468
469  <packet code="88" name="Zero All Centroid Flags"/>
470
471  <packet code="89" name="Centroid Flags">
472    <field name="Centroid Flags for varyings V0*24" size="24" start="8" type="uint"/>
473    <field name="Action for Centroid Flags of higher numbered varyings" size="2" start="6" type="Varying Flags Action"/>
474    <field name="Action for Centroid Flags of lower numbered varyings" size="2" start="4" type="Varying Flags Action"/>
475    <field name="Varying offset V0" size="4" start="0" type="uint"/>
476  </packet>
477
478  <packet code="92" name="Occlusion Query Counter">
479    <field name="address" size="32" start="0" type="address"/>
480  </packet>
481
482  <packet code="96" name="Configuration Bits">
483    <field name="Direct3D Provoking Vertex" size="1" start="21" type="bool"/>
484    <field name="Direct3D 'Point-fill' mode" size="1" start="20" type="bool"/>
485    <field name="Blend enable" size="1" start="19" type="bool"/>
486    <field name="Stencil enable" size="1" start="18" type="bool"/>
487    <field name="Early Z updates enable" size="1" start="17" type="bool"/>
488    <field name="Early Z enable" size="1" start="16" type="bool"/>
489    <field name="Z updates enable" size="1" start="15" type="bool"/>
490    <field name="Depth-Test Function" size="3" start="12" type="Compare Function"/>
491    <field name="Direct3D Wireframe triangles mode" size="1" start="11" type="bool"/>
492    <field name="Coverage Update Mode" size="2" start="9" type="uint"/>
493    <field name="Coverage Pipe Select" size="1" start="8" type="bool"/>
494    <field name="Rasterizer Oversample Mode" size="2" start="6" type="uint"/>
495    <field name="Line Rasterization" size="2" start="4" type="uint"/>
496    <field name="Enable Depth Offset" size="1" start="3" type="bool"/>
497    <field name="Clockwise Primitives" size="1" start="2" type="bool"/>
498    <field name="Enable Reverse Facing Primitive" size="1" start="1" type="bool"/>
499    <field name="Enable Forward Facing Primitive" size="1" start="0" type="bool"/>
500  </packet>
501
502  <packet code="97" name="Zero All Flat Shade Flags"/>
503
504  <packet code="98" name="Flat Shade Flags">
505    <field name="Flat Shade Flags for varyings V0*24" size="24" start="8" type="uint"/>
506    <field name="Action for Flat Shade Flags of higher numbered varyings" size="2" start="6" type="Varying Flags Action"/>
507    <field name="Action for Flat Shade Flags of lower numbered varyings" size="2" start="4" type="Varying Flags Action"/>
508    <field name="Varying offset V0" size="4" start="0" type="uint"/>
509  </packet>
510
511  <packet code="99" name="Zero All Non-perspective Flags"/>
512
513  <packet code="100" name="Non-perspective Flags">
514    <field name="Non-perspective Flags for varyings V0*24" size="24" start="8" type="uint"/>
515    <field name="Action for Non-perspective Flags of higher numbered varyings" size="2" start="6" type="Varying Flags Action"/>
516    <field name="Action for Non-perspectivey Flags of lower numbered varyings" size="2" start="4" type="Varying Flags Action"/>
517    <field name="Varying offset V0" size="4" start="0" type="uint"/>
518  </packet>
519
520  <packet code="104" name="Point size">
521    <field name="Point Size" size="32" start="0" type="float"/>
522  </packet>
523
524  <packet code="105" name="Line width">
525    <field name="Line width" size="32" start="0" type="float"/>
526  </packet>
527
528  <packet name="Depth Offset" code="106">
529    <field name="Limit" size="32" start="32" type="float"/>
530    <!-- these fields are both float-1-8-7 encoded (top 16 bits of a float32) -->
531    <field name="Depth Offset Units" size="16" start="16" type="uint"/>
532    <field name="Depth Offset Factor" size="16" start="0" type="uint"/>
533  </packet>
534
535  <packet name="Clip Window" code="107">
536    <field name="Clip Window Height in pixels" size="16" start="48" type="uint"/>
537    <field name="Clip Window Width in pixels" size="16" start="32" type="uint"/>
538    <field name="Clip Window Bottom Pixel Coordinate" size="16" start="16" type="uint"/>
539    <field name="Clip Window Left Pixel Coordinate" size="16" start="0" type="uint"/>
540  </packet>
541
542  <packet name="Viewport Offset" code="108">
543    <field name="Coarse Y" size="10" start="54" type="uint"/>
544    <field name="Viewport Centre Y-coordinate" size="22" start="32" type="s14.8"/>
545    <field name="Coarse X" size="10" start="22" type="uint"/>
546    <field name="Viewport Centre X-coordinate" size="22" start="0" type="s14.8"/>
547  </packet>
548
549  <packet name="Clipper Z min/max clipping planes" code="109">
550    <field name="Maximum Zw" size="32" start="32" type="float"/>
551    <field name="Minimum Zw" size="32" start="0" type="float"/>
552  </packet>
553
554  <packet name="Clipper XY Scaling" code="110" cl="B">
555    <field name="Viewport Half-Height in 1/256th of pixel" size="32" start="32" type="float"/>
556    <field name="Viewport Half-Width in 1/256th of pixel" size="32" start="0" type="float"/>
557  </packet>
558
559  <packet name="Clipper Z Scale and Offset" code="111" cl="B">
560    <field name="Viewport Z Offset (Zc to Zs)" size="32" start="32" type="float"/>
561    <field name="Viewport Z Scale (Zc to Zs)" size="32" start="0" type="float"/>
562  </packet>
563
564  <packet name="Number of Layers" code="119">
565    <field name="Number of Layers Minus 1" size="8" start="0" type="uint"/>
566  </packet>
567
568  <packet code="120" name="Tile Binning Mode Configuration (Part1)">
569
570    <field name="Height (in pixels minus 1)" size="12" start="48" type="uint"/>
571    <field name="Width (in pixels minus 1)" size="12" start="32" type="uint"/>
572
573    <field name="Double-buffer in non-ms mode" size="1" start="15" type="bool"/>
574    <field name="Multisample Mode (4x)" size="1" start="14" type="bool"/>
575
576    <field name="Maximum BPP of all render targets" size="2" start="12" type="uint">
577      <value name="Render target maximum 32bpp" value="0"/>
578      <value name="Render target maximum 64bpp" value="1"/>
579      <value name="Render target maximum 128bpp" value="2"/>
580    </field>
581
582    <field name="Number of Render Targets minus 1" size="4" start="8" type="uint"/>
583
584    <field name="tile allocation block size" size="2" start="4" type="uint">
585      <value name="tile allocation block size 64b" value="0"/>
586      <value name="tile allocation block size 128b" value="1"/>
587      <value name="tile allocation block size 256b" value="2"/>
588    </field>
589    <field name="tile allocation initial block size" size="2" start="2" type="uint">
590      <value name="tile allocation initial block size 64b" value="0"/>
591      <value name="tile allocation initial block size 128b" value="1"/>
592      <value name="tile allocation initial block size 256b" value="2"/>
593    </field>
594  </packet>
595
596  <packet code="121" name="Tile Rendering Mode Configuration (Common Configuration)" cl="R">
597    <field name="Pad" size="12" start="52" type="uint"/>
598
599    <field name="Early Depth/Stencil Clear" size="1" start="51" type="bool"/>
600    <field name="Internal Depth Type" size="4" start="47" type="Internal Depth Type"/>
601
602    <field name="Early-Z disable" size="1" start="46" type="bool"/>
603
604    <field name="Early-Z Test and Update Direction" size="1" start="45" type="uint">
605      <value name="Early-Z direction LT/LE" value="0"/>
606      <value name="Early-Z direction GT/GE" value="1"/>
607    </field>
608
609    <field name="Select Coverage Mode" size="1" start="44" type="bool"/>
610    <field name="Double-buffer in non-ms mode" size="1" start="43" type="bool"/>
611    <field name="Multisample Mode (4x)" size="1" start="42" type="bool"/>
612
613    <field name="Maximum BPP of all render targets" size="2" start="40" type="Internal BPP"/>
614
615    <field name="Image Height (pixels)" size="16" start="24" type="uint"/>
616    <field name="Image Width (pixels)" size="16" start="8" type="uint"/>
617    <field name="Number of Render Targets Minus 1" size="4" start="4" type="uint"/>
618
619    <field name="sub-id" size="4" start="0" type="uint" default="0"/>
620  </packet>
621
622  <packet code="121" name="Tile Rendering Mode Configuration (Render Target config)" cl="R">
623
624    <field name="Pad" size="28" start="34" type="uint"/>
625
626    <field name="Render Target 3 Clamp" size="2" start="32" type="Render Target Clamp"/>
627    <field name="Render Target 3 Internal Type" size="4" start="30" type="Internal Type"/>
628    <field name="Render Target 3 Internal BPP" size="2" start="28" type="Internal BPP"/>
629
630    <field name="Render Target 2 Clamp" size="2" start="26" type="Render Target Clamp"/>
631    <field name="Render Target 2 Internal Type" size="4" start="22" type="Internal Type"/>
632    <field name="Render Target 2 Internal BPP" size="2" start="20" type="Internal BPP"/>
633
634    <field name="Render Target 1 Clamp" size="2" start="18" type="Render Target Clamp"/>
635    <field name="Render Target 1 Internal Type" size="4" start="14" type="Internal Type"/>
636    <field name="Render Target 1 Internal BPP" size="2" start="12" type="Internal BPP"/>
637
638    <field name="Render Target 0 Clamp" size="2" start="10" type="Render Target Clamp"/>
639    <field name="Render Target 0 Internal Type" size="4" start="6" type="Internal Type"/>
640    <field name="Render Target 0 Internal BPP" size="2" start="4" type="Internal BPP"/>
641
642    <field name="sub-id" size="4" start="0" type="uint" default="1"/>
643  </packet>
644
645  <packet code="121" name="Tile Rendering Mode Configuration (Z Stencil Clear Values)" cl="R">
646    <field name="unused" size="16" start="48" type="uint"/>
647
648    <field name="Z Clear Value" size="32" start="16" type="float"/>
649
650    <field name="Stencil/VG Mask Clear Value" size="8" start="8" type="uint"/>
651    <field name="sub-id" size="4" start="0" type="uint" default="2"/>
652  </packet>
653
654  <packet code="121" name="Tile Rendering Mode Configuration (Clear Colors Part1)" cl="R">
655    <!-- Express this as a 56-bit field? -->
656    <field name="Clear Color next 24 bits" size="24" start="40" type="uint"/>
657    <field name="Clear Color low 32 bits" size="32" start="8" type="uint"/>
658
659    <field name="Render Target number" size="4" start="4" type="uint"/>
660    <field name="sub-id" size="4" start="0" type="uint" default="3"/>
661  </packet>
662
663  <packet code="121" name="Tile Rendering Mode Configuration (Clear Colors Part2)" cl="R">
664    <!-- Express this as a 56-bit field? -->
665    <field name="Clear Color mid-high 24 bits" size="24" start="40" type="uint"/>
666    <field name="Clear Color mid-low 32 bits" size="32" start="8" type="uint"/>
667
668    <field name="Render Target number" size="4" start="4" type="uint"/>
669    <field name="sub-id" size="4" start="0" type="uint" default="4"/>
670  </packet>
671
672  <packet code="121" name="Tile Rendering Mode Configuration (Clear Colors Part3)" cl="R">
673    <field name="pad" size="11" start="53" type="uint"/>
674    <field name="UIF padded height in UIF blocks" size="13" start="40" type="uint"/>
675    <!-- image height is for Y flipping -->
676    <field name="Raster Row Stride or Image Height in Pixels" size="16" start="24" type="uint"/>
677    <field name="Clear Color high 16 bits" size="16" start="8" type="uint"/>
678
679    <field name="Render Target number" size="4" start="4" type="uint"/>
680    <field name="sub-id" size="4" start="0" type="uint" default="5"/>
681  </packet>
682
683  <packet code="124" name="Tile Coordinates">
684    <field name="tile row number" size="12" start="12" type="uint"/>
685    <field name="tile column number" size="12" start="0" type="uint"/>
686  </packet>
687
688  <packet code="122" name="Multicore Rendering Supertile Configuration" cl="R">
689    <field name="Supertile Raster Order" size="1" start="60" type="bool"/>
690    <field name="Multicore Enable" size="1" start="56" type="bool"/>
691
692    <field name="Total Frame Height in Tiles" size="12" start="44" type="uint"/>
693    <field name="Total Frame Width in Tiles" size="12" start="32" type="uint"/>
694
695    <field name="Total Frame Height in Supertiles" size="8" start="24" type="uint"/>
696    <field name="Total Frame Width in Supertiles" size="8" start="16" type="uint"/>
697
698    <field name="Supertile Height in Tiles minus 1" size="8" start="8" type="uint"/>
699    <field name="Supertile Width in Tiles minus 1" size="8" start="0" type="uint"/>
700  </packet>
701
702  <packet code="123" name="Multicore Rendering Tile List Set Base" cl="R">
703    <field name="address" size="26" start="6" type="address"/>
704    <field name="Tile List Set Number" size="4" start="0" type="uint"/>
705  </packet>
706
707  <!-- add fields -->
708  <packet code="125" name="Tile Coordinates Implicit"/>
709
710  <packet code="126" name="Tile List Initial Block Size">
711    <field name="Use auto-chained tile lists" size="1" start="2" type="bool"/>
712
713    <field name="Size of first block in chained tile lists" size="2" start="0" type="uint">
714      <value name="tile allocation block size 64b" value="0"/>
715      <value name="tile allocation block size 128b" value="1"/>
716      <value name="tile allocation block size 256b" value="2"/>
717    </field>
718  </packet>
719
720  <struct name="Geometry Shader State Record">
721    <field name="Geometry Bin Mode Shader Code Address" size="32" start="0b" type="address"/>
722    <field name="4-way threadable" size="1" start="0" type="bool"/>
723    <field name="Start in final thread section" size="1" start="1" type="bool"/>
724    <field name="Propagate NaNs" size="1" start="2" type="bool"/>
725    <field name="Geometry Bin Mode Shader Uniforms Address" size="32" start="4b" type="address"/>
726    <field name="Geometry Render Mode Shader Code Address" size="32" start="8b" type="address"/>
727    <field name="Geometry Render Mode Shader Uniforms Address" size="32" start="12b" type="address"/>
728  </struct>
729
730  <struct name="Tessellation Shader State Record">
731    <field name="Tessellation Bin Mode Control Shader Code Address" size="32" start="0b" type="address"/>
732    <field name="Tessellation Bin Mode Control Shader Uniforms Address" size="32" start="4b" type="address"/>
733    <field name="Tessellation Render Mode Control Shader Code Address" size="32" start="8b" type="address"/>
734    <field name="Tessellation Render Mode Control Shader Uniforms Address" size="32" start="12b" type="address"/>
735
736    <field name="Tessellation Bin Mode Evaluation Shader Code Address" size="32" start="16b" type="address"/>
737    <field name="Tessellation Bin Mode Evaluation Shader Uniforms Address" size="32" start="20b" type="address"/>
738    <field name="Tessellation Render Mode Evaluation Shader Code Address" size="32" start="24b" type="address"/>
739    <field name="Tessellation Render Mode Evaluation Shader Uniforms Address" size="32" start="28b" type="address"/>
740  </struct>
741
742  <struct name="GL Shader State Record">
743    <field name="Point size in shaded vertex data" size="1" start="0" type="bool"/>
744    <field name="Enable clipping" size="1" start="1" type="bool"/>
745
746    <field name="Vertex ID read by coordinate shader" size="1" start="2" type="bool"/>
747    <field name="Instance ID read by coordinate shader" size="1" start="3" type="bool"/>
748    <field name="Base Instance ID read by coordinate shader" size="1" start="4" type="bool"/>
749    <field name="Vertex ID read by vertex shader" size="1" start="5" type="bool"/>
750    <field name="Instance ID read by vertex shader" size="1" start="6" type="bool"/>
751    <field name="Base Instance ID read by vertex shader" size="1" start="7" type="bool"/>
752
753    <field name="Fragment shader does Z writes" size="1" start="8" type="bool"/>
754    <field name="Turn off early-z test" size="1" start="9" type="bool"/>
755    <field name="Coordinate shader has separate input and output VPM blocks" size="1" start="10" type="bool"/>
756    <field name="Vertex shader has separate input and output VPM blocks" size="1" start="11" type="bool"/>
757    <field name="Fragment shader uses real pixel centre W in addition to centroid W2" size="1" start="12" type="bool"/>
758    <field name="Enable Sample Rate Shading" size="1" start="13" type="bool"/>
759    <field name="Any shader reads hardwrae-written Primitive ID" size="1" start="14" type="bool"/>
760    <field name="Insert Primitive ID as first varying to fragment shader" size="1" start="15" type="bool"/>
761    <field name="Turn off scoreboard" size="1" start="16" type="bool"/>
762    <field name="Do scoreboard wait on first thread switch" size="1" start="17" type="bool"/>
763    <field name="Disable implicit point/line varyings" size="1" start="18" type="bool"/>
764
765    <field name="Number of varyings in Fragment Shader" size="8" start="3b" type="uint"/>
766
767    <field name="Coordinate Shader output VPM segment size" size="4" start="4b" type="uint"/>
768    <field name="Min Coord Shader output segments required in play in addition to VCM cache size" size="4" start="36" type="uint"/>
769
770    <field name="Coordinate Shader input VPM segment size" size="4" start="5b" type="uint"/>
771    <field name="Min Coord Shader input segments required in play minus 1" size="4" start="44" type="uint"/>
772
773    <field name="Vertex Shader output VPM segment size" size="4" start="6b" type="uint"/>
774    <field name="Min Vertex Shader output segments required in play in addition to VCM cache size" size="4" start="52" type="uint"/>
775
776    <field name="Vertex Shader input VPM segment size" size="4" start="7b" type="uint"/>
777    <field name="Min Vertex Shader input segments required in play minus 1" size="4" start="60" type="uint"/>
778
779    <field name="Address of default attribute values" size="32" start="8b" type="address"/>
780
781    <field name="Fragment Shader Code Address" size="32" start="12b" type="address"/>
782    <field name="Fragment Shader 4-way threadable" size="1" start="96" type="bool"/>
783    <field name="Fragment Shader start in final thread section" size="1" start="97" type="bool"/>
784    <field name="Propagate NaNs" size="1" start="98" type="bool"/>
785    <field name="Fragment Shader Uniforms Address" size="32" start="16b" type="address"/>
786
787    <field name="Vertex Shader Code Address" size="32" start="20b" type="address"/>
788    <field name="Vertex Shader 4-way threadable" size="1" start="160" type="bool"/>
789    <field name="Vertex Shader start in final thread section" size="1" start="161" type="bool"/>
790    <field name="Vertex Shader Uniforms Address" size="32" start="24b" type="address"/>
791
792    <field name="Coordinate Shader Code Address" size="32" start="28b" type="address"/>
793    <field name="Coordinate Shader 4-way threadable" size="1" start="224" type="bool"/>
794    <field name="Coordinate Shader start in final thread section" size="1" start="225" type="bool"/>
795    <field name="Coordinate Shader Uniforms Address" size="32" start="32b" type="address"/>
796  </struct>
797
798  <struct name="GL Shader State Attribute Record">
799    <field name="Address" size="32" start="0" type="address"/>
800
801    <field name="Vec size" size="2" start="32" type="uint"/>
802    <field name="Type" size="3" start="34" type="uint">
803      <value name="Attribute half-float" value="1"/>
804      <value name="Attribute float" value="2"/>
805      <value name="Attribute fixed" value="3"/>
806      <value name="Attribute byte" value="4"/>
807      <value name="Attribute short" value="5"/>
808      <value name="Attribute int" value="6"/>
809      <value name="Attribute int2_10_10_10" value="7"/>
810    </field>
811    <field name="Signed int type" size="1" start="37" type="bool"/>
812    <field name="Normalized int type" size="1" start="38" type="bool"/>
813    <field name="Read as int/uint" size="1" start="39" type="bool"/>
814
815    <field name="Number of values read by Coordinate shader" size="4" start="40" type="uint"/>
816    <field name="Number of values read by Vertex shader" size="4" start="44" type="uint"/>
817
818    <field name="Instance Divisor" size="16" start="6b" type="uint"/>
819    <field name="Stride" size="32" start="8b" type="uint"/>
820    <field name="Maximum Index" size="32" start="12b" type="uint"/>
821  </struct>
822
823  <struct name="VPM generic block write setup">
824    <field name="id" size="2" start="30" type="uint" default="0"/>
825    <field name="id0" size="3" start="27" type="uint" default="0"/>
826
827    <field name="horiz" size="1" start="24" type="bool"/>
828    <field name="laned" size="1" start="23" type="bool"/>
829    <field name="segs" size="1" start="22" type="bool"/>
830    <field name="stride" size="7" start="15" type="int"/>
831
832    <field name="size" size="2" start="13" type="uint">
833      <value name="VPM setup size 8-bit" value="0"/>
834      <value name="VPM setup size 16-bit" value="1"/>
835      <value name="VPM setup size 32-bit" value="2"/>
836    </field>
837
838    <field name="addr" size="13" start="0" type="uint"/>
839  </struct>
840
841  <struct name="VPM generic block read setup">
842    <field name="id" size="2" start="30" type="uint" default="1"/>
843
844    <field name="horiz" size="1" start="29" type="bool"/>
845    <field name="laned" size="1" start="28" type="bool"/>
846    <field name="segs" size="1" start="27" type="bool"/>
847    <field name="num" size="5" start="22" type="uint"/>
848    <field name="stride" size="7" start="15" type="int"/>
849
850    <field name="size" size="2" start="13" type="uint">
851      <value name="VPM setup size 8-bit" value="0"/>
852      <value name="VPM setup size 16-bit" value="1"/>
853      <value name="VPM setup size 32-bit" value="2"/>
854    </field>
855
856    <field name="addr" size="13" start="0" type="uint"/>
857  </struct>
858
859  <struct name="TMU Config Parameter 0">
860    <field name="Texture state address" size="32" start="0" type="address"/>
861    <field name="Return words of texture data" size="4" start="0" type="uint"/>
862  </struct>
863
864  <struct name="TMU Config Parameter 1">
865    <field name="Sampler state address" size="32" start="0" type="address"/>
866    <field name="Per-pixel mask enable" size="1" start="2" type="bool"/>
867    <field name="Unnormalized coordinates" size="1" start="1" type="bool"/>
868    <field name="Output Type 32-bit" size="1" start="0" type="bool"/>
869  </struct>
870
871  <struct name="TMU Config Parameter 2">
872    <field name="Pad" size="24" start="8" type="uint"/>
873    <field name="Op" size="4" start="20" type="TMU Op"/>
874    <field name="Offset R" size="4" start="16" type="int"/>
875    <field name="Offset T" size="4" start="12" type="int"/>
876    <field name="Offset S" size="4" start="8" type="int"/>
877    <field name="Gather Mode" size="1" start="7" type="bool"/>
878    <field name="Gather Component" size="2" start="5" type="uint"/>
879    <field name="Coefficient Mode" size="1" start="4" type="bool"/>
880    <field name="Sample Number" size="2" start="2" type="uint"/>
881    <field name="Disable AutoLOD" size="1" start="1" type="bool"/>
882    <field name="Offset Format 8" size="1" start="0" type="bool"/>
883  </struct>
884
885  <struct name="Texture Shader State">
886    <field name="Pad" size="56" start="136" type="uint"/>
887    <field name="UIF XOR disable" size="1" start="135" type="bool"/>
888    <field name="Level 0 is strictly UIF" size="1" start="134" type="bool"/>
889    <field name="Level 0 XOR enable" size="1" start="132" type="bool"/>
890    <field name="Level 0 UB_PAD" size="4" start="128" type="uint"/>
891
892    <field name="Base Level" size="4" start="124" type="uint"/>
893    <field name="Max Level" size="4" start="120" type="uint"/>
894
895    <field name="Swizzle A" size="3" start="117" type="uint">
896      <value name="Swizzle Zero" value="0"/>
897      <value name="Swizzle One" value="1"/>
898      <value name="Swizzle Red" value="2"/>
899      <value name="Swizzle Green" value="3"/>
900      <value name="Swizzle Blue" value="4"/>
901      <value name="Swizzle Alpha" value="5"/>
902    </field>
903
904    <field name="Swizzle B" size="3" start="114" type="uint"/>
905    <field name="Swizzle G" size="3" start="111" type="uint"/>
906    <field name="Swizzle R" size="3" start="108" type="uint"/>
907    <field name="Extended" size="1" start="107" type="bool"/>
908
909    <field name="Texture type" size="7" start="100" type="uint"/>
910    <field name="Image Depth" size="14" start="86" type="uint"/>
911    <field name="Image Height" size="14" start="72" type="uint"/>
912    <field name="Image Width" size="14" start="58" type="uint"/>
913
914    <field name="Array Stride (64-byte aligned)" size="26" start="32" type="uint"/>
915
916    <field name="Texture base pointer" size="32" start="0" type="address"/>
917
918    <field name="Reverse Standard Border Colour" size="1" start="5" type="bool"/>
919    <field name="AHDR" size="1" start="4" type="bool"/>
920    <field name="sRGB" size="1" start="3" type="bool"/>
921    <field name="Flip S and T on incoming request" size="1" start="2" type="bool"/>
922    <field name="Flip texture Y Axis" size="1" start="1" type="bool"/>
923    <field name="Flip texture X Axis" size="1" start="0" type="bool"/>
924  </struct>
925
926  <struct name="Sampler State">
927    <field name="Border colour Alpha" size="32" start="160" type="uint"/>
928    <field name="Border colour Blue" size="32" start="128" type="uint"/>
929    <field name="Border colour Green" size="32" start="96" type="uint"/>
930    <field name="Border colour Red" size="32" start="64" type="uint"/>
931
932    <field name="Maximum Anisotropy" size="2" start="61" type="uint"/>
933    <field name="Border Colour Mode" size="3" start="58" type="Border Colour Mode"/>
934    <field name="Wrap I Border" size="1" start="57" type="bool"/>
935    <field name="Wrap R" size="3" start="54" type="Wrap Mode"/>
936    <field name="Wrap T" size="3" start="51" type="Wrap Mode"/>
937    <field name="Wrap S" size="3" start="48" type="Wrap Mode"/>
938
939    <field name="Fixed Bias" size="16" start="32" type="s8.8"/>
940    <field name="Max Level-of-Detail" size="12" start="20" type="u4.8"/>
941    <field name="Min Level-of-Detail" size="12" start="8" type="u4.8"/>
942
943    <field name="sRGB Disable" size="1" start="7" type="bool"/>
944
945    <field name="Depth Compare Function" size="3" start="4" type="Compare Function"/>
946
947    <field name="Anisotropy Enable" size="1" start="3" type="bool"/>
948    <field name="Mip filter Nearest" size="1" start="2" type="bool"/>
949    <field name="Min filter Nearest" size="1" start="1" type="bool"/>
950    <field name="Mag filter Nearest" size="1" start="0" type="bool"/>
951  </struct>
952
953  <enum name="Texture Data Formats">
954    <!--
955	most formats here have R in the low bits, A in the high bits.
956	Exceptions noted.
957    -->
958    <value name="Texture Data Format R8" value="0"/>
959    <value name="Texture Data Format R8 SNORM" value="1"/>
960    <value name="Texture Data Format RG8" value="2"/>
961    <value name="Texture Data Format RG8 SNORM" value="3"/>
962    <value name="Texture Data Format RGBA8" value="4"/>
963    <value name="Texture Data Format RGBA8 SNORM" value="5"/>
964    <value name="Texture Data Format RGB565" value="6"/> <!-- B in low bits -->
965    <value name="Texture Data Format RGBA4" value="7"/> <!-- A low, R high -->
966    <value name="Texture Data Format RGB5_A1" value="8"/> <!-- A low, R high -->
967    <value name="Texture Data Format RGB10_A2" value="9"/> <!-- R low, A high -->
968    <value name="Texture Data Format R16" value="10"/>
969    <value name="Texture Data Format R16 SNORM" value="11"/>
970    <value name="Texture Data Format RG16" value="12"/>
971    <value name="Texture Data Format RG16 SNORM" value="13"/>
972    <value name="Texture Data Format RGBA16" value="14"/>
973    <value name="Texture Data Format RGBA16 SNORM" value="15"/>
974    <value name="Texture Data Format R16F" value="16"/>
975    <value name="Texture Data Format RG16F" value="17"/>
976    <value name="Texture Data Format RGBA16F" value="18"/>
977    <value name="Texture Data Format R11F_G11F_B10F" value="19"/>
978    <value name="Texture Data Format RGB9_E5" value="20"/>
979    <value name="Texture Data Format DEPTH COMP16" value="21"/>
980    <value name="Texture Data Format DEPTH COMP24" value="22"/>
981    <value name="Texture Data Format DEPTH COMP32F" value="23"/>
982    <value name="Texture Data Format DEPTH24_X8" value="24"/> <!-- X low, D high -->
983    <value name="Texture Data Format R4" value="25"/>
984    <value name="Texture Data Format R1" value="26"/>
985    <!-- generic unfiltered 8-bit sample -->
986    <value name="Texture Data Format S8" value="27"/>
987    <!-- generic unfiltered 16-bit sample -->
988    <value name="Texture Data Format S16" value="28"/>
989    <!-- generic unfiltered 32-bit sample -->
990    <value name="Texture Data Format R32F" value="29"/>
991    <!-- generic unfiltered 64-bit sample -->
992    <value name="Texture Data Format RG32F" value="30"/>
993    <!-- generic unfiltered 128-bit sample -->
994    <value name="Texture Data Format RGBA32F" value="31"/>
995
996    <value name="Texture Data Format RGB8_ETC2" value="32"/>
997    <value name="Texture Data Format RGB8_PUNCHTHROUGH_ALPHA1" value="33"/>
998
999    <value name="Texture Data Format R11_EAC" value="34"/>
1000    <value name="Texture Data Format SIGNED_R11_EAC" value="35"/>
1001    <value name="Texture Data Format RG11_EAC" value="36"/>
1002    <value name="Texture Data Format SIGNED_RG11_EAC" value="37"/>
1003
1004    <value name="Texture Data Format RGBA8_ETC2_EAC" value="38"/>
1005    <value name="Texture Data Format YCBCR_LUMA" value="39"/>
1006    <value name="Texture Data Format YCBCR_420_CHROMA" value="40"/>
1007
1008    <value name="Texture Data Format BC1" value="48"/>
1009    <value name="Texture Data Format BC2" value="49"/>
1010    <value name="Texture Data Format BC3" value="50"/>
1011
1012    <value name="Texture Data Format ASTC_4x4" value="64"/>
1013    <value name="Texture Data Format ASTC_5x4" value="65"/>
1014    <value name="Texture Data Format ASTC_5x5" value="66"/>
1015    <value name="Texture Data Format ASTC_6x5" value="67"/>
1016    <value name="Texture Data Format ASTC_6x6" value="68"/>
1017    <value name="Texture Data Format ASTC_8x5" value="69"/>
1018    <value name="Texture Data Format ASTC_8x6" value="70"/>
1019    <value name="Texture Data Format ASTC_8x8" value="71"/>
1020    <value name="Texture Data Format ASTC_10x5" value="72"/>
1021    <value name="Texture Data Format ASTC_10x6" value="73"/>
1022    <value name="Texture Data Format ASTC_10x8" value="74"/>
1023    <value name="Texture Data Format ASTC_10x10" value="75"/>
1024    <value name="Texture Data Format ASTC_12x10" value="76"/>
1025    <value name="Texture Data Format ASTC_12x12" value="77"/>
1026
1027    <value name="Texture Data Format R8I" value="96"/>
1028    <value name="Texture Data Format R8UI" value="97"/>
1029    <value name="Texture Data Format RG8I" value="98"/>
1030    <value name="Texture Data Format RG8UI" value="99"/>
1031    <value name="Texture Data Format RGBA8I" value="100"/>
1032    <value name="Texture Data Format RGBA8UI" value="101"/>
1033
1034    <value name="Texture Data Format R16I" value="102"/>
1035    <value name="Texture Data Format R16UI" value="103"/>
1036    <value name="Texture Data Format RG16I" value="104"/>
1037    <value name="Texture Data Format RG16UI" value="105"/>
1038    <value name="Texture Data Format RGBA16I" value="106"/>
1039    <value name="Texture Data Format RGBA16UI" value="107"/>
1040
1041    <value name="Texture Data Format R32I" value="108"/>
1042    <value name="Texture Data Format R32UI" value="109"/>
1043    <value name="Texture Data Format RG32I" value="110"/>
1044    <value name="Texture Data Format RG32UI" value="111"/>
1045    <value name="Texture Data Format RGBA32I" value="112"/>
1046    <value name="Texture Data Format RGBA32UI" value="113"/>
1047    <value name="Texture Data Format RGB10_A2UI" value="114"/>
1048
1049  </enum>
1050</vcxml>
1051