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