• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<panxml arch="5">
2  <enum name="Attribute Type">
3    <value name="1D" value="1"/>
4    <value name="1D POT Divisor" value="2"/>
5    <value name="1D Modulus" value="3"/>
6    <value name="1D NPOT Divisor" value="4"/>
7    <value name="3D Linear" value="5"/>
8    <value name="3D Interleaved" value="6"/>
9    <value name="1D Primitive Index Buffer" value="7"/>
10    <value name="1D POT Divisor Write Reduction" value="10"/>
11    <value name="1D Modulus Write Reduction" value="11"/>
12    <value name="1D NPOT Divisor Write Reduction" value="12"/>
13    <value name="Continuation" value="32"/>
14  </enum>
15
16  <enum name="Attribute Special">
17    <value name="Vertex ID" value="34"/>
18    <value name="Instance ID" value="36"/>
19    <value name="Frag Coord" value="37"/>
20    <value name="Front Facing" value="38"/>
21    <value name="Point Coord" value="97"/>
22  </enum>
23
24  <enum name="Channel">
25    <value name="R" value="0"/>
26    <value name="G" value="1"/>
27    <value name="B" value="2"/>
28    <value name="A" value="3"/>
29    <value name="0" value="4"/>
30    <value name="1" value="5"/>
31  </enum>
32
33  <enum name="Depth Source">
34    <value name="Minimum" value="0"/>
35    <value name="Maximum" value="1"/>
36    <value name="Fixed function" value="2"/>
37    <value name="Shader" value="3"/>
38  </enum>
39
40  <enum name="Job Type">
41    <value name="Not started" value="0"/>
42    <value name="Null" value="1"/>
43    <value name="Write value" value="2"/>
44    <value name="Cache flush" value="3"/>
45    <value name="Compute" value="4"/>
46    <value name="Vertex" value="5"/>
47    <value name="Geometry" value="6"/>
48    <value name="Tiler" value="7"/>
49    <value name="Fused" value="8"/>
50    <value name="Fragment" value="9"/>
51  </enum>
52
53  <enum name="Draw Mode">
54    <value name="Points" value="1"/>
55    <value name="Lines" value="2"/>
56    <value name="Lines with adjacency" value="3"/>
57    <value name="Line strip" value="4"/>
58    <value name="Line strip with adjacency" value="5"/>
59    <value name="Line loop" value="6"/>
60    <value name="Triangles" value="8"/>
61    <value name="Triangles with adjacency" value="9"/>
62    <value name="Triangle strip" value="10"/>
63    <value name="Triangle strip with adjacency" value="11"/>
64    <value name="Triangle fan" value="12"/>
65    <value name="Polygon" value="13"/>
66    <value name="Quads" value="14"/>
67    <value name="Quad strip" value="15"/>
68    <value name="Parallelogram" value="16"/>
69  </enum>
70
71  <enum name="Exception Access">
72    <value name="None" value="0"/>
73    <value name="Execute" value="2"/>
74    <value name="Read" value="1"/>
75    <value name="Write" value="3"/>
76  </enum>
77
78  <enum name="Func">
79    <value name="Never" value="0"/>
80    <value name="Less" value="1"/>
81    <value name="Equal" value="2"/>
82    <value name="Lequal" value="3"/>
83    <value name="Greater" value="4"/>
84    <value name="Not Equal" value="5"/>
85    <value name="Gequal" value="6"/>
86    <value name="Always" value="7"/>
87  </enum>
88
89  <enum name="Format">
90    <value name="ETC2 RGB8" value="1"/>
91    <value name="ETC2 R11 UNORM" value="2"/>
92    <value name="ETC2 RGBA8" value="3"/>
93    <value name="ETC2 RG11 UNORM" value="4"/>
94    <!--- 5 reserved *-->
95    <value name="NXR" value="6"/>
96    <value name="BC1 UNORM" value="7"/>
97    <value name="BC2 UNORM" value="8"/>
98    <value name="BC3 UNORM" value="9"/>
99    <value name="BC4 UNORM" value="10"/>
100    <value name="BC4 SNORM" value="11"/>
101    <value name="BC5 UNORM" value="12"/>
102    <value name="BC5 SNORM" value="13"/>
103    <value name="BC6H UF16" value="14"/>
104    <value name="BC6H SF16" value="15"/>
105    <value name="BC7 UNORM" value="16"/>
106    <value name="ETC2 R11 SNORM" value="17"/>
107    <value name="ETC2 RG11 SNORM" value="18"/>
108    <value name="ETC2 RGB8A1" value="19"/>
109    <value name="ASTC 3D LDR" value="20"/>
110    <value name="ASTC 3D HDR" value="21"/>
111    <value name="ASTC 2D LDR" value="22"/>
112    <value name="ASTC 2D HDR" value="23"/>
113    <!--- 24-31 reserved *-->
114    <value name="RGB565" value="64"/>
115    <value name="RGB5 A1 UNORM" value="65"/>
116    <value name="A1 BGR5 UNORM" value="66"/>
117    <value name="RGB10 A2 UNORM" value="67"/>
118    <value name="A2 BGR10 UNORM" value="68"/>
119    <value name="RGB10 A2 SNORM" value="69"/>
120    <value name="A2 BGR10 SNORM" value="70"/>
121    <value name="RGB10 A2UI" value="71"/>
122    <value name="A2 BGR10UI" value="72"/>
123    <value name="RGB10 A2I" value="73"/>
124    <value name="A2 BGR10I" value="74"/>
125    <value name="RGB332 UNORM" value="75"/>
126    <value name="BGR233 UNORM" value="76"/>
127    <value name="Z24X8 UNORM" value="77"/>
128    <value name="X8Z24" value="78"/>
129    <value name="X32 S8X24" value="79"/>
130    <value name="X24S8 X32" value="80"/>
131    <value name="R32 FIXED" value="81"/>
132    <value name="RG32 FIXED" value="82"/>
133    <value name="RGB32 FIXED" value="83"/>
134    <value name="RGBA32 FIXED" value="84"/>
135    <value name="Tilebuffer Native" value="85"/>
136    <!--- 86-88 reserved *-->
137    <value name="R11F G11F B10F" value="89"/>
138    <value name="B10F G11F R11F" value="90"/>
139    <value name="R9F G9F B9F E5F" value="91"/>
140    <value name="E5F B9F G9F R9F" value="92"/>
141    <value name="Snap 2" value="93"/>
142    <!--- RGBA32F + snap to 2^-8, used for vertex writes -->
143    <value name="Snap 4" value="94"/>
144    <value name="Constant" value="95"/>
145    <value name="R1 SNORM" value="96"/>
146    <value name="R2 SNORM" value="97"/>
147    <value name="R4 SNORM" value="98"/>
148    <value name="R8 SNORM" value="99"/>
149    <value name="R16 SNORM" value="100"/>
150    <value name="R32 SNORM" value="101"/>
151    <value name="R64 SNORM" value="102"/>
152    <!--- 103 reserved -->
153    <value name="RG1 SNORM" value="104"/>
154    <value name="RG2 SNORM" value="105"/>
155    <value name="RG4 SNORM" value="106"/>
156    <value name="RG8 SNORM" value="107"/>
157    <value name="RG16 SNORM" value="108"/>
158    <value name="RG32 SNORM" value="109"/>
159    <value name="RG64 SNORM" value="110"/>
160    <!-- 111 reserved -->
161    <value name="RGB1 SNORM" value="112"/>
162    <value name="RGB2 SNORM" value="113"/>
163    <value name="RGB4 SNORM" value="114"/>
164    <value name="RGB8 SNORM" value="115"/>
165    <value name="RGB16 SNORM" value="116"/>
166    <value name="RGB32 SNORM" value="117"/>
167    <value name="RGB64 SNORM" value="118"/>
168    <!-- 119 reserved -->
169    <value name="RGBA1 SNORM" value="120"/>
170    <value name="RGBA2 SNORM" value="121"/>
171    <value name="RGBA4 SNORM" value="122"/>
172    <value name="RGBA8 SNORM" value="123"/>
173    <value name="RGBA16 SNORM" value="124"/>
174    <value name="RGBA32 SNORM" value="125"/>
175    <value name="RGBA64 SNORM" value="126"/>
176    <!-- 127 reserved -->
177    <value name="R1UI" value="128"/>
178    <value name="R2UI" value="129"/>
179    <value name="R4UI" value="130"/>
180    <value name="R8UI" value="131"/>
181    <value name="R16UI" value="132"/>
182    <value name="R32UI" value="133"/>
183    <value name="R64UI" value="134"/>
184    <value name="R64F" value="135"/>
185    <value name="RG1UI" value="136"/>
186    <value name="RG2UI" value="137"/>
187    <value name="RG4UI" value="138"/>
188    <value name="RG8UI" value="139"/>
189    <value name="RG16UI" value="140"/>
190    <value name="RG32UI" value="141"/>
191    <value name="RG64UI" value="142"/>
192    <value name="RG64F" value="143"/>
193    <value name="RGB1UI" value="144"/>
194    <value name="RGB2UI" value="145"/>
195    <value name="RGB4UI" value="146"/>
196    <value name="RGB8UI" value="147"/>
197    <value name="RGB16UI" value="148"/>
198    <value name="RGB32UI" value="149"/>
199    <value name="RGB64UI" value="150"/>
200    <value name="RGB64F" value="151"/>
201    <value name="RGBA1UI" value="152"/>
202    <value name="RGBA2UI" value="153"/>
203    <value name="RGBA4UI" value="154"/>
204    <value name="RGBA8UI" value="155"/>
205    <value name="RGBA16UI" value="156"/>
206    <value name="RGBA32UI" value="157"/>
207    <value name="RGBA64UI" value="158"/>
208    <value name="RGBA64F" value="159"/>
209    <value name="R1 UNORM" value="160"/>
210    <value name="R2 UNORM" value="161"/>
211    <value name="R4 UNORM" value="162"/>
212    <value name="R8 UNORM" value="163"/>
213    <value name="R16 UNORM" value="164"/>
214    <value name="R32 UNORM" value="165"/>
215    <value name="R64 UNORM" value="166"/>
216    <value name="R32F" value="167"/>
217    <value name="RG1 UNORM" value="168"/>
218    <value name="RG2 UNORM" value="169"/>
219    <value name="RG4 UNORM" value="170"/>
220    <value name="RG8 UNORM" value="171"/>
221    <value name="RG16 UNORM" value="172"/>
222    <value name="RG32 UNORM" value="173"/>
223    <value name="RG64 UNORM" value="174"/>
224    <value name="RG32F" value="175"/>
225    <value name="RGB1 UNORM" value="176"/>
226    <value name="RGB2 UNORM" value="177"/>
227    <value name="RGB4 UNORM" value="178"/>
228    <value name="RGB8 UNORM" value="179"/>
229    <value name="RGB16 UNORM" value="180"/>
230    <value name="RGB32 UNORM" value="181"/>
231    <value name="RGB64 UNORM" value="182"/>
232    <value name="RGB32F" value="183"/>
233    <value name="RGBA1 UNORM" value="184"/>
234    <value name="RGBA2 UNORM" value="185"/>
235    <value name="RGBA4 UNORM" value="186"/>
236    <value name="RGBA8 UNORM" value="187"/>
237    <value name="RGBA16 UNORM" value="188"/>
238    <value name="RGBA32 UNORM" value="189"/>
239    <value name="RGBA64 UNORM" value="190"/>
240    <value name="RGBA32F" value="191"/>
241    <value name="R1I" value="192"/>
242    <value name="R2I" value="193"/>
243    <value name="R4I" value="194"/>
244    <value name="R8I" value="195"/>
245    <value name="R16I" value="196"/>
246    <value name="R32I" value="197"/>
247    <value name="R64I" value="198"/>
248    <value name="R16F" value="199"/>
249    <value name="RG1I" value="200"/>
250    <value name="RG2I" value="201"/>
251    <value name="RG4I" value="202"/>
252    <value name="RG8I" value="203"/>
253    <value name="RG16I" value="204"/>
254    <value name="RG32I" value="205"/>
255    <value name="RG64I" value="206"/>
256    <value name="RG16F" value="207"/>
257    <value name="RGB1I" value="208"/>
258    <value name="RGB2I" value="209"/>
259    <value name="RGB4I" value="210"/>
260    <value name="RGB8I" value="211"/>
261    <value name="RGB16I" value="212"/>
262    <value name="RGB32I" value="213"/>
263    <value name="RGB64I" value="214"/>
264    <value name="RGB16F" value="215"/>
265    <value name="RGBA1I" value="216"/>
266    <value name="RGBA2I" value="217"/>
267    <value name="RGBA4I" value="218"/>
268    <value name="RGBA8I" value="219"/>
269    <value name="RGBA16I" value="220"/>
270    <value name="RGBA32I" value="221"/>
271    <value name="RGBA64I" value="222"/>
272    <value name="RGBA16F" value="223"/>
273  </enum>
274
275  <enum name="YUV Swizzle">
276    <value name="YUVA" value="0"/>
277    <value name="YVUA" value="1"/>
278    <value name="UYVA" value="2"/>
279    <value name="UVYA" value="3"/>
280    <value name="VUYA" value="4"/>
281    <value name="VYUA" value="5"/>
282    <value name="Y00A" value="6"/>
283    <value name="YXXA" value="7"/>
284  </enum>
285
286  <enum name="YUV Conversion Mode">
287    <value name="No Conversion" value="0"/>
288    <value name="BT 601" value="3"/>
289    <value name="BT 709" value="4"/>
290    <value name="BT 2020" value="6"/>
291  </enum>
292
293  <enum name="YUV Cr Siting">
294    <value name="Co-Sited" value="0"/>
295    <value name="Center Y" value="1"/>
296    <value name="Center X" value="2"/>
297    <value name="Center" value="3"/>
298    <value name="One Quarter" value="4"/>
299    <value name="Three Quarters" value="5"/>
300    <value name="Replicated" value="7"/>
301  </enum>
302
303  <enum name="ASTC 2D Dimension">
304    <value name="4" value="0"/>
305    <value name="5" value="1"/>
306    <value name="6" value="2"/>
307    <value name="8" value="4"/>
308    <value name="10" value="6"/>
309    <value name="12" value="7"/>
310  </enum>
311
312  <enum name="ASTC 3D Dimension">
313    <value name="4" value="0"/>
314    <value name="5" value="1"/>
315    <value name="6" value="2"/>
316    <value name="3" value="3"/>
317  </enum>
318
319  <enum name="Block Format">
320    <!--- 16x16 block u-interleaved -->
321    <value name="Tiled U-Interleaved" value="0"/>
322    <value name="Tiled Linear" value="1"/>
323    <value name="Linear" value="2"/>
324    <value name="AFBC" value="3"/>
325  </enum>
326
327  <enum name="Mipmap Mode">
328    <value name="Nearest" value="0"/>
329    <value name="Performance Trilinear" value="2"/>
330    <value name="Trilinear" value="3"/>
331  </enum>
332
333  <enum name="MSAA">
334    <value name="Single" value="0"/>
335    <!-- N samples, 1 surface, resolved -->
336    <value name="Average" value="1"/>
337    <!-- N samples, 1 surface, unresolved -->
338    <value name="Multiple" value="2"/>
339    <!-- N samples, N surfaces -->
340    <value name="Layered" value="3"/>
341  </enum>
342
343  <enum name="Index Type">
344    <value name="None" value="0"/>
345    <value name="UINT8" value="1"/>
346    <value name="UINT16" value="2"/>
347    <value name="UINT32" value="3"/>
348  </enum>
349
350  <enum name="Occlusion Mode">
351    <value name="Disabled" value="0"/>
352    <value name="Predicate" value="1"/>
353    <value name="Counter" value="3"/>
354  </enum>
355
356  <enum name="Stencil Op">
357    <value name="Keep" value="0"/>
358    <value name="Replace" value="1"/>
359    <value name="Zero" value="2"/>
360    <value name="Invert" value="3"/>
361    <value name="Incr Wrap" value="4"/>
362    <value name="Decr Wrap" value="5"/>
363    <value name="Incr Sat" value="6"/>
364    <value name="Decr Sat" value="7"/>
365  </enum>
366
367  <enum name="Texture Dimension">
368    <value name="Cube" value="0"/>
369    <value name="1D" value="1"/>
370    <value name="2D" value="2"/>
371    <value name="3D" value="3"/>
372  </enum>
373
374  <enum name="Texture Layout">
375    <!--- 16x16 block u-interleaved -->
376    <value name="Tiled" value="1"/>
377    <value name="Linear" value="2"/>
378    <value name="AFBC" value="12"/>
379  </enum>
380
381  <enum name="AFBC Surface Flag">
382    <value name="YTR" value="1"/>
383  </enum>
384
385  <enum name="Wrap Mode">
386    <value name="Repeat" value="8"/>
387    <value name="Clamp to Edge" value="9"/>
388    <value name="Clamp" value="10"/>
389    <value name="Clamp to Border" value="11"/>
390    <value name="Mirrored Repeat" value="12"/>
391    <value name="Mirrored Clamp to Edge" value="13"/>
392    <value name="Mirrored Clamp" value="14"/>
393    <value name="Mirrored Clamp to Border" value="15"/>
394  </enum>
395
396  <struct name="Attribute" align="8">
397    <field name="Buffer index" size="9" start="0" type="uint"/>
398    <field name="Offset enable" size="1" start="9" type="bool" default="true"/>
399    <field name="Format" size="22" start="10" type="Pixel Format"/>
400    <field name="Offset" size="32" start="32" type="int"/>
401  </struct>
402
403  <struct name="Attribute Vertex ID" align="32">
404    <field name="Type" size="8" start="0" type="Attribute Special" default="Vertex ID"/>
405    <field name="Divisor R" size="5" start="56" type="uint"/>
406    <field name="Divisor P" size="3" start="61" type="uint"/>
407    <field name="Offset" size="32" start="96" type="int"/>
408  </struct>
409
410  <struct name="Attribute Instance ID" align="32">
411    <field name="Type" size="8" start="0" type="Attribute Special" default="Instance ID"/>
412    <field name="Divisor R" size="5" start="56" type="uint"/>
413    <field name="Divisor E" size="1" start="61" type="uint"/>
414    <field name="Divisor P" size="32" start="64" type="uint"/>
415    <field name="Offset" size="32" start="96" type="int"/>
416  </struct>
417
418  <struct name="Attribute Buffer" align="32">
419    <field name="Special" size="8" start="0" type="Attribute Special"/>
420    <field name="Type" size="6" start="0" type="Attribute Type" default="1D"/>
421    <field name="Pointer" size="50" start="6" type="address" modifier="shr(6)"/>
422    <field name="Stride" size="32" start="64" type="uint"/>
423    <field name="Size" size="32" start="96" type="uint"/>
424
425    <field name="Divisor" size="8" start="56" type="padded" default="1"/>
426    <field name="Divisor R" size="5" start="56" type="uint"/>
427    <field name="Divisor P" size="3" start="61" type="uint"/>
428    <field name="Divisor E" size="1" start="61" type="uint"/>
429  </struct>
430
431  <struct name="Attribute Buffer Continuation NPOT">
432    <field name="Type" size="6" start="0:0" type="Attribute Type" default="Continuation"/>
433    <field name="Divisor Numerator" size="32" start="1:0" type="uint"/>
434    <field name="Divisor" size="32" start="3:0" type="uint"/>
435  </struct>
436
437  <struct name="Attribute Buffer Continuation 3D" size="4">
438    <field name="Type" size="6" start="0:0" type="Attribute Type" default="Continuation"/>
439    <field name="S dimension" size="16" start="0:16" type="uint" modifier="minus(1)"/>
440    <field name="T dimension" size="16" start="1:0" type="uint" modifier="minus(1)"/>
441    <field name="R dimension" size="16" start="1:16" type="uint" modifier="minus(1)"/>
442    <field name="Row Stride" size="32" start="2:0" type="uint"/>
443    <field name="Slice Stride" size="32" start="3:0" type="uint"/>
444  </struct>
445
446  <enum name="Blend Operand A">
447    <value name="Zero" value="1"/>
448    <value name="Src" value="2"/>
449    <value name="Dest" value="3"/>
450  </enum>
451
452  <enum name="Blend Operand B">
453    <value name="Src Minus Dest" value="0"/>
454    <value name="Src Plus Dest" value="1"/>
455    <value name="Src" value="2"/>
456    <value name="Dest" value="3"/>
457  </enum>
458
459  <enum name="Blend Operand C">
460    <value name="Zero" value="1"/>
461    <value name="Src" value="2"/>
462    <value name="Dest" value="3"/>
463    <value name="Src x 2" value="4"/>
464    <value name="Src Alpha" value="5"/>
465    <value name="Dest Alpha" value="6"/>
466    <value name="Constant" value="7"/>
467  </enum>
468
469  <struct name="Blend Function" no-direct-packing="true">
470    <!-- Blend equation: A + (B * C) -->
471    <field name="A" size="2" start="0" type="Blend Operand A"/>
472    <field name="Negate A" size="1" start="3" type="bool"/>
473    <field name="B" size="2" start="4" type="Blend Operand B"/>
474    <field name="Negate B" size="1" start="7" type="bool"/>
475    <field name="C" size="3" start="8" type="Blend Operand C"/>
476    <field name="Invert C" size="1" start="11" type="bool"/>
477  </struct>
478
479  <struct name="Blend Equation" size="1">
480    <field name="RGB" size="12" start="0:0" type="Blend Function"/>
481    <field name="Alpha" size="12" start="0:12" type="Blend Function"/>
482    <field name="Color Mask" size="4" start="0:28" type="uint"/>
483  </struct>
484
485  <struct name="Blend" size="4" align="16">
486    <field name="Load Destination" size="1" start="0:0" type="bool" default="false"/>
487    <field name="Blend Shader" size="1" start="0:1" type="bool" default="false"/>
488    <field name="Blend Shader Contains Discard" size="1" start="0:2" type="bool" default="false"/>
489    <field name="Alpha To One" size="1" start="0:8" type="bool"/>
490    <field name="Enable" size="1" start="0:9" type="bool" default="true"/>
491    <field name="sRGB" size="1" start="0:10" type="bool" default="false"/>
492    <field name="Round to FB precision" size="1" start="0:11" type="bool" default="false"/>
493    <field name="Shader PC" size="64" start="2:0" type="address"/>
494    <field name="Equation" size="32" start="2:0" type="Blend Equation"/>
495    <field name="Constant" size="32" start="3:0" type="float"/>
496  </struct>
497
498  <struct name="Invocation">
499    <!-- Dynamic bitfield containing WorkGroupSize.xyz, NumWorkGroups.xyz
500      The number of bits allocated for each number is based on the *_shift
501      fields. For example, workgroups_y_shift gives the bit that
502      gl_NumWorkGroups.y starts at, and workgroups_z_shift gives the bit
503      that gl_NumWorkGroups.z starts at (and therefore one after the bit
504      that gl_NumWorkGroups.y ends at). The actual value for each
505      is one more than the stored value, since if any of the values
506      are zero, then there would be no invocations (and hence no job). -->
507    <field name="Invocations" size="32" start="0:0" type="uint"/>
508    <field name="Size Y shift" size="5" start="1:0" type="uint"/>
509    <field name="Size Z shift" size="5" start="1:5" type="uint"/>
510    <field name="Workgroups X shift" size="6" start="1:10" type="uint"/>
511    <field name="Workgroups Y shift" size="6" start="1:16" type="uint"/>
512    <field name="Workgroups Z shift" size="6" start="1:22" type="uint"/>
513    <field name="Thread group split" size="4" start="1:28" type="uint" prefix="MALI_SPLIT">
514      <value name="Min efficient" value="2"/>
515    </field>
516  </struct>
517
518  <enum name="Point Size Array Format">
519    <value name="None" value="0"/>
520    <value name="FP16" value="2"/>
521    <value name="FP32" value="3"/>
522  </enum>
523
524  <enum name="Primitive Restart">
525    <value name="None" value="0"/>
526    <value name="Implicit" value="2"/>
527    <value name="Explicit" value="3"/>
528  </enum>
529
530  <struct name="Primitive">
531    <field name="Draw mode" size="8" start="0:0" type="Draw Mode"/>
532    <field name="Index type" size="3" start="0:8" type="Index Type" default="None"/>
533    <field name="Point size array format" size="2" start="0:11" type="Point Size Array Format"/>
534    <field name="Primitive Index Enable" size="1" start="0:13" type="bool"/>
535    <field name="Primitive Index Writeback" size="1" start="0:14" type="bool"/>
536    <field name="First provoking vertex" size="1" start="0:15" type="bool" default="true"/>
537    <field name="Low Depth Cull" size="1" start="0:16" type="bool" default="true"/>
538    <field name="High Depth Cull" size="1" start="0:17" type="bool" default="true"/>
539    <field name="Primitive restart" size="2" start="0:19" type="Primitive Restart"/>
540    <field name="Job Task Split" size="6" start="0:26" type="uint"/>
541    <field name="Base vertex offset" size="32" start="1:0" type="uint"/>
542    <field name="Primitive Restart Index" size="32" start="2:0" type="uint"/>
543    <field name="Index count" size="32" start="3:0" type="uint" modifier="minus(1)"/>
544    <field name="Indices" size="64" start="4:0" type="address"/>
545  </struct>
546
547  <struct name="Draw" size="30" align="64">
548    <field name="Four Components Per Vertex" size="1" start="0:0" type="bool"/>
549    <field name="Draw Descriptor Is 64b" size="1" start="0:1" type="bool"/>
550    <field name="Texture Descriptor Is 64b" size="1" start="0:2" type="bool" default="true"/>
551    <field name="Occlusion query" size="2" start="0:3" type="Occlusion Mode" default="Disabled"/>
552    <field name="Front face CCW" size="1" start="0:5" type="bool"/>
553    <field name="Cull front face" size="1" start="0:6" type="bool"/>
554    <field name="Cull back face" size="1" start="0:7" type="bool"/>
555    <field name="Flat Shading Vertex" size="1" start="0:8" type="uint"/>
556    <field name="Exclude Filtered Perf Counters" size="1" start="0:9" type="bool"/>
557    <field name="Primitive Barrier" size="1" start="0:10" type="bool"/>
558    <field name="Clean Fragment Write" size="1" start="0:11" type="bool"/>
559    <field name="Instance Size" size="8" start="0:16" type="padded" default="1"/>
560    <field name="Instance Primitive Size" size="8" start="0:24" type="padded" default="1"/>
561    <field name="Offset start" size="32" start="1:0" type="uint"/>
562    <field name="Primitive Index Base" size="32" start="2:0" type="uint"/>
563    <field name="Position" size="64" start="4:0" type="address"/>
564    <field name="Uniform buffers" size="64" start="6:0" type="address"/>
565    <field name="Textures" size="64" start="8:0" type="address"/>
566    <field name="Samplers" size="64" start="10:0" type="address"/>
567    <field name="Push uniforms" size="64" start="12:0" type="address"/>
568    <field name="State" size="64" start="14:0" type="address"/>
569    <field name="Attribute buffers" size="64" start="16:0" type="address"/>
570    <field name="Attributes" size="64" start="18:0" type="address"/>
571    <field name="Varying buffers" size="64" start="20:0" type="address"/>
572    <field name="Varyings" size="64" start="22:0" type="address"/>
573    <field name="Viewport" size="64" start="24:0" type="address"/>
574    <field name="Occlusion" size="64" start="26:0" type="address"/>
575    <field name="Thread Storage" size="64" start="28:0" type="address"/>
576    <field name="FBD" size="64" start="28:0" type="address"/>
577  </struct>
578
579  <struct name="Surface" align="8">
580    <field name="Pointer" size="64" start="0:0" type="address"/>
581  </struct>
582
583  <struct name="Surface With Stride" align="8">
584    <field name="Pointer" size="64" start="0:0" type="address"/>
585    <field name="Row stride" size="32" start="2:0" type="int"/>
586    <field name="Surface stride" size="32" start="3:0" type="int"/>
587  </struct>
588
589  <struct name="Sampler" align="32">
590    <field name="Magnify Nearest" size="1" start="0" type="bool" default="true"/>
591    <field name="Minify Nearest" size="1" start="1" type="bool" default="true"/>
592    <field name="Mipmap Mode" size="2" start="3" type="Mipmap Mode" default="Nearest"/>
593    <field name="Normalized Coordinates" size="1" start="5" type="bool" default="true"/>
594    <field name="Isotropic LOD" size="1" start="6" type="bool"/>
595    <field name="LOD Bias" size="16" start="0:16" type="int" default="0"/>
596    <field name="Minimum LOD" size="16" start="1:0" type="uint" default="0"/>
597    <field name="Maximum LOD" size="16" start="1:16" type="uint" default="1"/>
598    <field name="Wrap Mode S" size="4" start="2:0" type="Wrap Mode" default="Clamp to Edge"/>
599    <field name="Wrap Mode T" size="4" start="2:4" type="Wrap Mode" default="Clamp to Edge"/>
600    <field name="Wrap Mode R" size="4" start="2:8" type="Wrap Mode" default="Clamp to Edge"/>
601    <field name="Compare Function" size="3" start="2:12" type="Func" default="Never"/>
602    <field name="Seamless Cube Map" size="1" start="2:15" type="bool" default="true"/>
603    <field name="Border Color R" size="32" start="4:0" type="uint/float" default="0.0"/>
604    <field name="Border Color G" size="32" start="5:0" type="uint/float" default="0.0"/>
605    <field name="Border Color B" size="32" start="6:0" type="uint/float" default="0.0"/>
606    <field name="Border Color A" size="32" start="7:0" type="uint/float" default="0.0"/>
607  </struct>
608
609  <struct name="Texture" size="8" align="64">
610    <field name="Width" size="16" start="0:0" type="uint" modifier="minus(1)"/>
611    <field name="Height" size="16" start="0:16" type="uint" modifier="minus(1)"/>
612    <field name="Depth" size="16" start="1:0" type="uint" modifier="minus(1)" default="1"/>
613    <field name="Sample count" size="16" start="1:0" type="uint" modifier="minus(1)" default="1"/>
614    <field name="Array size" size="16" start="1:16" type="uint" modifier="minus(1)"/>
615    <field name="Format" size="22" start="2:0" type="Pixel Format"/>
616    <field name="Dimension" size="2" start="2:22" type="Texture Dimension"/>
617    <field name="Texel ordering" size="4" start="2:24" type="Texture Layout"/>
618    <field name="Surface pointer is 64b" size="1" start="2:28" type="bool" default="true"/>
619    <field name="Manual stride" size="1" start="2:29" type="bool" default="false"/>
620    <field name="Levels" size="8" start="3:24" type="uint" modifier="minus(1)" default="1"/>
621    <field name="Swizzle" size="12" start="4:0" type="uint"/>
622  </struct>
623
624  <enum name="FP Mode">
625    <value name="GL Inf/NaN Allowed" value="0"/>
626    <value name="GL Inf/NaN Suppressed" value="1"/>
627    <value name="CL" value="2"/>
628    <value name="D3D11" value="3"/>
629  </enum>
630
631  <struct name="Renderer Properties" size="1">
632    <field name="Uniform buffer count" size="8" start="0" type="uint"/>
633    <field name="Depth source" size="2" start="8" type="Depth Source" default="Minimum"/>
634    <field name="Shader contains barrier" size="1" start="11" type="bool"/>
635    <field name="Force early-z" size="1" start="10" type="bool"/>
636    <field name="Shader contains discard" size="1" start="12" type="bool"/>
637    <field name="Shader has side-effects" size="1" start="13" type="bool"/>
638    <field name="Shader reads tilebuffer" size="1" start="14" type="bool"/>
639    <field name="Forward pixel kill" size="1" start="15" type="bool"/>
640    <field name="Work register count" size="5" start="16" type="uint"/>
641    <field name="Uniform count" size="5" start="21" type="uint"/>
642    <field name="Stencil from shader" size="1" start="28" type="bool"/>
643    <field name="FP mode" size="3" start="29" type="FP Mode"/>
644  </struct>
645
646  <struct name="Shader" size="4">
647    <field name="Shader" size="64" start="0:0" type="address"/>
648    <field name="Sampler count" size="16" start="2:0" type="uint"/>
649    <field name="Texture count" size="16" start="2:16" type="uint"/>
650    <field name="Attribute count" size="16" start="3:0" type="uint"/>
651    <field name="Varying count" size="16" start="3:16" type="uint"/>
652  </struct>
653
654  <struct name="Multisample, Misc" size="1">
655    <field name="Sample mask" size="16" start="0" type="uint"/>
656    <field name="Multisample enable" size="1" start="16" type="bool"/>
657    <field name="Multisample late coverage" size="1" start="17" type="bool"/>
658    <field name="Evaluate per-sample" size="1" start="18" type="bool"/>
659    <field name="Fixed-function depth range fixed" size="1" start="19" type="bool"/>
660    <field name="Shader depth range fixed" size="1" start="20" type="bool"/>
661    <field name="Depth function" size="3" start="24" type="Func"/>
662    <field name="Depth write mask" size="1" start="27" type="bool"/>
663    <field name="Fixed-function near discard" size="1" start="28" type="bool"/>
664    <field name="Fixed-function far discard" size="1" start="29" type="bool"/>
665    <field name="Fragment near discard" size="1" start="30" type="bool"/>
666    <field name="Fragment far discard" size="1" start="31" type="bool"/>
667  </struct>
668
669  <struct name="Stencil Mask, Misc" size="1">
670    <field name="Stencil mask front" size="8" start="0" type="uint"/>
671    <field name="Stencil mask back" size="8" start="8" type="uint"/>
672    <field name="Stencil enable" size="1" start="16" type="bool"/>
673    <field name="Alpha-to-coverage" size="1" start="17" type="bool"/>
674    <field name="Alpha-to-coverage Invert" size="1" start="18" type="bool"/>
675    <field name="Alpha test compare function" size="3" start="21" type="Func"/>
676    <field name="Force seamless cubemaps" size="1" start="26" type="bool"/>
677    <field name="Depth Range 1" size="1" start="28" type="bool"/>
678    <field name="Depth Range 2" size="1" start="29" type="bool"/>
679    <field name="Single-sampled lines" size="1" start="30" type="bool"/>
680    <field name="Point snap" size="1" start="31" type="bool"/>
681  </struct>
682
683  <struct name="Stencil">
684    <field name="Reference Value" size="8" start="0" type="uint"/>
685    <field name="Mask" size="8" start="8" type="uint"/>
686    <field name="Compare Function" size="3" start="16" type="Func"/>
687    <field name="Stencil Fail" size="3" start="19" type="Stencil Op"/>
688    <field name="Depth Fail" size="3" start="22" type="Stencil Op"/>
689    <field name="Depth Pass" size="3" start="25" type="Stencil Op"/>
690  </struct>
691
692  <struct name="Renderer State" align="64">
693    <field name="Shader" size="128" start="0:0" type="Shader"/>
694    <field name="Properties" size="32" start="4:0" type="Renderer Properties"/>
695    <field name="Depth units" size="32" start="5:0" type="float"/>
696    <field name="Depth factor" size="32" start="6:0" type="float"/>
697    <field name="Depth bias clamp" size="32" start="7:0" type="float"/>
698    <field name="Multisample, Misc" size="32" start="8:0" type="Multisample, Misc"/>
699    <field name="Stencil Mask, Misc" size="32" start="9:0" type="Stencil Mask, Misc"/>
700    <field name="Stencil front" size="32" start="10:0" type="Stencil"/>
701    <field name="Stencil back" size="32" start="11:0" type="Stencil"/>
702    <field name="Alpha reference" size="32" start="12:0" type="float"/>
703    <field name="Thread Balancing" size="16" start="13:0" type="uint"/>
704    <field name="Legacy Blend Shader" size="64" start="14:0" type="address"/>
705  </struct>
706
707  <struct name="Uniform Buffer" align="8">
708    <field name="Entries" size="12" start="0" type="uint" modifier="minus(1)"/>
709    <field name="Pointer" size="52" start="12" type="address" modifier="shr(4)" element="16" count="Entries"/>
710  </struct>
711
712  <struct name="Viewport" align="32">
713    <field name="Minimum X" size="32" start="0:0" default="-INFINITY" type="float"/>
714    <field name="Minimum Y" size="32" start="1:0" default="-INFINITY" type="float"/>
715    <field name="Maximum X" size="32" start="2:0" default="+INFINITY" type="float"/>
716    <field name="Maximum Y" size="32" start="3:0" default="+INFINITY" type="float"/>
717    <field name="Minimum Z" size="32" start="4:0" default="0.0" type="float"/>
718    <field name="Maximum Z" size="32" start="5:0" default="1.0" type="float"/>
719    <field name="Scissor Minimum X" size="16" start="6:0" default="0" type="uint"/>
720    <field name="Scissor Minimum Y" size="16" start="6:16" default="0" type="uint"/>
721    <field name="Scissor Maximum X" size="16" start="7:0" type="uint"/>
722    <field name="Scissor Maximum Y" size="16" start="7:16" type="uint"/>
723  </struct>
724
725  <struct name="Local Storage" size="8" align="64">
726    <field name="TLS Size" size="5" start="0:0" type="uint"/>
727    <field name="TLS Initial Stack Pointer Offset" size="27" start="0:5" type="uint"/>
728    <field name="WLS Instances" size="5" start="1:0" type="uint" modifier="log2" prefix="MALI_LOCAL_STORAGE" default="MALI_LOCAL_STORAGE_NO_WORKGROUP_MEM">
729      <value name="No Workgroup Mem" value="0x80000000"/>
730    </field>
731    <field name="WLS Size Base" size="2" start="1:5" type="uint"/>
732    <field name="WLS Size Scale" size="5" start="1:8" type="uint"/>
733    <field name="TLS Base Pointer" size="64" start="2:0" type="address"/>
734    <field name="WLS Base Pointer" size="64" start="4:0" type="address"/>
735  </struct>
736
737  <struct name="Tiler Context" size="10">
738    <field name="Polygon List Size" size="32" start="0:0" type="uint" prefix="MALI_MIDGARD_TILER">
739      <value name="Minimum Header Size" value="512"/>
740    </field>
741    <field name="Hierarchy Mask" size="16" start="1:0" type="uint" prefix="MALI_MIDGARD_TILER">
742      <value name="Disabled" value="4096"/>
743      <value name="User" value="4095"/>
744      <value name="Hierarchy Mask" value="511"/>
745    </field>
746    <field name="Polygon List" size="64" start="2:0" type="address"/>
747    <field name="Polygon List Body" size="64" start="4:0" type="address"/>
748    <field name="Heap Start" size="64" start="6:0" type="address"/>
749    <field name="Heap End" size="64" start="8:0" type="address"/>
750  </struct>
751
752  <struct name="Tiler Weights">
753    <field name="Weight0" size="32" start="0:0" type="uint"/>
754    <field name="Weight1" size="32" start="1:0" type="uint"/>
755    <field name="Weight2" size="32" start="2:0" type="uint"/>
756    <field name="Weight3" size="32" start="3:0" type="uint"/>
757    <field name="Weight4" size="32" start="4:0" type="uint"/>
758    <field name="Weight5" size="32" start="5:0" type="uint"/>
759    <field name="Weight6" size="32" start="6:0" type="uint"/>
760    <field name="Weight7" size="32" start="7:0" type="uint"/>
761  </struct>
762
763  <enum name="Color Buffer Internal Format">
764    <value name="Raw Value" value="0"/>
765    <value name="R8G8B8A8" value="1"/>
766    <value name="R10G10B10A2" value="2"/>
767    <value name="R8G8B8A2" value="3"/>
768    <value name="R4G4B4A4" value="4"/>
769    <value name="R5G6B5A0" value="5"/>
770    <value name="R5G5B5A1" value="6"/>
771    <value name="RAW8" value="32"/>
772    <value name="RAW16" value="33"/>
773    <value name="RAW32" value="34"/>
774    <value name="RAW64" value="35"/>
775    <value name="RAW128" value="36"/>
776  </enum>
777
778  <enum name="Color Format">
779    <value name="RAW8" value="0"/>
780    <value name="RAW16" value="1"/>
781    <value name="RAW24" value="2"/>
782    <value name="RAW32" value="3"/>
783    <value name="RAW48" value="4"/>
784    <value name="RAW64" value="5"/>
785    <value name="RAW96" value="6"/>
786    <value name="RAW128" value="7"/>
787    <value name="RAW192" value="8"/>
788    <value name="RAW256" value="9"/>
789    <value name="RAW384" value="10"/>
790    <value name="RAW512" value="11"/>
791    <value name="RAW768" value="12"/>
792    <value name="RAW1024" value="13"/>
793    <value name="RAW1536" value="14"/>
794    <value name="RAW2048" value="15"/>
795    <value name="R8" value="16"/>
796    <value name="R8G8" value="17"/>
797    <value name="R8G8B8" value="18"/>
798    <value name="R8G8B8A8" value="19"/>
799    <value name="R4G4B4A4" value="20"/>
800    <value name="R5G6B5" value="21"/>
801    <value name="R8G8B8_FROM_R8G8B8A2" value="22"/>
802    <value name="R10G10B10A2" value="24"/>
803    <value name="A2B10G10R10" value="25"/>
804    <value name="R5G5B5A1" value="28"/>
805    <value name="A1B5G5R5" value="29"/>
806    <value name="NATIVE" value="31"/>
807  </enum>
808
809  <enum name="Downsampling Accumulation Mode">
810    <value name="Unsigned normalized integer" value="0"/>
811    <value name="Signed normalized integer" value="1"/>
812  </enum>
813
814  <enum name="Sample Layout">
815    <value name="Ordered 4x Grid" value="0"/>
816    <value name="Rotated 4x Grid" value="1"/>
817    <value name="D3D 8x Grid" value="2"/>
818    <value name="D3D 16x Grid" value="3"/>
819  </enum>
820
821  <enum name="ZS Format">
822    <value name="D16" value="1"/>
823    <value name="D24" value="2"/>
824    <value name="D24X8" value="4"/>
825    <value name="D24S8" value="5"/>
826    <value name="X8D24" value="6"/>
827    <value name="S8D24" value="7"/>
828    <value name="D32" value="14"/>
829    <value name="D32_S8X24" value="15"/>
830  </enum>
831
832  <enum name="ZS Preload Format">
833    <value name="D32_S8X24" value="4"/>
834  </enum>
835
836  <enum name="S Format">
837    <value name="S8" value="1"/>
838    <value name="S8X8" value="2"/>
839    <value name="S8X24" value="3"/>
840    <value name="X24S8" value="4"/>
841    <value name="X8S8" value="5"/>
842    <value name="X32_S8X24" value="6"/>
843  </enum>
844
845  <enum name="Tie-Break Rule">
846    <value name="0_IN_180_OUT" value="0"/>
847    <value name="0_OUT_180_IN" value="1"/>
848    <value name="MINUS_180_IN_0_OUT" value="2"/>
849    <value name="MINUS_180_OUT_0_IN" value="3"/>
850    <value name="90_IN_270_OUT" value="4"/>
851    <value name="90_OUT_270_IN" value="5"/>
852    <value name="MINUS_90_IN_90_OUT" value="6"/>
853    <value name="MINUS_90_OUT_90_IN" value="7"/>
854  </enum>
855
856  <struct name="RT Buffer">
857    <field name="Base" size="64" start="0:0" type="address"/>
858    <field name="Row Stride" size="32" start="2:0" type="uint"/>
859    <field name="Surface Stride" size="32" start="3:0" type="uint"/>
860  </struct>
861
862  <enum name="Sample Pattern">
863    <value name="Single-sampled" value="0"/>
864    <value name="Ordered 4x Grid" value="1"/>
865    <value name="Rotated 4x Grid" value="2"/>
866    <value name="D3D 8x Grid" value="3"/>
867    <value name="D3D 16x Grid" value="4"/>
868  </enum>
869
870  <enum name="Z Internal Format">
871    <value name="D16" value="0"/>
872    <value name="D24" value="1"/>
873    <value name="D32" value="2"/>
874  </enum>
875
876  <enum name="FBD Tag">
877    <value name="IS_MFBD" value="1"/>
878    <value name="HAS_ZS_RT" value="2"/>
879    <value name="MASK" value="63"/>
880  </enum>
881
882  <struct name="Framebuffer Parameters">
883    <field name="Width" size="16" start="0:0" type="uint" modifier="minus(1)"/>
884    <field name="Height" size="16" start="0:16" type="uint" modifier="minus(1)"/>
885    <field name="Bound Min X" size="16" start="1:0" type="uint"/>
886    <field name="Bound Min Y" size="16" start="1:16" type="uint"/>
887    <field name="Bound Max X" size="16" start="2:0" type="uint"/>
888    <field name="Bound Max Y" size="16" start="2:16" type="uint"/>
889    <field name="Sample Count" size="3" start="3:0" type="uint" default="1" modifier="log2"/>
890    <field name="Sample Pattern" size="3" start="3:3" type="Sample Pattern"/>
891    <field name="Tie-Break Rule" size="3" start="3:6" type="Tie-Break Rule"/>
892    <field name="Effective Tile Size" size="4" start="3:9" type="uint" modifier="log2"/>
893    <field name="X Downsampling Scale" size="3" start="3:13" type="uint"/>
894    <field name="Y Downsampling Scale" size="3" start="3:16" type="uint"/>
895    <field name="Render Target Count" size="4" start="3:19" type="uint" modifier="minus(1)"/>
896    <field name="Color Buffer Allocation" size="8" start="3:24" type="uint" modifier="shr(10)"/>
897    <field name="S Clear" size="8" start="4:0" type="uint"/>
898    <field name="S Write Enable" size="1" start="4:8" type="bool"/>
899    <field name="S Preload Enable" size="1" start="4:9" type="bool"/>
900    <field name="S Unload Enable" size="1" start="4:10" type="bool"/>
901    <field name="Z Internal Format" size="2" start="4:16" type="Z Internal Format"/>
902    <field name="Z Write Enable" size="1" start="4:18" type="bool"/>
903    <field name="Z Preload Enable" size="1" start="4:19" type="bool"/>
904    <field name="Z Unload Enable" size="1" start="4:20" type="bool"/>
905    <field name="Has ZS CRC Extension" size="1" start="4:21" type="bool"/>
906    <field name="CRC Read Enable" size="1" start="4:30" type="bool"/>
907    <field name="CRC Write Enable" size="1" start="4:31" type="bool"/>
908    <field name="Z Clear" size="32" start="5:0" type="float"/>
909  </struct>
910
911  <struct name="ZS CRC Extension" align="64" size="16">
912    <field name="CRC Base" size="64" start="0:0" type="address"/>
913    <field name="CRC Row Stride" size="32" start="2:0" type="uint"/>
914    <field name="ZS Write Format" size="4" start="3:0" type="ZS Format"/>
915    <field name="ZS Block Format" size="2" start="3:4" type="Block Format"/>
916    <field name="ZS MSAA" size="2" start="3:6" default="Single" type="MSAA"/>
917    <field name="ZS Big Endian" size="1" start="3:8" type="bool"/>
918    <field name="ZS Clean Pixel Write Enable" size="1" start="3:10" type="bool"/>
919    <field name="S Write Format" size="4" start="3:16" type="S Format"/>
920    <field name="S Block Format" size="2" start="3:20" type="Block Format"/>
921    <field name="S MSAA" size="2" start="3:22" default="Single" type="MSAA"/>
922    <field name="ZS Preload Format" size="4" start="3:28" type="ZS Preload Format"/>
923    <field name="ZS Writeback Base" size="64" start="4:0" type="address"/>
924    <field name="ZS Writeback Row Stride" size="32" start="6:0" type="uint"/>
925    <field name="ZS Writeback Surface Stride" size="32" start="7:0" type="uint"/>
926    <field name="S Writeback Base" size="64" start="8:0" type="address"/>
927    <field name="S Writeback Row Stride" size="32" start="10:0" type="uint"/>
928    <field name="S Writeback Surface Stride" size="32" start="11:0" type="uint"/>
929    <field name="ZS AFBC Header" size="64" start="4:0" type="address"/>
930    <field name="ZS AFBC Row Stride" size="13" start="6:0" type="uint"/>
931    <field name="ZS AFBC Chunk Size" size="12" start="7:0" type="uint"/>
932    <field name="ZS AFBC Sparse" size="1" start="7:16" type="bool"/>
933    <field name="ZS AFBC Body" size="64" start="8:0" type="address"/>
934    <field name="ZS AFBC Body Size" size="32" start="10:0" type="uint"/>
935    <field name="ZS Preload Base" size="64" start="12:0" type="address"/>
936    <field name="ZS Preload Row Stride" size="32" start="14:0" type="uint"/>
937    <field name="ZS Preload Surface Stride" size="32" start="15:0" type="uint"/>
938  </struct>
939
940  <enum name="RT Endianness">
941    <value name="Little Endian" value="0"/>
942    <value name="Big Endian 2B" value="1"/>
943    <value name="Big Endian 4B" value="2"/>
944    <value name="Big Endian 8B" value="3"/>
945  </enum>
946
947  <enum name="YUV Conv K6">
948    <value name="0" value="0"/>
949    <value name="16" value="1"/>
950  </enum>
951
952  <enum name="YUV Conv K7 Clamp">
953    <value name="MINUS_128_TO_127" value="0"/>
954    <value name="MINUS_112_TO_111" value="1"/>
955    <value name="0_TO_255" value="2"/>
956    <value name="16_TO_239" value="3"/>
957  </enum>
958
959  <enum name="YUV Conv K8">
960    <value name="220" value="0"/>
961    <value name="256" value="1"/>
962  </enum>
963
964  <struct name="Render Target YUV Overlay" size="16">
965    <field name="Conv K5" size="8" start="2:16" type="uint"/>
966    <field name="Conv K6" size="1" start="2:24" type="YUV Conv K6"/>
967    <field name="Conv K7 Clamp" size="2" start="2:25" type="YUV Conv K7 Clamp"/>
968    <field name="Conv K8" size="1" start="2:27" type="YUV Conv K8"/>
969    <field name="Conv Disable" size="1" start="2:31" type="bool"/>
970    <field name="Conv K1" size="8" start="3:0" type="uint"/>
971    <field name="Conv K2" size="8" start="3:8" type="uint"/>
972    <field name="Conv K3" size="8" start="3:16" type="uint"/>
973    <field name="Conv K4" size="8" start="3:24" type="uint"/>
974    <field name="Plane 0 Base" size="64" start="4:0" type="address"/>
975    <field name="Plane 1 Base" size="64" start="6:0" type="address"/>
976    <field name="Plane 2 Base" size="64" start="8:0" type="address"/>
977    <field name="Plane 0 Stride" size="32" start="10:0" type="uint"/>
978    <field name="Plane 1 2 Stride" size="32" start="11:0" type="uint"/>
979  </struct>
980
981  <struct name="Render Target AFBC Overlay" size="16">
982    <field name="Header" size="64" start="4:0" type="address"/>
983    <field name="Row Stride" size="13" start="6:0" type="uint"/>
984    <field name="Chunk Size" size="12" start="7:0" type="uint"/>
985    <field name="Sparse" size="1" start="7:16" type="bool"/>
986    <field name="YUV Transform Enable" size="1" start="7:17" type="bool"/>
987    <field name="Body" size="64" start="8:0" type="address"/>
988    <field name="Body Size" size="32" start="10:0" type="uint"/>
989  </struct>
990
991  <struct name="RT Clear">
992    <field name="Color 0" size="32" start="0:0" type="uint"/>
993    <field name="Color 1" size="32" start="1:0" type="uint"/>
994    <field name="Color 2" size="32" start="2:0" type="uint"/>
995    <field name="Color 3" size="32" start="3:0" type="uint"/>
996  </struct>
997
998  <struct name="Render Target" align="64">
999    <field name="YUV" size="512" start="0:0" type="Render Target YUV Overlay"/>
1000    <field name="AFBC" size="512" start="0:0" type="Render Target AFBC Overlay"/>
1001    <field name="Internal Buffer Offset" size="12" start="0:4" type="uint" modifier="shr(4)"/>
1002    <field name="YUV Enable" size="1" start="0:24" type="bool"/>
1003    <field name="Internal Format" size="6" start="0:26" type="Color Buffer Internal Format"/>
1004    <field name="Write Enable" size="1" start="1:0" type="bool"/>
1005    <field name="Writeback Format" size="5" start="1:3" type="Color Format"/>
1006    <field name="Writeback Endianness" size="2" start="1:8" type="RT Endianness"/>
1007    <field name="Writeback Block Format" size="2" start="1:10" type="Block Format"/>
1008    <field name="Writeback MSAA" size="2" start="1:12" type="MSAA"/>
1009    <field name="sRGB" size="1" start="1:14" type="bool"/>
1010    <field name="Dithering Enable" size="1" start="1:15" type="bool"/>
1011    <field name="Swizzle" size="12" start="1:16" type="uint"/>
1012    <field name="Writeback Sampling Mode" size="2" start="1:29" type="Downsampling Accumulation Mode"/>
1013    <field name="Clean Pixel Write Enable" size="1" start="1:31" type="bool"/>
1014    <field name="Preload Enable" size="1" start="2:0" type="bool"/>
1015    <field name="Unload Enable" size="1" start="2:1" type="bool"/>
1016    <field name="Preload Format" size="5" start="2:3" type="Color Format"/>
1017    <field name="Preload Endianness" size="2" start="2:8" type="RT Endianness"/>
1018    <field name="Preload Block Format" size="4" start="2:10" type="Block Format"/>
1019    <field name="Preload MSAA" size="2" start="2:14" type="MSAA"/>
1020    <field name="RGB" size="128" start="8:0" type="RT Buffer"/>
1021    <field name="Preload buffer" size="128" start="12:0" type="RT Buffer"/>
1022    <field name="Clear" size="128" start="12:0" type="RT Clear"/>
1023  </struct>
1024
1025
1026  <aggregate name="Framebuffer" align="64">
1027    <section name="Local Storage" offset="0" type="Local Storage"/>
1028    <section name="Parameters" offset="32" type="Framebuffer Parameters"/>
1029    <section name="Tiler" offset="56" type="Tiler Context"/>
1030    <section name="Tiler Weights" offset="96" type="Tiler Weights"/>
1031  </aggregate>
1032
1033  <struct name="Job Header" align="64">
1034    <field name="Exception Status" size="32" start="0:0" type="uint"/>
1035    <field name="First Incomplete Task" size="32" start="1:0" type="uint"/>
1036    <field name="Fault Pointer" size="64" start="2:0" type="address"/>
1037    <field name="Is 64b" size="1" start="4:0" type="bool" default="true"/>
1038    <field name="Type" size="7" start="4:1" type="Job Type"/>
1039    <field name="Barrier" size="1" start="4:8" type="bool"/>
1040    <field name="Invalidate Cache" size="1" start="4:9" type="bool"/>
1041    <field name="Suppress Prefetch" size="1" start="4:11" type="bool"/>
1042    <field name="Enable Texture Mapper" size="1" start="4:12" type="bool"/>
1043    <field name="Relax Dependency 1" size="1" start="4:14" type="bool"/>
1044    <field name="Relax Dependency 2" size="1" start="4:15" type="bool"/>
1045    <field name="Index" size="16" start="4:16" type="uint"/>
1046    <field name="Dependency 1" size="16" start="5:0" type="uint"/>
1047    <field name="Dependency 2" size="16" start="5:16" type="uint"/>
1048    <field name="Next" size="64" start="6:0" type="address"/>
1049  </struct>
1050
1051  <struct name="Fragment Job Payload" size="8">
1052    <field name="Bound Min X" size="12" start="0:0" type="uint"/>
1053    <field name="Bound Min Y" size="12" start="0:16" type="uint"/>
1054    <field name="Bound Max X" size="12" start="1:0" type="uint"/>
1055    <field name="Bound Max Y" size="12" start="1:16" type="uint"/>
1056    <field name="Has Tile Enable Map" size="1" start="1:31" type="bool"/>
1057    <field name="Framebuffer" size="64" start="2:0" type="address"/>
1058    <field name="Tile Enable Map" size="64" start="4:0" type="address"/>
1059    <field name="Tile Enable Map Row Stride" size="8" start="6:0" type="uint"/>
1060  </struct>
1061
1062  <aggregate name="Fragment Job" align="64">
1063    <section name="Header" offset="0" type="Job Header"/>
1064    <section name="Payload" offset="32" type="Fragment Job Payload"/>
1065  </aggregate>
1066
1067  <enum name="Write Value Type">
1068    <value name="Cycle Counter" value="1"/>
1069    <value name="System Timestamp" value="2"/>
1070    <value name="Zero" value="3"/>
1071  </enum>
1072
1073  <struct name="Write Value Job Payload">
1074    <field name="Address" size="64" start="0:0" type="address"/>
1075    <field name="Type" size="32" start="2:0" type="Write Value Type"/>
1076  </struct>
1077
1078  <struct name="Cache Flush Job Payload" size="2">
1079    <field name="Clean Shader Core LS" size="1" start="0:0" type="bool"/>
1080    <field name="Invalidate Shader Core LS" size="1" start="0:1" type="bool"/>
1081    <field name="Invalidate Shader Core Other" size="1" start="0:2" type="bool"/>
1082    <field name="Job Manager Clean" size="1" start="0:16" type="bool"/>
1083    <field name="Job Manager Invalidate" size="1" start="0:17" type="bool"/>
1084    <field name="Tiler Clean" size="1" start="0:24" type="bool"/>
1085    <field name="Tiler Invalidate" size="1" start="0:25" type="bool"/>
1086    <field name="L2 Clean" size="1" start="1:0" type="bool"/>
1087    <field name="L2 Invalidate" size="1" start="1:1" type="bool"/>
1088  </struct>
1089
1090  <aggregate name="Write Value Job" align="64">
1091    <section name="Header" offset="0" type="Job Header"/>
1092    <section name="Payload" offset="32" type="Write Value Job Payload"/>
1093  </aggregate>
1094
1095  <aggregate name="Cache Flush Job" align="64">
1096    <section name="Header" offset="0" type="Job Header"/>
1097    <section name="Payload" offset="32" type="Cache Flush Job Payload"/>
1098  </aggregate>
1099
1100  <struct name="Compute Job Parameters" size="6">
1101    <field name="Job Task Split" size="4" start="0:26" type="uint"/>
1102  </struct>
1103
1104  <!-- Compute job also covers vertex and geometry operations -->
1105  <aggregate name="Compute Job" align="64">
1106    <section name="Header" offset="0" type="Job Header"/>
1107    <section name="Invocation" offset="32" type="Invocation"/>
1108    <section name="Parameters" offset="40" type="Compute Job Parameters"/>
1109    <section name="Draw" offset="64" type="Draw"/>
1110  </aggregate>
1111
1112  <struct name="Primitive Size">
1113    <field name="Constant" size="32" start="0:0" type="float"/>
1114    <field name="Size Array" size="64" start="0:0" type="uint"/>
1115  </struct>
1116
1117  <aggregate name="Tiler Job" size="192" align="64">
1118    <section name="Header" offset="0" type="Job Header"/>
1119    <section name="Invocation" offset="32" type="Invocation"/>
1120    <section name="Primitive" offset="40" type="Primitive"/>
1121    <section name="Draw" offset="64" type="Draw"/>
1122    <section name="Primitive Size" offset="184" type="Primitive Size"/>
1123  </aggregate>
1124</panxml>
1125