1bf215546Sopenharmony_ci<?xml version="1.0" ?>
2bf215546Sopenharmony_ci<genxml name="BRW" gen="4">
3bf215546Sopenharmony_ci
4bf215546Sopenharmony_ci  <enum name="3D_Color_Buffer_Blend_Factor" prefix="BLENDFACTOR">
5bf215546Sopenharmony_ci    <value name="ONE" value="1"/>
6bf215546Sopenharmony_ci    <value name="SRC_COLOR" value="2"/>
7bf215546Sopenharmony_ci    <value name="SRC_ALPHA" value="3"/>
8bf215546Sopenharmony_ci    <value name="DST_ALPHA" value="4"/>
9bf215546Sopenharmony_ci    <value name="DST_COLOR" value="5"/>
10bf215546Sopenharmony_ci    <value name="SRC_ALPHA_SATURATE" value="6"/>
11bf215546Sopenharmony_ci    <value name="CONST_COLOR" value="7"/>
12bf215546Sopenharmony_ci    <value name="CONST_ALPHA" value="8"/>
13bf215546Sopenharmony_ci    <value name="SRC1_COLOR" value="9"/>
14bf215546Sopenharmony_ci    <value name="SRC1_ALPHA" value="10"/>
15bf215546Sopenharmony_ci    <value name="ZERO" value="17"/>
16bf215546Sopenharmony_ci    <value name="INV_SRC_COLOR" value="18"/>
17bf215546Sopenharmony_ci    <value name="INV_SRC_ALPHA" value="19"/>
18bf215546Sopenharmony_ci    <value name="INV_DST_ALPHA" value="20"/>
19bf215546Sopenharmony_ci    <value name="INV_DST_COLOR" value="21"/>
20bf215546Sopenharmony_ci    <value name="INV_CONST_COLOR" value="23"/>
21bf215546Sopenharmony_ci    <value name="INV_CONST_ALPHA" value="24"/>
22bf215546Sopenharmony_ci    <value name="INV_SRC1_COLOR" value="25"/>
23bf215546Sopenharmony_ci    <value name="INV_SRC1_ALPHA" value="26"/>
24bf215546Sopenharmony_ci  </enum>
25bf215546Sopenharmony_ci
26bf215546Sopenharmony_ci  <enum name="3D_Color_Buffer_Blend_Function" prefix="BLENDFUNCTION">
27bf215546Sopenharmony_ci    <value name="ADD" value="0"/>
28bf215546Sopenharmony_ci    <value name="SUBTRACT" value="1"/>
29bf215546Sopenharmony_ci    <value name="REVERSE_SUBTRACT" value="2"/>
30bf215546Sopenharmony_ci    <value name="MIN" value="3"/>
31bf215546Sopenharmony_ci    <value name="MAX" value="4"/>
32bf215546Sopenharmony_ci  </enum>
33bf215546Sopenharmony_ci
34bf215546Sopenharmony_ci  <enum name="3D_Compare_Function" prefix="COMPAREFUNCTION">
35bf215546Sopenharmony_ci    <value name="ALWAYS" value="0"/>
36bf215546Sopenharmony_ci    <value name="NEVER" value="1"/>
37bf215546Sopenharmony_ci    <value name="LESS" value="2"/>
38bf215546Sopenharmony_ci    <value name="EQUAL" value="3"/>
39bf215546Sopenharmony_ci    <value name="LEQUAL" value="4"/>
40bf215546Sopenharmony_ci    <value name="GREATER" value="5"/>
41bf215546Sopenharmony_ci    <value name="NOTEQUAL" value="6"/>
42bf215546Sopenharmony_ci    <value name="GEQUAL" value="7"/>
43bf215546Sopenharmony_ci  </enum>
44bf215546Sopenharmony_ci
45bf215546Sopenharmony_ci  <enum name="3D_Logic_Op_Function" prefix="LOGICOP">
46bf215546Sopenharmony_ci    <value name="CLEAR" value="0"/>
47bf215546Sopenharmony_ci    <value name="NOR" value="1"/>
48bf215546Sopenharmony_ci    <value name="AND_INVERTED" value="2"/>
49bf215546Sopenharmony_ci    <value name="COPY_INVERTED" value="3"/>
50bf215546Sopenharmony_ci    <value name="AND_REVERSE" value="4"/>
51bf215546Sopenharmony_ci    <value name="INVERT" value="5"/>
52bf215546Sopenharmony_ci    <value name="XOR" value="6"/>
53bf215546Sopenharmony_ci    <value name="NAND" value="7"/>
54bf215546Sopenharmony_ci    <value name="AND" value="8"/>
55bf215546Sopenharmony_ci    <value name="EQUIV" value="9"/>
56bf215546Sopenharmony_ci    <value name="NOOP" value="10"/>
57bf215546Sopenharmony_ci    <value name="OR_INVERTED" value="11"/>
58bf215546Sopenharmony_ci    <value name="COPY" value="12"/>
59bf215546Sopenharmony_ci    <value name="OR_REVERSE" value="13"/>
60bf215546Sopenharmony_ci    <value name="OR" value="14"/>
61bf215546Sopenharmony_ci    <value name="SET" value="15"/>
62bf215546Sopenharmony_ci  </enum>
63bf215546Sopenharmony_ci
64bf215546Sopenharmony_ci  <enum name="3D_Prim_Topo_Type" prefix="3DPRIM">
65bf215546Sopenharmony_ci    <value name="POINTLIST" value="1"/>
66bf215546Sopenharmony_ci    <value name="LINELIST" value="2"/>
67bf215546Sopenharmony_ci    <value name="LINESTRIP" value="3"/>
68bf215546Sopenharmony_ci    <value name="TRILIST" value="4"/>
69bf215546Sopenharmony_ci    <value name="TRISTRIP" value="5"/>
70bf215546Sopenharmony_ci    <value name="TRIFAN" value="6"/>
71bf215546Sopenharmony_ci    <value name="QUADLIST" value="7"/>
72bf215546Sopenharmony_ci    <value name="QUADSTRIP" value="8"/>
73bf215546Sopenharmony_ci    <value name="LINELIST_ADJ" value="9"/>
74bf215546Sopenharmony_ci    <value name="LINESTRIP_ADJ" value="10"/>
75bf215546Sopenharmony_ci    <value name="TRILIST_ADJ" value="11"/>
76bf215546Sopenharmony_ci    <value name="TRISTRIP_ADJ" value="12"/>
77bf215546Sopenharmony_ci    <value name="TRISTRIP_REVERSE" value="13"/>
78bf215546Sopenharmony_ci    <value name="POLYGON" value="14"/>
79bf215546Sopenharmony_ci    <value name="RECTLIST" value="15"/>
80bf215546Sopenharmony_ci    <value name="LINELOOP" value="16"/>
81bf215546Sopenharmony_ci    <value name="POINTLIST _BF" value="17"/>
82bf215546Sopenharmony_ci    <value name="LINESTRIP_CONT" value="18"/>
83bf215546Sopenharmony_ci    <value name="LINESTRIP_BF" value="19"/>
84bf215546Sopenharmony_ci    <value name="LINESTRIP_CONT_BF" value="20"/>
85bf215546Sopenharmony_ci    <value name="TRIFAN_NOSTIPPLE" value="22"/>
86bf215546Sopenharmony_ci  </enum>
87bf215546Sopenharmony_ci
88bf215546Sopenharmony_ci  <enum name="3D_Stencil_Operation" prefix="STENCILOP">
89bf215546Sopenharmony_ci    <value name="KEEP" value="0"/>
90bf215546Sopenharmony_ci    <value name="ZERO" value="1"/>
91bf215546Sopenharmony_ci    <value name="REPLACE" value="2"/>
92bf215546Sopenharmony_ci    <value name="INCRSAT" value="3"/>
93bf215546Sopenharmony_ci    <value name="DECRSAT" value="4"/>
94bf215546Sopenharmony_ci    <value name="INCR" value="5"/>
95bf215546Sopenharmony_ci    <value name="DECR" value="6"/>
96bf215546Sopenharmony_ci    <value name="INVERT" value="7"/>
97bf215546Sopenharmony_ci  </enum>
98bf215546Sopenharmony_ci
99bf215546Sopenharmony_ci  <enum name="3D_Vertex_Component_Control" prefix="VFCOMP">
100bf215546Sopenharmony_ci    <value name="NOSTORE" value="0"/>
101bf215546Sopenharmony_ci    <value name="STORE_SRC" value="1"/>
102bf215546Sopenharmony_ci    <value name="STORE_0" value="2"/>
103bf215546Sopenharmony_ci    <value name="STORE_1_FP" value="3"/>
104bf215546Sopenharmony_ci    <value name="STORE_1_INT" value="4"/>
105bf215546Sopenharmony_ci    <value name="STORE_VID" value="5"/>
106bf215546Sopenharmony_ci    <value name="STORE_IID" value="6"/>
107bf215546Sopenharmony_ci    <value name="STORE_PID" value="7"/>
108bf215546Sopenharmony_ci  </enum>
109bf215546Sopenharmony_ci
110bf215546Sopenharmony_ci  <enum name="Texture_Coordinate_Mode" prefix="TCM">
111bf215546Sopenharmony_ci    <value name="WRAP" value="0"/>
112bf215546Sopenharmony_ci    <value name="MIRROR" value="1"/>
113bf215546Sopenharmony_ci    <value name="CLAMP" value="2"/>
114bf215546Sopenharmony_ci    <value name="CUBE" value="3"/>
115bf215546Sopenharmony_ci    <value name="CLAMP_BORDER" value="4"/>
116bf215546Sopenharmony_ci    <value name="MIRROR_ONCE" value="5"/>
117bf215546Sopenharmony_ci  </enum>
118bf215546Sopenharmony_ci
119bf215546Sopenharmony_ci  <struct name="CC_VIEWPORT" length="2">
120bf215546Sopenharmony_ci    <field name="Minimum Depth" start="0" end="31" type="float"/>
121bf215546Sopenharmony_ci    <field name="Maximum Depth" start="32" end="63" type="float"/>
122bf215546Sopenharmony_ci  </struct>
123bf215546Sopenharmony_ci
124bf215546Sopenharmony_ci  <struct name="CLIP_STATE" length="11">
125bf215546Sopenharmony_ci    <field name="GRF Register Count" start="1" end="3" type="uint"/>
126bf215546Sopenharmony_ci    <field name="Kernel Start Pointer" start="6" end="31" type="address"/>
127bf215546Sopenharmony_ci    <field name="Software Exception Enable" start="39" end="39" type="bool"/>
128bf215546Sopenharmony_ci    <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
129bf215546Sopenharmony_ci    <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
130bf215546Sopenharmony_ci    <field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE">
131bf215546Sopenharmony_ci      <value name="IEEE-754" value="0"/>
132bf215546Sopenharmony_ci      <value name="Alternate" value="1"/>
133bf215546Sopenharmony_ci    </field>
134bf215546Sopenharmony_ci    <field name="Thread Priority" start="49" end="49" type="uint">
135bf215546Sopenharmony_ci      <value name="Normal Priority" value="0"/>
136bf215546Sopenharmony_ci      <value name="High Priority" value="1"/>
137bf215546Sopenharmony_ci    </field>
138bf215546Sopenharmony_ci    <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
139bf215546Sopenharmony_ci    <field name="Single Program Flow" start="63" end="63" type="bool"/>
140bf215546Sopenharmony_ci    <field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/>
141bf215546Sopenharmony_ci    <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
142bf215546Sopenharmony_ci    <field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/>
143bf215546Sopenharmony_ci    <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
144bf215546Sopenharmony_ci    <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
145bf215546Sopenharmony_ci    <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
146bf215546Sopenharmony_ci    <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
147bf215546Sopenharmony_ci    <field name="Clipper Statistics Enable" start="138" end="138" type="bool"/>
148bf215546Sopenharmony_ci    <field name="GS Output Object Statistics Enable" start="138" end="138" type="bool"/>
149bf215546Sopenharmony_ci    <field name="Number of URB Entries" start="139" end="146" type="uint"/>
150bf215546Sopenharmony_ci    <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
151bf215546Sopenharmony_ci    <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
152bf215546Sopenharmony_ci    <field name="Clip Mode" start="173" end="175" type="uint" prefix="CLIPMODE">
153bf215546Sopenharmony_ci      <value name="NORMAL" value="0"/>
154bf215546Sopenharmony_ci      <value name="ALL" value="1"/>
155bf215546Sopenharmony_ci      <value name="CLIP_NON_REJECTED" value="2"/>
156bf215546Sopenharmony_ci      <value name="REJECT_ALL" value="3"/>
157bf215546Sopenharmony_ci      <value name="ACCEPT_ALL" value="4"/>
158bf215546Sopenharmony_ci    </field>
159bf215546Sopenharmony_ci    <field name="UserClipDistance ClipTest Enable Bitmask" start="176" end="183" type="uint"/>
160bf215546Sopenharmony_ci    <field name="UserClipFlags MustClip Enable" start="184" end="184" type="bool"/>
161bf215546Sopenharmony_ci    <field name="Guardband ClipTest Enable" start="186" end="186" type="bool"/>
162bf215546Sopenharmony_ci    <field name="Viewport Z ClipTest Enable" start="187" end="187" type="bool"/>
163bf215546Sopenharmony_ci    <field name="Viewport XY ClipTest Enable" start="188" end="188" type="bool"/>
164bf215546Sopenharmony_ci    <field name="Vertex Position Space" start="189" end="189" type="uint" prefix="VPOS">
165bf215546Sopenharmony_ci      <value name="NDCSPACE" value="0"/>
166bf215546Sopenharmony_ci      <value name="SCREENSPACE" value="1"/>
167bf215546Sopenharmony_ci    </field>
168bf215546Sopenharmony_ci    <field name="API Mode" start="190" end="190" type="uint" prefix="APIMODE">
169bf215546Sopenharmony_ci      <value name="OGL" value="0"/>
170bf215546Sopenharmony_ci      <value name="D3D" value="1"/>
171bf215546Sopenharmony_ci    </field>
172bf215546Sopenharmony_ci    <field name="Clipper Viewport State Pointer" start="197" end="223" type="address"/>
173bf215546Sopenharmony_ci    <field name="Screen Space Viewport X Min" start="224" end="255" type="float"/>
174bf215546Sopenharmony_ci    <field name="Screen Space Viewport X Max" start="256" end="287" type="float"/>
175bf215546Sopenharmony_ci    <field name="Screen Space Viewport Y Min" start="288" end="319" type="float"/>
176bf215546Sopenharmony_ci    <field name="Screen Space Viewport Y Max" start="320" end="351" type="float"/>
177bf215546Sopenharmony_ci  </struct>
178bf215546Sopenharmony_ci
179bf215546Sopenharmony_ci  <struct name="CLIP_VIEWPORT" length="4">
180bf215546Sopenharmony_ci    <field name="XMin Clip Guardband" start="0" end="31" type="float"/>
181bf215546Sopenharmony_ci    <field name="XMax Clip Guardband" start="32" end="63" type="float"/>
182bf215546Sopenharmony_ci    <field name="YMin Clip Guardband" start="64" end="95" type="float"/>
183bf215546Sopenharmony_ci    <field name="YMax Clip Guardband" start="96" end="127" type="float"/>
184bf215546Sopenharmony_ci  </struct>
185bf215546Sopenharmony_ci
186bf215546Sopenharmony_ci  <struct name="COLOR_CALC_STATE" length="8">
187bf215546Sopenharmony_ci    <field name="Backface Stencil Pass Depth Pass Op" start="3" end="5" type="3D_Stencil_Operation"/>
188bf215546Sopenharmony_ci    <field name="Backface Stencil Pass Depth Fail Op" start="6" end="8" type="3D_Stencil_Operation"/>
189bf215546Sopenharmony_ci    <field name="Backface Stencil Fail Op" start="9" end="11" type="3D_Stencil_Operation"/>
190bf215546Sopenharmony_ci    <field name="Backface Stencil Test Function" start="12" end="14" type="3D_Compare_Function"/>
191bf215546Sopenharmony_ci    <field name="Double Sided Stencil Enable" start="15" end="15" type="bool"/>
192bf215546Sopenharmony_ci    <field name="Stencil Buffer Write Enable" start="18" end="18" type="bool"/>
193bf215546Sopenharmony_ci    <field name="Stencil Pass Depth Pass Op" start="19" end="21" type="3D_Stencil_Operation"/>
194bf215546Sopenharmony_ci    <field name="Stencil Pass Depth Fail Op" start="22" end="24" type="3D_Stencil_Operation"/>
195bf215546Sopenharmony_ci    <field name="Stencil Fail Op" start="25" end="27" type="3D_Stencil_Operation"/>
196bf215546Sopenharmony_ci    <field name="Stencil Test Function" start="28" end="30" type="3D_Compare_Function"/>
197bf215546Sopenharmony_ci    <field name="Stencil Test Enable" start="31" end="31" type="bool"/>
198bf215546Sopenharmony_ci    <field name="Backface Stencil Reference Value" start="32" end="39" type="uint"/>
199bf215546Sopenharmony_ci    <field name="Stencil Write Mask" start="40" end="47" type="uint"/>
200bf215546Sopenharmony_ci    <field name="Stencil Test Mask" start="48" end="55" type="uint"/>
201bf215546Sopenharmony_ci    <field name="Stencil Reference Value" start="56" end="63" type="uint"/>
202bf215546Sopenharmony_ci    <field name="Logic Op Enable" start="64" end="64" type="bool"/>
203bf215546Sopenharmony_ci    <field name="Depth Buffer Write Enable" start="75" end="75" type="bool"/>
204bf215546Sopenharmony_ci    <field name="Depth Test Function" start="76" end="78" type="3D_Compare_Function"/>
205bf215546Sopenharmony_ci    <field name="Depth Test Enable" start="79" end="79" type="bool"/>
206bf215546Sopenharmony_ci    <field name="Backface Stencil Write Mask" start="80" end="87" type="uint"/>
207bf215546Sopenharmony_ci    <field name="Backface Stencil Test Mask" start="88" end="95" type="uint"/>
208bf215546Sopenharmony_ci    <field name="Alpha Test Function" start="104" end="106" type="3D_Compare_Function"/>
209bf215546Sopenharmony_ci    <field name="Alpha Test Enable" start="107" end="107" type="bool"/>
210bf215546Sopenharmony_ci    <field name="Color Buffer Blend Enable" start="108" end="108" type="bool"/>
211bf215546Sopenharmony_ci    <field name="Independent Alpha Blend Enable" start="109" end="109" type="bool"/>
212bf215546Sopenharmony_ci    <field name="Alpha Test Format" start="111" end="111" type="uint">
213bf215546Sopenharmony_ci      <value name="ALPHATEST_UNORM8" value="0"/>
214bf215546Sopenharmony_ci      <value name="ALPHATEST_FLOAT32" value="1"/>
215bf215546Sopenharmony_ci    </field>
216bf215546Sopenharmony_ci    <field name="CC Viewport State Pointer" start="133" end="159" type="address"/>
217bf215546Sopenharmony_ci    <field name="Destination Alpha Blend Factor" start="162" end="166" type="3D_Color_Buffer_Blend_Factor"/>
218bf215546Sopenharmony_ci    <field name="Source Alpha Blend Factor" start="167" end="171" type="3D_Color_Buffer_Blend_Factor"/>
219bf215546Sopenharmony_ci    <field name="Alpha Blend Function" start="172" end="174" type="3D_Color_Buffer_Blend_Function"/>
220bf215546Sopenharmony_ci    <field name="Statistics Enable" start="175" end="175" type="bool"/>
221bf215546Sopenharmony_ci    <field name="Logic Op Function" start="176" end="179" type="3D_Logic_Op_Function"/>
222bf215546Sopenharmony_ci    <field name="Round Disable Function Disable" start="190" end="190" type="bool"/>
223bf215546Sopenharmony_ci    <field name="Color Dither Enable" start="191" end="191" type="bool"/>
224bf215546Sopenharmony_ci    <field name="Post-Blend Color Clamp Enable" start="192" end="192" type="bool"/>
225bf215546Sopenharmony_ci    <field name="Pre-Blend Color Clamp Enable" start="193" end="193" type="bool"/>
226bf215546Sopenharmony_ci    <field name="Color Clamp Range" start="194" end="195" type="uint">
227bf215546Sopenharmony_ci      <value name="COLORCLAMP_UNORM" value="0"/>
228bf215546Sopenharmony_ci      <value name="COLORCLAMP_SNORM" value="1"/>
229bf215546Sopenharmony_ci      <value name="COLORCLAMP_RTFORMAT" value="2"/>
230bf215546Sopenharmony_ci    </field>
231bf215546Sopenharmony_ci    <field name="Y Dither Offset" start="207" end="208" type="uint"/>
232bf215546Sopenharmony_ci    <field name="X Dither Offset" start="209" end="210" type="uint"/>
233bf215546Sopenharmony_ci    <field name="Destination Blend Factor" start="211" end="215" type="3D_Color_Buffer_Blend_Factor"/>
234bf215546Sopenharmony_ci    <field name="Source Blend Factor" start="216" end="220" type="3D_Color_Buffer_Blend_Factor"/>
235bf215546Sopenharmony_ci    <field name="Color Blend Function" start="221" end="223" type="3D_Color_Buffer_Blend_Function"/>
236bf215546Sopenharmony_ci    <field name="Alpha Reference Value As UNORM8" start="224" end="255" type="uint"/>
237bf215546Sopenharmony_ci    <field name="Alpha Reference Value As FLOAT32" start="224" end="255" type="float"/>
238bf215546Sopenharmony_ci  </struct>
239bf215546Sopenharmony_ci
240bf215546Sopenharmony_ci  <struct name="GS_STATE" length="7">
241bf215546Sopenharmony_ci    <field name="GRF Register Count" start="1" end="3" type="uint"/>
242bf215546Sopenharmony_ci    <field name="Kernel Start Pointer" start="6" end="31" type="address"/>
243bf215546Sopenharmony_ci    <field name="Software Exception Enable" start="39" end="39" type="bool"/>
244bf215546Sopenharmony_ci    <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
245bf215546Sopenharmony_ci    <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
246bf215546Sopenharmony_ci    <field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE">
247bf215546Sopenharmony_ci      <value name="IEEE-754" value="0"/>
248bf215546Sopenharmony_ci      <value name="Alternate" value="1"/>
249bf215546Sopenharmony_ci    </field>
250bf215546Sopenharmony_ci    <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
251bf215546Sopenharmony_ci    <field name="Single Program Flow" start="63" end="63" type="bool"/>
252bf215546Sopenharmony_ci    <field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/>
253bf215546Sopenharmony_ci    <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
254bf215546Sopenharmony_ci    <field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/>
255bf215546Sopenharmony_ci    <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
256bf215546Sopenharmony_ci    <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
257bf215546Sopenharmony_ci    <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
258bf215546Sopenharmony_ci    <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
259bf215546Sopenharmony_ci    <field name="Number of URB Entries" start="139" end="146" type="uint"/>
260bf215546Sopenharmony_ci    <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
261bf215546Sopenharmony_ci    <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
262bf215546Sopenharmony_ci    <field name="Sampler Count" start="160" end="162" type="uint"/>
263bf215546Sopenharmony_ci    <field name="Sampler State Pointer" start="165" end="191" type="address"/>
264bf215546Sopenharmony_ci    <field name="Maximum VPIndex" start="192" end="195" type="uint"/>
265bf215546Sopenharmony_ci    <field name="Discard Adjacency" start="221" end="221" type="bool"/>
266bf215546Sopenharmony_ci    <field name="Reorder Enable" start="222" end="222" type="bool"/>
267bf215546Sopenharmony_ci  </struct>
268bf215546Sopenharmony_ci
269bf215546Sopenharmony_ci  <struct name="RENDER_SURFACE_STATE" length="5">
270bf215546Sopenharmony_ci    <field name="Cube Face Enable - Positive Z" start="0" end="0" type="bool"/>
271bf215546Sopenharmony_ci    <field name="Cube Face Enable - Negative Z" start="1" end="1" type="bool"/>
272bf215546Sopenharmony_ci    <field name="Cube Face Enable - Positive Y" start="2" end="2" type="bool"/>
273bf215546Sopenharmony_ci    <field name="Cube Face Enable - Negative Y" start="3" end="3" type="bool"/>
274bf215546Sopenharmony_ci    <field name="Cube Face Enable - Positive X" start="4" end="4" type="bool"/>
275bf215546Sopenharmony_ci    <field name="Cube Face Enable - Negative X" start="5" end="5" type="bool"/>
276bf215546Sopenharmony_ci    <field name="Media Boundary Pixel Mode" start="6" end="7" type="uint">
277bf215546Sopenharmony_ci      <value name="NORMAL_MODE" value="0"/>
278bf215546Sopenharmony_ci    </field>
279bf215546Sopenharmony_ci    <field name="Render Cache Read Write Mode" start="8" end="8" type="uint">
280bf215546Sopenharmony_ci      <value name="WRITE_ONLY" value="0"/>
281bf215546Sopenharmony_ci      <value name="READ_WRITE" value="1"/>
282bf215546Sopenharmony_ci    </field>
283bf215546Sopenharmony_ci    <field name="MIP Map Layout Mode" start="10" end="10" type="uint">
284bf215546Sopenharmony_ci      <value name="MIPLAYOUT_BELOW" value="0"/>
285bf215546Sopenharmony_ci      <value name="MIPLAYOUT_RIGHT" value="1"/>
286bf215546Sopenharmony_ci    </field>
287bf215546Sopenharmony_ci    <field name="Vertical Line Stride Offset" start="11" end="11" type="uint"/>
288bf215546Sopenharmony_ci    <field name="Vertical Line Stride" start="12" end="12" type="uint"/>
289bf215546Sopenharmony_ci    <field name="Color Blend Enable" start="13" end="13" type="bool"/>
290bf215546Sopenharmony_ci    <field name="Color Buffer Component Write Disables" start="14" end="17" type="uint">
291bf215546Sopenharmony_ci      <value name="WRITEDISABLE_ALPHA" value="8"/>
292bf215546Sopenharmony_ci      <value name="WRITEDISABLE_RED" value="4"/>
293bf215546Sopenharmony_ci      <value name="WRITEDISABLE_GREEN" value="2"/>
294bf215546Sopenharmony_ci      <value name="WRITEDISABLE_BLUE" value="1"/>
295bf215546Sopenharmony_ci    </field>
296bf215546Sopenharmony_ci    <field name="Surface Format" start="18" end="26" type="uint"/>
297bf215546Sopenharmony_ci    <field name="Data Return Format" start="27" end="27" type="uint">
298bf215546Sopenharmony_ci      <value name="DATA_RETURN_FLOAT32" value="0"/>
299bf215546Sopenharmony_ci      <value name="DATA_RETURN_S1.14" value="1"/>
300bf215546Sopenharmony_ci    </field>
301bf215546Sopenharmony_ci    <field name="Surface Type" start="29" end="31" type="uint">
302bf215546Sopenharmony_ci      <value name="SURFTYPE_1D" value="0"/>
303bf215546Sopenharmony_ci      <value name="SURFTYPE_2D" value="1"/>
304bf215546Sopenharmony_ci      <value name="SURFTYPE_3D" value="2"/>
305bf215546Sopenharmony_ci      <value name="SURFTYPE_CUBE" value="3"/>
306bf215546Sopenharmony_ci      <value name="SURFTYPE_BUFFER" value="4"/>
307bf215546Sopenharmony_ci      <value name="SURFTYPE_NULL" value="7"/>
308bf215546Sopenharmony_ci    </field>
309bf215546Sopenharmony_ci    <field name="Surface Base Address" start="32" end="63" type="address"/>
310bf215546Sopenharmony_ci    <field name="MIP Count / LOD" start="66" end="69" type="uint"/>
311bf215546Sopenharmony_ci    <field name="Width" start="70" end="82" type="uint"/>
312bf215546Sopenharmony_ci    <field name="Height" start="83" end="95" type="uint"/>
313bf215546Sopenharmony_ci    <field name="Tile Walk" start="96" end="96" type="uint">
314bf215546Sopenharmony_ci      <value name="TILEWALK_XMAJOR" value="0"/>
315bf215546Sopenharmony_ci      <value name="TILEWALK_YMAJOR" value="1"/>
316bf215546Sopenharmony_ci    </field>
317bf215546Sopenharmony_ci    <field name="Tiled Surface" start="97" end="97" type="uint"/>
318bf215546Sopenharmony_ci    <field name="Surface Pitch" start="99" end="115" type="uint"/>
319bf215546Sopenharmony_ci    <field name="Depth" start="117" end="127" type="uint"/>
320bf215546Sopenharmony_ci    <field name="Render Target View Extent" start="136" end="144" type="uint"/>
321bf215546Sopenharmony_ci    <field name="Minimum Array Element" start="145" end="155" type="uint"/>
322bf215546Sopenharmony_ci    <field name="Surface Min LOD" start="156" end="159" type="uint"/>
323bf215546Sopenharmony_ci  </struct>
324bf215546Sopenharmony_ci
325bf215546Sopenharmony_ci  <struct name="SAMPLER_BORDER_COLOR_STATE" length="12">
326bf215546Sopenharmony_ci    <field name="Border Color Red" start="0" end="31" type="float"/>
327bf215546Sopenharmony_ci    <field name="Border Color Green" start="32" end="63" type="float"/>
328bf215546Sopenharmony_ci    <field name="Border Color Blue" start="64" end="95" type="float"/>
329bf215546Sopenharmony_ci    <field name="Border Color Alpha" start="96" end="127" type="float"/>
330bf215546Sopenharmony_ci  </struct>
331bf215546Sopenharmony_ci
332bf215546Sopenharmony_ci  <struct name="SAMPLER_STATE" length="4">
333bf215546Sopenharmony_ci    <field name="Shadow Function" start="0" end="2" type="uint" prefix="PREFILTEROP">
334bf215546Sopenharmony_ci      <value name="ALWAYS" value="0"/>
335bf215546Sopenharmony_ci      <value name="NEVER" value="1"/>
336bf215546Sopenharmony_ci      <value name="LESS" value="2"/>
337bf215546Sopenharmony_ci      <value name="EQUAL" value="3"/>
338bf215546Sopenharmony_ci      <value name="LEQUAL" value="4"/>
339bf215546Sopenharmony_ci      <value name="GREATER" value="5"/>
340bf215546Sopenharmony_ci      <value name="NOTEQUAL" value="6"/>
341bf215546Sopenharmony_ci      <value name="GEQUAL" value="7"/>
342bf215546Sopenharmony_ci    </field>
343bf215546Sopenharmony_ci    <field name="Texture LOD Bias" start="3" end="13" type="s4.6"/>
344bf215546Sopenharmony_ci    <field name="Min Mode Filter" start="14" end="16" type="uint" prefix="MAPFILTER"/>
345bf215546Sopenharmony_ci    <field name="Mag Mode Filter" start="17" end="19" type="uint" prefix="MAPFILTER">
346bf215546Sopenharmony_ci      <value name="NEAREST" value="0"/>
347bf215546Sopenharmony_ci      <value name="LINEAR" value="1"/>
348bf215546Sopenharmony_ci      <value name="ANISOTROPIC" value="2"/>
349bf215546Sopenharmony_ci      <value name="MONO" value="6"/>
350bf215546Sopenharmony_ci    </field>
351bf215546Sopenharmony_ci    <field name="Mip Mode Filter" start="20" end="21" type="uint" prefix="MIPFILTER">
352bf215546Sopenharmony_ci      <value name="NONE" value="0"/>
353bf215546Sopenharmony_ci      <value name="NEAREST" value="1"/>
354bf215546Sopenharmony_ci      <value name="LINEAR" value="3"/>
355bf215546Sopenharmony_ci    </field>
356bf215546Sopenharmony_ci    <field name="Base Mip Level" start="22" end="26" type="u4.1"/>
357bf215546Sopenharmony_ci    <field name="LOD PreClamp Enable" start="28" end="28" type="bool"/>
358bf215546Sopenharmony_ci    <field name="Sampler Disable" start="31" end="31" type="bool"/>
359bf215546Sopenharmony_ci    <field name="TCZ Address Control Mode" start="32" end="34" type="Texture_Coordinate_Mode"/>
360bf215546Sopenharmony_ci    <field name="TCY Address Control Mode" start="35" end="37" type="Texture_Coordinate_Mode"/>
361bf215546Sopenharmony_ci    <field name="TCX Address Control Mode" start="38" end="40" type="Texture_Coordinate_Mode"/>
362bf215546Sopenharmony_ci    <field name="Cube Surface Control Mode" start="41" end="41" type="uint">
363bf215546Sopenharmony_ci      <value name="CUBECTRLMODE_PROGRAMMED" value="0"/>
364bf215546Sopenharmony_ci      <value name="CUBECTRLMODE_OVERRIDE" value="1"/>
365bf215546Sopenharmony_ci    </field>
366bf215546Sopenharmony_ci    <field name="Max LOD" start="44" end="53" type="u4.6"/>
367bf215546Sopenharmony_ci    <field name="Min LOD" start="54" end="63" type="u4.6"/>
368bf215546Sopenharmony_ci    <field name="Border Color Pointer" start="69" end="95" type="address"/>
369bf215546Sopenharmony_ci    <field name="R Address Min Filter Rounding Enable" start="109" end="109" type="bool"/>
370bf215546Sopenharmony_ci    <field name="R Address Mag Filter Rounding Enable" start="110" end="110" type="bool"/>
371bf215546Sopenharmony_ci    <field name="V Address Min Filter Rounding Enable" start="111" end="111" type="bool"/>
372bf215546Sopenharmony_ci    <field name="V Address Mag Filter Rounding Enable" start="112" end="112" type="bool"/>
373bf215546Sopenharmony_ci    <field name="U Address Min Filter Rounding Enable" start="113" end="113" type="bool"/>
374bf215546Sopenharmony_ci    <field name="U Address Mag Filter Rounding Enable" start="114" end="114" type="bool"/>
375bf215546Sopenharmony_ci    <field name="Maximum Anisotropy" start="115" end="117" type="uint">
376bf215546Sopenharmony_ci      <value name="RATIO 2:1" value="0"/>
377bf215546Sopenharmony_ci      <value name="RATIO 4:1" value="1"/>
378bf215546Sopenharmony_ci      <value name="RATIO 6:1" value="2"/>
379bf215546Sopenharmony_ci      <value name="RATIO 8:1" value="3"/>
380bf215546Sopenharmony_ci      <value name="RATIO 10:1" value="4"/>
381bf215546Sopenharmony_ci      <value name="RATIO 12:1" value="5"/>
382bf215546Sopenharmony_ci      <value name="RATIO 14:1" value="6"/>
383bf215546Sopenharmony_ci      <value name="RATIO 16:1" value="7"/>
384bf215546Sopenharmony_ci    </field>
385bf215546Sopenharmony_ci    <field name="ChromaKey Mode" start="118" end="118" type="uint" prefix="KEYFILTER">
386bf215546Sopenharmony_ci      <value name="KILL_ON_ANY_MATCH" value="0"/>
387bf215546Sopenharmony_ci      <value name="REPLACE_BLACK" value="1"/>
388bf215546Sopenharmony_ci    </field>
389bf215546Sopenharmony_ci    <field name="ChromaKey Index" start="119" end="120" type="uint"/>
390bf215546Sopenharmony_ci    <field name="ChromaKey Enable" start="121" end="121" type="bool"/>
391bf215546Sopenharmony_ci  </struct>
392bf215546Sopenharmony_ci
393bf215546Sopenharmony_ci  <struct name="SCISSOR_RECT" length="2">
394bf215546Sopenharmony_ci    <field name="Scissor Rectangle X Min" start="0" end="15" type="uint"/>
395bf215546Sopenharmony_ci    <field name="Scissor Rectangle Y Min" start="16" end="31" type="uint"/>
396bf215546Sopenharmony_ci    <field name="Scissor Rectangle X Max" start="32" end="47" type="uint"/>
397bf215546Sopenharmony_ci    <field name="Scissor Rectangle Y Max" start="48" end="63" type="uint"/>
398bf215546Sopenharmony_ci  </struct>
399bf215546Sopenharmony_ci
400bf215546Sopenharmony_ci  <struct name="SF_STATE" length="8">
401bf215546Sopenharmony_ci    <field name="GRF Register Count" start="1" end="3" type="uint"/>
402bf215546Sopenharmony_ci    <field name="Kernel Start Pointer" start="6" end="31" type="address"/>
403bf215546Sopenharmony_ci    <field name="Software Exception Enable" start="39" end="39" type="bool"/>
404bf215546Sopenharmony_ci    <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
405bf215546Sopenharmony_ci    <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
406bf215546Sopenharmony_ci    <field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE">
407bf215546Sopenharmony_ci      <value name="IEEE-754" value="0"/>
408bf215546Sopenharmony_ci      <value name="Alternate" value="1"/>
409bf215546Sopenharmony_ci    </field>
410bf215546Sopenharmony_ci    <field name="Thread Priority" start="49" end="49" type="uint">
411bf215546Sopenharmony_ci      <value name="Normal Priority" value="0"/>
412bf215546Sopenharmony_ci      <value name="High Priority" value="1"/>
413bf215546Sopenharmony_ci    </field>
414bf215546Sopenharmony_ci    <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
415bf215546Sopenharmony_ci    <field name="Single Program Flow" start="63" end="63" type="bool"/>
416bf215546Sopenharmony_ci    <field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/>
417bf215546Sopenharmony_ci    <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
418bf215546Sopenharmony_ci    <field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/>
419bf215546Sopenharmony_ci    <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
420bf215546Sopenharmony_ci    <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
421bf215546Sopenharmony_ci    <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
422bf215546Sopenharmony_ci    <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
423bf215546Sopenharmony_ci    <field name="Number of URB Entries" start="139" end="146" type="uint"/>
424bf215546Sopenharmony_ci    <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
425bf215546Sopenharmony_ci    <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
426bf215546Sopenharmony_ci    <field name="Front Winding" start="160" end="160" type="uint">
427bf215546Sopenharmony_ci      <value name="FRONTWINDING_CW" value="0"/>
428bf215546Sopenharmony_ci      <value name="FRONTWINDING_CCW" value="1"/>
429bf215546Sopenharmony_ci    </field>
430bf215546Sopenharmony_ci    <field name="Viewport Transform Enable" start="161" end="161" type="bool"/>
431bf215546Sopenharmony_ci    <field name="Setup Viewport State Offset" start="165" end="191" type="address"/>
432bf215546Sopenharmony_ci    <field name="Destination Origin Vertical Bias" start="201" end="204" type="u0.4"/>
433bf215546Sopenharmony_ci    <field name="Destination Origin Horizontal Bias" start="205" end="208" type="u0.4"/>
434bf215546Sopenharmony_ci    <field name="Scissor Rectangle Enable" start="209" end="209" type="bool"/>
435bf215546Sopenharmony_ci    <field name="2x2 Pixel Triangle Filter Disable" start="210" end="210" type="bool"/>
436bf215546Sopenharmony_ci    <field name="Zero Pixel Triangle Filter Disable" start="211" end="211" type="bool"/>
437bf215546Sopenharmony_ci    <field name="Point Rasterization Rule" start="212" end="213" type="uint">
438bf215546Sopenharmony_ci      <value name="RASTRULE_UPPER_LEFT" value="0"/>
439bf215546Sopenharmony_ci      <value name="RASTRULE_UPPER_RIGHT" value="1"/>
440bf215546Sopenharmony_ci    </field>
441bf215546Sopenharmony_ci    <field name="Line End Cap Antialiasing Region Width" start="214" end="215" type="uint">
442bf215546Sopenharmony_ci      <value name="0.5 pixels" value="0"/>
443bf215546Sopenharmony_ci      <value name="1.0 pixels" value="1"/>
444bf215546Sopenharmony_ci      <value name="2.0 pixels" value="2"/>
445bf215546Sopenharmony_ci      <value name="4.0 pixels" value="3"/>
446bf215546Sopenharmony_ci    </field>
447bf215546Sopenharmony_ci    <field name="Line Width" start="216" end="219" type="u3.1"/>
448bf215546Sopenharmony_ci    <field name="Fast Scissor Clip Disable" start="220" end="220" type="bool"/>
449bf215546Sopenharmony_ci    <field name="Cull Mode" start="221" end="222" type="uint" prefix="CULLMODE">
450bf215546Sopenharmony_ci      <value name="BOTH" value="0"/>
451bf215546Sopenharmony_ci      <value name="NONE" value="1"/>
452bf215546Sopenharmony_ci      <value name="FRONT" value="2"/>
453bf215546Sopenharmony_ci      <value name="BACK" value="3"/>
454bf215546Sopenharmony_ci    </field>
455bf215546Sopenharmony_ci    <field name="Antialiasing Enable" start="223" end="223" type="bool"/>
456bf215546Sopenharmony_ci    <field name="Point Width" start="224" end="234" type="u8.3"/>
457bf215546Sopenharmony_ci    <field name="Point Width Source" start="235" end="235" type="uint">
458bf215546Sopenharmony_ci      <value name="Vertex" value="0"/>
459bf215546Sopenharmony_ci      <value name="State" value="1"/>
460bf215546Sopenharmony_ci    </field>
461bf215546Sopenharmony_ci    <field name="Vertex Sub Pixel Precision Select" start="236" end="236" type="uint">
462bf215546Sopenharmony_ci      <value name="8 Sub-Pixel Precision Bits" value="0"/>
463bf215546Sopenharmony_ci      <value name="4 Sub-Pixel Precision Bits" value="1"/>
464bf215546Sopenharmony_ci    </field>
465bf215546Sopenharmony_ci    <field name="Sprite Point Enable" start="237" end="237" type="bool"/>
466bf215546Sopenharmony_ci    <field name="Triangle Fan Provoking Vertex Select" start="249" end="250" type="uint">
467bf215546Sopenharmony_ci      <value name="Vertex 0" value="0"/>
468bf215546Sopenharmony_ci      <value name="Vertex 1" value="1"/>
469bf215546Sopenharmony_ci      <value name="Vertex 2" value="2"/>
470bf215546Sopenharmony_ci    </field>
471bf215546Sopenharmony_ci    <field name="Line Strip/List Provoking Vertex Select" start="251" end="252" type="uint">
472bf215546Sopenharmony_ci      <value name="Vertex 0" value="0"/>
473bf215546Sopenharmony_ci      <value name="Vertex 1" value="1"/>
474bf215546Sopenharmony_ci    </field>
475bf215546Sopenharmony_ci    <field name="Triangle Strip/List Provoking Vertex Select" start="253" end="254" type="uint">
476bf215546Sopenharmony_ci      <value name="Vertex 0" value="0"/>
477bf215546Sopenharmony_ci      <value name="Vertex 1" value="1"/>
478bf215546Sopenharmony_ci      <value name="Vertex 2" value="2"/>
479bf215546Sopenharmony_ci    </field>
480bf215546Sopenharmony_ci    <field name="Last Pixel Enable" start="255" end="255" type="bool"/>
481bf215546Sopenharmony_ci  </struct>
482bf215546Sopenharmony_ci
483bf215546Sopenharmony_ci  <struct name="SF_VIEWPORT" length="8">
484bf215546Sopenharmony_ci    <field name="Viewport Matrix Element m00" start="0" end="31" type="float"/>
485bf215546Sopenharmony_ci    <field name="Viewport Matrix Element m11" start="32" end="63" type="float"/>
486bf215546Sopenharmony_ci    <field name="Viewport Matrix Element m22" start="64" end="95" type="float"/>
487bf215546Sopenharmony_ci    <field name="Viewport Matrix Element m30" start="96" end="127" type="float"/>
488bf215546Sopenharmony_ci    <field name="Viewport Matrix Element m31" start="128" end="159" type="float"/>
489bf215546Sopenharmony_ci    <field name="Viewport Matrix Element m32" start="160" end="191" type="float"/>
490bf215546Sopenharmony_ci    <field name="Scissor Rectangle" start="192" end="255" type="SCISSOR_RECT"/>
491bf215546Sopenharmony_ci  </struct>
492bf215546Sopenharmony_ci
493bf215546Sopenharmony_ci  <struct name="VERTEX_BUFFER_STATE" length="4">
494bf215546Sopenharmony_ci    <field name="Buffer Pitch" start="0" end="10" type="uint"/>
495bf215546Sopenharmony_ci    <field name="Buffer Access Type" start="26" end="26" type="uint">
496bf215546Sopenharmony_ci      <value name="VERTEXDATA" value="0"/>
497bf215546Sopenharmony_ci      <value name="INSTANCEDATA" value="1"/>
498bf215546Sopenharmony_ci    </field>
499bf215546Sopenharmony_ci    <field name="Vertex Buffer Index" start="27" end="31" type="uint"/>
500bf215546Sopenharmony_ci    <field name="Buffer Starting Address" start="32" end="63" type="address"/>
501bf215546Sopenharmony_ci    <field name="Max Index" start="64" end="95" type="uint"/>
502bf215546Sopenharmony_ci    <field name="Instance Data Step Rate" start="96" end="127" type="uint"/>
503bf215546Sopenharmony_ci  </struct>
504bf215546Sopenharmony_ci
505bf215546Sopenharmony_ci  <struct name="VERTEX_ELEMENT_STATE" length="2">
506bf215546Sopenharmony_ci    <field name="Source Element Offset" start="0" end="10" type="uint"/>
507bf215546Sopenharmony_ci    <field name="Source Element Format" start="16" end="24" type="uint"/>
508bf215546Sopenharmony_ci    <field name="Valid" start="26" end="26" type="bool"/>
509bf215546Sopenharmony_ci    <field name="Vertex Buffer Index" start="27" end="31" type="uint"/>
510bf215546Sopenharmony_ci    <field name="Destination Element Offset" start="32" end="39" type="uint"/>
511bf215546Sopenharmony_ci    <field name="Component 3 Control" start="48" end="50" type="3D_Vertex_Component_Control"/>
512bf215546Sopenharmony_ci    <field name="Component 2 Control" start="52" end="54" type="3D_Vertex_Component_Control"/>
513bf215546Sopenharmony_ci    <field name="Component 1 Control" start="56" end="58" type="3D_Vertex_Component_Control"/>
514bf215546Sopenharmony_ci    <field name="Component 0 Control" start="60" end="62" type="3D_Vertex_Component_Control"/>
515bf215546Sopenharmony_ci  </struct>
516bf215546Sopenharmony_ci
517bf215546Sopenharmony_ci  <struct name="VS_STATE" length="7">
518bf215546Sopenharmony_ci    <field name="GRF Register Count" start="1" end="3" type="uint"/>
519bf215546Sopenharmony_ci    <field name="Kernel Start Pointer" start="6" end="31" type="address"/>
520bf215546Sopenharmony_ci    <field name="Software Exception Enable" start="39" end="39" type="bool"/>
521bf215546Sopenharmony_ci    <field name="Mask Stack Exception Enable" start="43" end="43" type="bool"/>
522bf215546Sopenharmony_ci    <field name="Illegal Opcode Exception Enable" start="45" end="45" type="bool"/>
523bf215546Sopenharmony_ci    <field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE">
524bf215546Sopenharmony_ci      <value name="IEEE-754" value="0"/>
525bf215546Sopenharmony_ci      <value name="Alternate" value="1"/>
526bf215546Sopenharmony_ci    </field>
527bf215546Sopenharmony_ci    <field name="Thread Priority" start="49" end="49" type="uint">
528bf215546Sopenharmony_ci      <value name="Normal Priority" value="0"/>
529bf215546Sopenharmony_ci      <value name="High Priority" value="1"/>
530bf215546Sopenharmony_ci    </field>
531bf215546Sopenharmony_ci    <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
532bf215546Sopenharmony_ci    <field name="Single Program Flow" start="63" end="63" type="bool"/>
533bf215546Sopenharmony_ci    <field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/>
534bf215546Sopenharmony_ci    <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
535bf215546Sopenharmony_ci    <field name="Dispatch GRF Start Register For URB Data" start="96" end="99" type="uint"/>
536bf215546Sopenharmony_ci    <field name="Vertex URB Entry Read Offset" start="100" end="105" type="uint"/>
537bf215546Sopenharmony_ci    <field name="Vertex URB Entry Read Length" start="107" end="112" type="uint"/>
538bf215546Sopenharmony_ci    <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
539bf215546Sopenharmony_ci    <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
540bf215546Sopenharmony_ci    <field name="Statistics Enable" start="138" end="138" type="bool"/>
541bf215546Sopenharmony_ci    <field name="Number of URB Entries" start="139" end="146" type="uint"/>
542bf215546Sopenharmony_ci    <field name="URB Entry Allocation Size" start="147" end="151" type="uint"/>
543bf215546Sopenharmony_ci    <field name="Maximum Number of Threads" start="153" end="158" type="uint"/>
544bf215546Sopenharmony_ci    <field name="Sampler Count" start="160" end="162" type="uint"/>
545bf215546Sopenharmony_ci    <field name="Sampler State Pointer" start="165" end="191" type="address"/>
546bf215546Sopenharmony_ci    <field name="Enable" start="192" end="192" type="bool"/>
547bf215546Sopenharmony_ci    <field name="Vertex Cache Disable" start="193" end="193" type="bool"/>
548bf215546Sopenharmony_ci  </struct>
549bf215546Sopenharmony_ci
550bf215546Sopenharmony_ci  <struct name="WM_STATE" length="8">
551bf215546Sopenharmony_ci    <field name="GRF Register Count 0" start="1" end="3" type="uint"/>
552bf215546Sopenharmony_ci    <field name="Kernel Start Pointer 0" start="6" end="31" type="address"/>
553bf215546Sopenharmony_ci    <field name="Software Exception Enable" start="33" end="33" type="bool"/>
554bf215546Sopenharmony_ci    <field name="Mask Stack Exception Enable" start="34" end="34" type="bool"/>
555bf215546Sopenharmony_ci    <field name="Illegal Opcode Exception Enable" start="36" end="36" type="bool"/>
556bf215546Sopenharmony_ci    <field name="Depth Coefficient URB Read Offset" start="40" end="45" type="uint"/>
557bf215546Sopenharmony_ci    <field name="Floating Point Mode" start="48" end="48" type="uint" prefix="FLOATING_POINT_MODE">
558bf215546Sopenharmony_ci      <value name="IEEE-754" value="0"/>
559bf215546Sopenharmony_ci      <value name="Alternate" value="1"/>
560bf215546Sopenharmony_ci    </field>
561bf215546Sopenharmony_ci    <field name="Thread Priority" start="49" end="49" type="uint">
562bf215546Sopenharmony_ci      <value name="High" value="1"/>
563bf215546Sopenharmony_ci    </field>
564bf215546Sopenharmony_ci    <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
565bf215546Sopenharmony_ci    <field name="Single Program Flow" start="63" end="63" type="bool"/>
566bf215546Sopenharmony_ci    <field name="Per-Thread Scratch Space" start="64" end="67" type="uint"/>
567bf215546Sopenharmony_ci    <field name="Scratch Space Base Pointer" start="74" end="95" type="address"/>
568bf215546Sopenharmony_ci    <field name="Dispatch GRF Start Register For Constant/Setup Data 0" start="96" end="99" type="uint"/>
569bf215546Sopenharmony_ci    <field name="Setup URB Entry Read Offset" start="100" end="105" type="uint"/>
570bf215546Sopenharmony_ci    <field name="Setup URB Entry Read Length" start="107" end="112" type="uint"/>
571bf215546Sopenharmony_ci    <field name="Constant URB Entry Read Offset" start="114" end="119" type="uint"/>
572bf215546Sopenharmony_ci    <field name="Constant URB Entry Read Length" start="121" end="126" type="uint"/>
573bf215546Sopenharmony_ci    <field name="Statistics Enable" start="128" end="128" type="bool"/>
574bf215546Sopenharmony_ci    <field name="Sampler Count" start="130" end="132" type="uint"/>
575bf215546Sopenharmony_ci    <field name="Sampler State Pointer" start="133" end="159" type="address"/>
576bf215546Sopenharmony_ci    <field name="8 Pixel Dispatch Enable" start="160" end="160" type="bool"/>
577bf215546Sopenharmony_ci    <field name="16 Pixel Dispatch Enable" start="161" end="161" type="bool"/>
578bf215546Sopenharmony_ci    <field name="32 Pixel Dispatch Enable" start="162" end="162" type="bool"/>
579bf215546Sopenharmony_ci    <field name="Legacy Global Depth Bias Enable" start="170" end="170" type="bool"/>
580bf215546Sopenharmony_ci    <field name="Line Stipple Enable" start="171" end="171" type="bool"/>
581bf215546Sopenharmony_ci    <field name="Global Depth Offset Enable" start="172" end="172" type="bool"/>
582bf215546Sopenharmony_ci    <field name="Polygon Stipple Enable" start="173" end="173" type="bool"/>
583bf215546Sopenharmony_ci    <field name="Line Antialiasing Region Width" start="174" end="175" type="uint">
584bf215546Sopenharmony_ci      <value name="0.5 pixels" value="0"/>
585bf215546Sopenharmony_ci      <value name="1.0 pixels" value="1"/>
586bf215546Sopenharmony_ci      <value name="2.0 pixels" value="2"/>
587bf215546Sopenharmony_ci      <value name="4.0 pixels" value="3"/>
588bf215546Sopenharmony_ci    </field>
589bf215546Sopenharmony_ci    <field name="Line End Cap Antialiasing Region Width" start="176" end="177" type="uint">
590bf215546Sopenharmony_ci      <value name="0.5 pixels" value="0"/>
591bf215546Sopenharmony_ci      <value name="1.0 pixels" value="1"/>
592bf215546Sopenharmony_ci      <value name="2.0 pixels" value="2"/>
593bf215546Sopenharmony_ci      <value name="4.0 pixels" value="3"/>
594bf215546Sopenharmony_ci    </field>
595bf215546Sopenharmony_ci    <field name="Early Depth Test Enable" start="178" end="178" type="bool"/>
596bf215546Sopenharmony_ci    <field name="Thread Dispatch Enable" start="179" end="179" type="bool"/>
597bf215546Sopenharmony_ci    <field name="Pixel Shader Uses Source Depth" start="180" end="180" type="bool"/>
598bf215546Sopenharmony_ci    <field name="Pixel Shader Computed Depth" start="181" end="181" type="bool"/>
599bf215546Sopenharmony_ci    <field name="Pixel Shader Kills Pixel" start="182" end="182" type="bool"/>
600bf215546Sopenharmony_ci    <field name="Legacy Diamond Line Rasterization" start="183" end="183" type="bool"/>
601bf215546Sopenharmony_ci    <field name="Maximum Number of Threads" start="185" end="191" type="uint"/>
602bf215546Sopenharmony_ci    <field name="Global Depth Offset Constant" start="192" end="223" type="float"/>
603bf215546Sopenharmony_ci    <field name="Global Depth Offset Scale" start="224" end="255" type="float"/>
604bf215546Sopenharmony_ci  </struct>
605bf215546Sopenharmony_ci
606bf215546Sopenharmony_ci  <instruction name="3DPRIMITIVE" bias="2" length="6" engine="render">
607bf215546Sopenharmony_ci    <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
608bf215546Sopenharmony_ci    <field name="Primitive Topology Type" start="10" end="14" type="3D_Prim_Topo_Type"/>
609bf215546Sopenharmony_ci    <field name="Vertex Access Type" start="15" end="15" type="uint">
610bf215546Sopenharmony_ci      <value name="SEQUENTIAL" value="0"/>
611bf215546Sopenharmony_ci      <value name="RANDOM" value="1"/>
612bf215546Sopenharmony_ci    </field>
613bf215546Sopenharmony_ci    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
614bf215546Sopenharmony_ci    <field name="3D Command Opcode" start="24" end="26" type="uint" default="3"/>
615bf215546Sopenharmony_ci    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
616bf215546Sopenharmony_ci    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
617bf215546Sopenharmony_ci    <field name="Vertex Count Per Instance" start="32" end="63" type="uint"/>
618bf215546Sopenharmony_ci    <field name="Start Vertex Location" start="64" end="95" type="uint"/>
619bf215546Sopenharmony_ci    <field name="Instance Count" start="96" end="127" type="uint" default="1">
620bf215546Sopenharmony_ci      <value name="UNDEFINED" value="0"/>
621bf215546Sopenharmony_ci      <value name="'non-instanced' operation" value="1"/>
622bf215546Sopenharmony_ci    </field>
623bf215546Sopenharmony_ci    <field name="Base Vertex Location" start="160" end="191" type="int"/>
624bf215546Sopenharmony_ci  </instruction>
625bf215546Sopenharmony_ci
626bf215546Sopenharmony_ci  <instruction name="3DSTATE_BINDING_TABLE_POINTERS" bias="2" length="6" engine="render">
627bf215546Sopenharmony_ci    <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
628bf215546Sopenharmony_ci    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
629bf215546Sopenharmony_ci    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
630bf215546Sopenharmony_ci    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
631bf215546Sopenharmony_ci    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
632bf215546Sopenharmony_ci    <field name="Pointer to VS Binding Table" start="37" end="63" type="offset"/>
633bf215546Sopenharmony_ci    <field name="Pointer to GS Binding Table" start="69" end="95" type="offset"/>
634bf215546Sopenharmony_ci    <field name="Pointer to CLIP Binding Table" start="101" end="127" type="offset"/>
635bf215546Sopenharmony_ci    <field name="Pointer to SF Binding Table" start="133" end="159" type="offset"/>
636bf215546Sopenharmony_ci    <field name="Pointer to PS Binding Table" start="165" end="191" type="offset"/>
637bf215546Sopenharmony_ci  </instruction>
638bf215546Sopenharmony_ci
639bf215546Sopenharmony_ci  <instruction name="3DSTATE_CONSTANT_COLOR" bias="2" length="5" engine="render">
640bf215546Sopenharmony_ci    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
641bf215546Sopenharmony_ci    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
642bf215546Sopenharmony_ci    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
643bf215546Sopenharmony_ci    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
644bf215546Sopenharmony_ci    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
645bf215546Sopenharmony_ci    <field name="Blend Constant Color Red" start="32" end="63" type="float"/>
646bf215546Sopenharmony_ci    <field name="Blend Constant Color Green" start="64" end="95" type="float"/>
647bf215546Sopenharmony_ci    <field name="Blend Constant Color Blue" start="96" end="127" type="float"/>
648bf215546Sopenharmony_ci    <field name="Blend Constant Color Alpha" start="128" end="159" type="float"/>
649bf215546Sopenharmony_ci  </instruction>
650bf215546Sopenharmony_ci
651bf215546Sopenharmony_ci  <instruction name="3DSTATE_DEPTH_BUFFER" bias="2" length="5" engine="render">
652bf215546Sopenharmony_ci    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
653bf215546Sopenharmony_ci    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="5"/>
654bf215546Sopenharmony_ci    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
655bf215546Sopenharmony_ci    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
656bf215546Sopenharmony_ci    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
657bf215546Sopenharmony_ci    <field name="Surface Pitch" start="32" end="48" type="uint"/>
658bf215546Sopenharmony_ci    <field name="Surface Format" start="50" end="52" type="uint">
659bf215546Sopenharmony_ci      <value name="D32_FLOAT_S8X24_UINT" value="0"/>
660bf215546Sopenharmony_ci      <value name="D32_FLOAT" value="1"/>
661bf215546Sopenharmony_ci      <value name="D24_UNORM_S8_UINT" value="2"/>
662bf215546Sopenharmony_ci      <value name="D24_UNORM_X8_UINT" value="3"/>
663bf215546Sopenharmony_ci      <value name="D16_UNORM" value="5"/>
664bf215546Sopenharmony_ci    </field>
665bf215546Sopenharmony_ci    <field name="Software Tiled Rendering Mode" start="55" end="56" type="uint">
666bf215546Sopenharmony_ci      <value name="NORMAL" value="0"/>
667bf215546Sopenharmony_ci      <value name="STR1" value="1"/>
668bf215546Sopenharmony_ci      <value name="STR2" value="3"/>
669bf215546Sopenharmony_ci    </field>
670bf215546Sopenharmony_ci    <field name="Depth Buffer Coordinate Offset Disable" start="57" end="57" type="bool"/>
671bf215546Sopenharmony_ci    <field name="Tile Walk" start="58" end="58" type="uint">
672bf215546Sopenharmony_ci      <value name="TILEWALK_YMAJOR" value="1"/>
673bf215546Sopenharmony_ci    </field>
674bf215546Sopenharmony_ci    <field name="Tiled Surface" start="59" end="59" type="bool"/>
675bf215546Sopenharmony_ci    <field name="Surface Type" start="61" end="63" type="uint">
676bf215546Sopenharmony_ci      <value name="SURFTYPE_1D" value="0"/>
677bf215546Sopenharmony_ci      <value name="SURFTYPE_2D" value="1"/>
678bf215546Sopenharmony_ci      <value name="SURFTYPE_3D" value="2"/>
679bf215546Sopenharmony_ci      <value name="SURFTYPE_CUBE" value="3"/>
680bf215546Sopenharmony_ci      <value name="SURFTYPE_NULL" value="7"/>
681bf215546Sopenharmony_ci    </field>
682bf215546Sopenharmony_ci    <field name="Surface Base Address" start="64" end="95" type="address"/>
683bf215546Sopenharmony_ci    <field name="MIP Map Layout Mode" start="97" end="97" type="uint">
684bf215546Sopenharmony_ci      <value name="MIPLAYOUT_BELOW" value="0"/>
685bf215546Sopenharmony_ci      <value name="MIPLAYOUT_RIGHT" value="1"/>
686bf215546Sopenharmony_ci    </field>
687bf215546Sopenharmony_ci    <field name="LOD" start="98" end="101" type="uint"/>
688bf215546Sopenharmony_ci    <field name="Width" start="102" end="114" type="uint"/>
689bf215546Sopenharmony_ci    <field name="Height" start="115" end="127" type="uint">
690bf215546Sopenharmony_ci      <value name="SURFTYPE_1D:  must be zero" value="0"/>
691bf215546Sopenharmony_ci    </field>
692bf215546Sopenharmony_ci    <field name="Render Target View Extent" start="129" end="137" type="uint"/>
693bf215546Sopenharmony_ci    <field name="Minimum Array Element" start="138" end="148" type="uint"/>
694bf215546Sopenharmony_ci    <field name="Depth" start="149" end="159" type="uint">
695bf215546Sopenharmony_ci      <value name="SURFTYPE_CUBE:  must be zero" value="0"/>
696bf215546Sopenharmony_ci    </field>
697bf215546Sopenharmony_ci  </instruction>
698bf215546Sopenharmony_ci
699bf215546Sopenharmony_ci  <instruction name="3DSTATE_DRAWING_RECTANGLE" bias="2" length="4" engine="render">
700bf215546Sopenharmony_ci    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
701bf215546Sopenharmony_ci    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
702bf215546Sopenharmony_ci    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
703bf215546Sopenharmony_ci    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
704bf215546Sopenharmony_ci    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
705bf215546Sopenharmony_ci    <field name="Clipped Drawing Rectangle X Min" start="32" end="47" type="uint"/>
706bf215546Sopenharmony_ci    <field name="Clipped Drawing Rectangle Y Min" start="48" end="63" type="uint"/>
707bf215546Sopenharmony_ci    <field name="Clipped Drawing Rectangle X Max" start="64" end="79" type="uint"/>
708bf215546Sopenharmony_ci    <field name="Clipped Drawing Rectangle Y Max" start="80" end="95" type="uint"/>
709bf215546Sopenharmony_ci    <field name="Drawing Rectangle Origin X" start="96" end="111" type="int"/>
710bf215546Sopenharmony_ci    <field name="Drawing Rectangle Origin Y" start="112" end="127" type="int"/>
711bf215546Sopenharmony_ci  </instruction>
712bf215546Sopenharmony_ci
713bf215546Sopenharmony_ci  <instruction name="3DSTATE_GLOBAL_DEPTH_OFFSET_CLAMP" bias="2" length="2" engine="render">
714bf215546Sopenharmony_ci    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
715bf215546Sopenharmony_ci    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
716bf215546Sopenharmony_ci    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
717bf215546Sopenharmony_ci    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
718bf215546Sopenharmony_ci    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
719bf215546Sopenharmony_ci    <field name="Global Depth Offset Clamp" start="32" end="63" type="float"/>
720bf215546Sopenharmony_ci  </instruction>
721bf215546Sopenharmony_ci
722bf215546Sopenharmony_ci  <instruction name="3DSTATE_INDEX_BUFFER" bias="2" length="3" engine="render">
723bf215546Sopenharmony_ci    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
724bf215546Sopenharmony_ci    <field name="Index Format" start="8" end="9" type="uint" prefix="INDEX">
725bf215546Sopenharmony_ci      <value name="BYTE" value="0"/>
726bf215546Sopenharmony_ci      <value name="WORD" value="1"/>
727bf215546Sopenharmony_ci      <value name="DWORD" value="2"/>
728bf215546Sopenharmony_ci    </field>
729bf215546Sopenharmony_ci    <field name="Cut Index Enable" start="10" end="10" type="bool"/>
730bf215546Sopenharmony_ci    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="10"/>
731bf215546Sopenharmony_ci    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
732bf215546Sopenharmony_ci    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
733bf215546Sopenharmony_ci    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
734bf215546Sopenharmony_ci    <field name="Buffer Starting Address" start="32" end="63" type="address"/>
735bf215546Sopenharmony_ci    <field name="Buffer Ending Address" start="64" end="95" type="address"/>
736bf215546Sopenharmony_ci  </instruction>
737bf215546Sopenharmony_ci
738bf215546Sopenharmony_ci  <instruction name="3DSTATE_LINE_STIPPLE" bias="2" length="3" engine="render">
739bf215546Sopenharmony_ci    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
740bf215546Sopenharmony_ci    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
741bf215546Sopenharmony_ci    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
742bf215546Sopenharmony_ci    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
743bf215546Sopenharmony_ci    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
744bf215546Sopenharmony_ci    <field name="Line Stipple Pattern" start="32" end="47" type="uint"/>
745bf215546Sopenharmony_ci    <field name="Current Stipple Index" start="48" end="51" type="uint"/>
746bf215546Sopenharmony_ci    <field name="Current Repeat Counter" start="53" end="61" type="uint"/>
747bf215546Sopenharmony_ci    <field name="Modify Enable" start="63" end="63" type="bool"/>
748bf215546Sopenharmony_ci    <field name="Line Stipple Repeat Count" start="64" end="72" type="uint"/>
749bf215546Sopenharmony_ci    <field name="Line Stipple Inverse Repeat Count" start="80" end="95" type="u1.13"/>
750bf215546Sopenharmony_ci  </instruction>
751bf215546Sopenharmony_ci
752bf215546Sopenharmony_ci  <instruction name="3DSTATE_PIPELINED_POINTERS" bias="2" length="7" engine="render">
753bf215546Sopenharmony_ci    <field name="DWord Length" start="0" end="7" type="uint" default="5"/>
754bf215546Sopenharmony_ci    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
755bf215546Sopenharmony_ci    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
756bf215546Sopenharmony_ci    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
757bf215546Sopenharmony_ci    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
758bf215546Sopenharmony_ci    <field name="Pointer to VS State" start="37" end="63" type="address"/>
759bf215546Sopenharmony_ci    <field name="GS Enable" start="64" end="64" type="bool"/>
760bf215546Sopenharmony_ci    <field name="Pointer to GS State" start="69" end="95" type="address"/>
761bf215546Sopenharmony_ci    <field name="Clip Enable" start="96" end="96" type="bool"/>
762bf215546Sopenharmony_ci    <field name="Pointer to CLIP State" start="101" end="127" type="address"/>
763bf215546Sopenharmony_ci    <field name="Pointer to SF State" start="133" end="159" type="address"/>
764bf215546Sopenharmony_ci    <field name="Pointer to WM State" start="165" end="191" type="address"/>
765bf215546Sopenharmony_ci    <field name="Pointer to Color Calc State" start="197" end="223" type="address"/>
766bf215546Sopenharmony_ci  </instruction>
767bf215546Sopenharmony_ci
768bf215546Sopenharmony_ci  <instruction name="3DSTATE_POLY_STIPPLE_OFFSET" bias="2" length="2" engine="render">
769bf215546Sopenharmony_ci    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
770bf215546Sopenharmony_ci    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="6"/>
771bf215546Sopenharmony_ci    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
772bf215546Sopenharmony_ci    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
773bf215546Sopenharmony_ci    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
774bf215546Sopenharmony_ci    <field name="Polygon Stipple Y Offset" start="32" end="36" type="uint"/>
775bf215546Sopenharmony_ci    <field name="Polygon Stipple X Offset" start="40" end="44" type="uint"/>
776bf215546Sopenharmony_ci  </instruction>
777bf215546Sopenharmony_ci
778bf215546Sopenharmony_ci  <instruction name="3DSTATE_POLY_STIPPLE_PATTERN" bias="2" length="33" engine="render">
779bf215546Sopenharmony_ci    <field name="DWord Length" start="0" end="7" type="uint" default="31"/>
780bf215546Sopenharmony_ci    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="7"/>
781bf215546Sopenharmony_ci    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
782bf215546Sopenharmony_ci    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
783bf215546Sopenharmony_ci    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
784bf215546Sopenharmony_ci    <group count="32" start="32" size="32">
785bf215546Sopenharmony_ci      <field name="Pattern Row" start="0" end="31" type="uint"/>
786bf215546Sopenharmony_ci    </group>
787bf215546Sopenharmony_ci  </instruction>
788bf215546Sopenharmony_ci
789bf215546Sopenharmony_ci  <instruction name="3DSTATE_VERTEX_BUFFERS" bias="2" engine="render">
790bf215546Sopenharmony_ci    <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
791bf215546Sopenharmony_ci    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="8"/>
792bf215546Sopenharmony_ci    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
793bf215546Sopenharmony_ci    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
794bf215546Sopenharmony_ci    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
795bf215546Sopenharmony_ci    <group count="0" start="32" size="128">
796bf215546Sopenharmony_ci      <field name="Vertex Buffer State" start="0" end="127" type="VERTEX_BUFFER_STATE"/>
797bf215546Sopenharmony_ci    </group>
798bf215546Sopenharmony_ci  </instruction>
799bf215546Sopenharmony_ci
800bf215546Sopenharmony_ci  <instruction name="3DSTATE_VERTEX_ELEMENTS" bias="2" engine="render">
801bf215546Sopenharmony_ci    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
802bf215546Sopenharmony_ci    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="9"/>
803bf215546Sopenharmony_ci    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
804bf215546Sopenharmony_ci    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
805bf215546Sopenharmony_ci    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
806bf215546Sopenharmony_ci    <group count="0" start="32" size="64">
807bf215546Sopenharmony_ci      <field name="Element" start="0" end="63" type="VERTEX_ELEMENT_STATE"/>
808bf215546Sopenharmony_ci    </group>
809bf215546Sopenharmony_ci  </instruction>
810bf215546Sopenharmony_ci
811bf215546Sopenharmony_ci  <instruction name="3DSTATE_VF_STATISTICS" bias="1" length="1" engine="render">
812bf215546Sopenharmony_ci    <field name="Statistics Enable" start="0" end="0" type="bool"/>
813bf215546Sopenharmony_ci    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="11"/>
814bf215546Sopenharmony_ci    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
815bf215546Sopenharmony_ci    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
816bf215546Sopenharmony_ci    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
817bf215546Sopenharmony_ci  </instruction>
818bf215546Sopenharmony_ci
819bf215546Sopenharmony_ci  <instruction name="CONSTANT_BUFFER" bias="2" length="2" engine="render">
820bf215546Sopenharmony_ci    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
821bf215546Sopenharmony_ci    <field name="Valid" start="8" end="8" type="bool" default="0"/>
822bf215546Sopenharmony_ci    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
823bf215546Sopenharmony_ci    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
824bf215546Sopenharmony_ci    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
825bf215546Sopenharmony_ci    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
826bf215546Sopenharmony_ci    <field name="Buffer Length" start="32" end="37" type="uint"/>
827bf215546Sopenharmony_ci    <field name="Buffer Starting Address" start="38" end="63" type="address"/>
828bf215546Sopenharmony_ci  </instruction>
829bf215546Sopenharmony_ci
830bf215546Sopenharmony_ci  <instruction name="CS_URB_STATE" bias="2" length="2" engine="render">
831bf215546Sopenharmony_ci    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
832bf215546Sopenharmony_ci    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
833bf215546Sopenharmony_ci    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
834bf215546Sopenharmony_ci    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
835bf215546Sopenharmony_ci    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
836bf215546Sopenharmony_ci    <field name="Number of URB Entries" start="32" end="34" type="uint"/>
837bf215546Sopenharmony_ci    <field name="URB Entry Allocation Size" start="36" end="40" type="uint"/>
838bf215546Sopenharmony_ci  </instruction>
839bf215546Sopenharmony_ci
840bf215546Sopenharmony_ci  <instruction name="MI_FLUSH" bias="1" length="1" engine="render">
841bf215546Sopenharmony_ci    <field name="State/Instruction Cache Invalidate" start="1" end="1" type="uint">
842bf215546Sopenharmony_ci      <value name="Don't Invalidate" value="0"/>
843bf215546Sopenharmony_ci      <value name="Invalidate" value="1"/>
844bf215546Sopenharmony_ci    </field>
845bf215546Sopenharmony_ci    <field name="Render Cache Flush Inhibit" start="2" end="2" type="uint">
846bf215546Sopenharmony_ci      <value name="Flush" value="0"/>
847bf215546Sopenharmony_ci      <value name="Don't Flush" value="1"/>
848bf215546Sopenharmony_ci    </field>
849bf215546Sopenharmony_ci    <field name="Global Snapshot Count Reset" start="3" end="3" type="uint">
850bf215546Sopenharmony_ci      <value name="Don't Reset" value="0"/>
851bf215546Sopenharmony_ci      <value name="Reset" value="1"/>
852bf215546Sopenharmony_ci    </field>
853bf215546Sopenharmony_ci    <field name="MI Command Opcode" start="23" end="28" type="uint" default="4"/>
854bf215546Sopenharmony_ci    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
855bf215546Sopenharmony_ci  </instruction>
856bf215546Sopenharmony_ci
857bf215546Sopenharmony_ci  <instruction name="MI_LOAD_REGISTER_IMM" bias="2" length="3">
858bf215546Sopenharmony_ci    <field name="DWord Length" start="0" end="5" type="uint" default="1"/>
859bf215546Sopenharmony_ci    <field name="Byte Write Disables" start="8" end="11" type="uint"/>
860bf215546Sopenharmony_ci    <field name="MI Command Opcode" start="23" end="28" type="uint" default="34"/>
861bf215546Sopenharmony_ci    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
862bf215546Sopenharmony_ci    <field name="Register Offset" start="34" end="63" type="offset"/>
863bf215546Sopenharmony_ci    <field name="Data DWord" start="64" end="95" type="uint"/>
864bf215546Sopenharmony_ci    <group count="0" start="96" size="64">
865bf215546Sopenharmony_ci      <field name="Register Offset" start="2" end="31" type="offset"/>
866bf215546Sopenharmony_ci      <field name="Data DWord" start="32" end="63" type="uint"/>
867bf215546Sopenharmony_ci    </group>
868bf215546Sopenharmony_ci  </instruction>
869bf215546Sopenharmony_ci
870bf215546Sopenharmony_ci  <instruction name="MI_STORE_DATA_IMM" bias="2" length="5">
871bf215546Sopenharmony_ci    <field name="DWord Length" start="0" end="5" type="uint" default="2"/>
872bf215546Sopenharmony_ci    <field name="BitFieldName" start="21" end="21" type="uint"/>
873bf215546Sopenharmony_ci    <field name="Memory Address Type" start="22" end="22" type="bool"/>
874bf215546Sopenharmony_ci    <field name="MI Command Opcode" start="23" end="28" type="uint" default="32"/>
875bf215546Sopenharmony_ci    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
876bf215546Sopenharmony_ci    <field name="Physical Start Address Extension" start="32" end="35" type="address"/>
877bf215546Sopenharmony_ci    <field name="Address" start="66" end="95" type="address"/>
878bf215546Sopenharmony_ci    <field name="Immediate Data" start="96" end="159" type="uint"/>
879bf215546Sopenharmony_ci  </instruction>
880bf215546Sopenharmony_ci
881bf215546Sopenharmony_ci  <instruction name="MI_STORE_REGISTER_MEM" bias="2" length="3">
882bf215546Sopenharmony_ci    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
883bf215546Sopenharmony_ci    <field name="Use Global GTT" start="22" end="22" type="bool"/>
884bf215546Sopenharmony_ci    <field name="MI Command Opcode" start="23" end="28" type="uint" default="36"/>
885bf215546Sopenharmony_ci    <field name="Command Type" start="29" end="31" type="uint" default="0"/>
886bf215546Sopenharmony_ci    <field name="Register Address" start="34" end="54" type="offset"/>
887bf215546Sopenharmony_ci    <field name="Physical Start Address Extension" start="60" end="63" type="address"/>
888bf215546Sopenharmony_ci    <field name="Memory Address" start="66" end="95" type="address"/>
889bf215546Sopenharmony_ci  </instruction>
890bf215546Sopenharmony_ci
891bf215546Sopenharmony_ci  <instruction name="PIPELINE_SELECT" bias="1" length="1" engine="render">
892bf215546Sopenharmony_ci    <field name="Pipeline Selection" start="0" end="0" type="uint">
893bf215546Sopenharmony_ci      <value name="3D" value="0"/>
894bf215546Sopenharmony_ci      <value name="Media" value="1"/>
895bf215546Sopenharmony_ci    </field>
896bf215546Sopenharmony_ci    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
897bf215546Sopenharmony_ci    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
898bf215546Sopenharmony_ci    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
899bf215546Sopenharmony_ci    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
900bf215546Sopenharmony_ci  </instruction>
901bf215546Sopenharmony_ci
902bf215546Sopenharmony_ci  <instruction name="PIPE_CONTROL" bias="2" length="4" engine="render">
903bf215546Sopenharmony_ci    <field name="DWord Length" start="0" end="7" type="uint" default="2"/>
904bf215546Sopenharmony_ci    <field name="Notify Enable" start="8" end="8" type="bool"/>
905bf215546Sopenharmony_ci    <field name="Instruction Cache Invalidate Enable" start="11" end="11" type="bool"/>
906bf215546Sopenharmony_ci    <field name="Write Cache Flush" start="12" end="12" type="bool"/>
907bf215546Sopenharmony_ci    <field name="Depth Stall Enable" start="13" end="13" type="bool"/>
908bf215546Sopenharmony_ci    <field name="Post Sync Operation" start="14" end="15" type="uint">
909bf215546Sopenharmony_ci      <value name="No Write" value="0"/>
910bf215546Sopenharmony_ci      <value name="Write Immediate Data" value="1"/>
911bf215546Sopenharmony_ci      <value name="Write PS Depth Count" value="2"/>
912bf215546Sopenharmony_ci      <value name="Write Timestamp" value="3"/>
913bf215546Sopenharmony_ci    </field>
914bf215546Sopenharmony_ci    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
915bf215546Sopenharmony_ci    <field name="3D Command Opcode" start="24" end="26" type="uint" default="2"/>
916bf215546Sopenharmony_ci    <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
917bf215546Sopenharmony_ci    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
918bf215546Sopenharmony_ci    <field name="Destination Address Type" start="34" end="34" type="uint" prefix="DAT">
919bf215546Sopenharmony_ci      <value name="GGTT" value="1"/>
920bf215546Sopenharmony_ci    </field>
921bf215546Sopenharmony_ci    <field name="Address" start="35" end="63" type="address"/>
922bf215546Sopenharmony_ci    <field name="Immediate Data" start="64" end="127" type="uint"/>
923bf215546Sopenharmony_ci  </instruction>
924bf215546Sopenharmony_ci
925bf215546Sopenharmony_ci  <instruction name="STATE_BASE_ADDRESS" bias="2" length="6" engine="render">
926bf215546Sopenharmony_ci    <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
927bf215546Sopenharmony_ci    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
928bf215546Sopenharmony_ci    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
929bf215546Sopenharmony_ci    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
930bf215546Sopenharmony_ci    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
931bf215546Sopenharmony_ci    <field name="General State Base Address Modify Enable" start="32" end="32" type="bool"/>
932bf215546Sopenharmony_ci    <field name="General State Base Address" start="44" end="63" type="address"/>
933bf215546Sopenharmony_ci    <field name="Surface State Base Address Modify Enable" start="64" end="64" type="bool"/>
934bf215546Sopenharmony_ci    <field name="Surface State Base Address" start="76" end="95" type="address"/>
935bf215546Sopenharmony_ci    <field name="Indirect Object Base Address Modify Enable" start="96" end="96" type="bool"/>
936bf215546Sopenharmony_ci    <field name="Indirect Object Base Address" start="108" end="127" type="address"/>
937bf215546Sopenharmony_ci    <field name="General State Access Upper Bound Modify Enable" start="128" end="128" type="bool"/>
938bf215546Sopenharmony_ci    <field name="General State Access Upper Bound" start="140" end="159" type="address"/>
939bf215546Sopenharmony_ci    <field name="Indirect Object Access Upper Bound Modify Enable" start="160" end="160" type="bool"/>
940bf215546Sopenharmony_ci    <field name="Indirect Object Access Upper Bound" start="172" end="191" type="address"/>
941bf215546Sopenharmony_ci  </instruction>
942bf215546Sopenharmony_ci
943bf215546Sopenharmony_ci  <instruction name="STATE_SIP" bias="2" length="2" engine="render">
944bf215546Sopenharmony_ci    <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
945bf215546Sopenharmony_ci    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="2"/>
946bf215546Sopenharmony_ci    <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
947bf215546Sopenharmony_ci    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
948bf215546Sopenharmony_ci    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
949bf215546Sopenharmony_ci    <field name="System Instruction Pointer" start="36" end="63" type="offset"/>
950bf215546Sopenharmony_ci  </instruction>
951bf215546Sopenharmony_ci
952bf215546Sopenharmony_ci  <instruction name="URB_FENCE" bias="2" length="3">
953bf215546Sopenharmony_ci    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
954bf215546Sopenharmony_ci    <field name="VS Unit URB Reallocation Request" start="8" end="8" type="bool"/>
955bf215546Sopenharmony_ci    <field name="GS Unit URB Reallocation Request" start="9" end="9" type="bool"/>
956bf215546Sopenharmony_ci    <field name="CLIP Unit URB Reallocation Request" start="10" end="10" type="bool"/>
957bf215546Sopenharmony_ci    <field name="SF Unit URB Reallocation Request" start="11" end="11" type="bool"/>
958bf215546Sopenharmony_ci    <field name="VFE Unit URB Reallocation Request" start="12" end="12" type="bool"/>
959bf215546Sopenharmony_ci    <field name="CS Unit URB Reallocation Request" start="13" end="13" type="bool"/>
960bf215546Sopenharmony_ci    <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="0"/>
961bf215546Sopenharmony_ci    <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
962bf215546Sopenharmony_ci    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
963bf215546Sopenharmony_ci    <field name="Command Type" start="29" end="31" type="uint" default="3"/>
964bf215546Sopenharmony_ci    <field name="VS Fence" start="32" end="41" type="uint"/>
965bf215546Sopenharmony_ci    <field name="GS Fence" start="42" end="51" type="uint"/>
966bf215546Sopenharmony_ci    <field name="CLIP Fence" start="52" end="61" type="uint"/>
967bf215546Sopenharmony_ci    <field name="SF Fence" start="64" end="73" type="uint"/>
968bf215546Sopenharmony_ci    <field name="VFE Fence" start="74" end="83" type="uint"/>
969bf215546Sopenharmony_ci    <field name="CS Fence" start="84" end="94" type="uint"/>
970bf215546Sopenharmony_ci  </instruction>
971bf215546Sopenharmony_ci
972bf215546Sopenharmony_ci  <instruction name="XY_COLOR_BLT" bias="2" length="6" engine="render">
973bf215546Sopenharmony_ci    <field name="DWord Length" start="0" end="7" type="uint" default="4"/>
974bf215546Sopenharmony_ci    <field name="Tiling Enable" start="11" end="11" type="bool"/>
975bf215546Sopenharmony_ci    <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
976bf215546Sopenharmony_ci    <field name="2D Command Opcode" start="22" end="28" type="uint" default="80"/>
977bf215546Sopenharmony_ci    <field name="Command Type" start="29" end="31" type="uint" default="2"/>
978bf215546Sopenharmony_ci    <field name="Destination Pitch" start="32" end="47" type="int"/>
979bf215546Sopenharmony_ci    <field name="Raster Operation" start="48" end="55" type="uint"/>
980bf215546Sopenharmony_ci    <field name="Color Depth" start="56" end="57" type="uint" prefix="COLOR_DEPTH">
981bf215546Sopenharmony_ci      <value name="8 bit" value="0"/>
982bf215546Sopenharmony_ci      <value name="565" value="1"/>
983bf215546Sopenharmony_ci      <value name="1555" value="2"/>
984bf215546Sopenharmony_ci      <value name="32 bit" value="3"/>
985bf215546Sopenharmony_ci    </field>
986bf215546Sopenharmony_ci    <field name="Clipping Enabled" start="62" end="62" type="bool"/>
987bf215546Sopenharmony_ci    <field name="Destination X1 Coordinate" start="64" end="79" type="int"/>
988bf215546Sopenharmony_ci    <field name="Destination Y1 Coordinate" start="80" end="95" type="int"/>
989bf215546Sopenharmony_ci    <field name="Destination X2 Coordinate" start="96" end="111" type="int"/>
990bf215546Sopenharmony_ci    <field name="Destination Y2 Coordinate" start="112" end="127" type="int"/>
991bf215546Sopenharmony_ci    <field name="Destination Base Address" start="128" end="159" type="address"/>
992bf215546Sopenharmony_ci    <field name="Solid Pattern Color" start="160" end="191" type="int"/>
993bf215546Sopenharmony_ci  </instruction>
994bf215546Sopenharmony_ci
995bf215546Sopenharmony_ci  <instruction name="XY_SETUP_BLT" bias="2" length="8" engine="render">
996bf215546Sopenharmony_ci    <field name="DWord Length" start="0" end="7" type="uint" default="6"/>
997bf215546Sopenharmony_ci    <field name="Tiling Enable" start="11" end="11" type="bool"/>
998bf215546Sopenharmony_ci    <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
999bf215546Sopenharmony_ci    <field name="2D Command Opcode" start="22" end="28" type="uint" default="1"/>
1000bf215546Sopenharmony_ci    <field name="Command Type" start="29" end="31" type="uint" default="2"/>
1001bf215546Sopenharmony_ci    <field name="Destination Pitch" start="32" end="47" type="int"/>
1002bf215546Sopenharmony_ci    <field name="Raster Operation" start="48" end="55" type="uint"/>
1003bf215546Sopenharmony_ci    <field name="Color Depth" start="56" end="57" type="uint" prefix="COLOR_DEPTH">
1004bf215546Sopenharmony_ci      <value name="8 bit" value="0"/>
1005bf215546Sopenharmony_ci      <value name="565" value="1"/>
1006bf215546Sopenharmony_ci      <value name="1555" value="2"/>
1007bf215546Sopenharmony_ci      <value name="32 bit" value="3"/>
1008bf215546Sopenharmony_ci    </field>
1009bf215546Sopenharmony_ci    <field name="Mono Source Transparency Mode" start="61" end="61" type="bool"/>
1010bf215546Sopenharmony_ci    <field name="Clipping Enabled" start="62" end="62" type="bool"/>
1011bf215546Sopenharmony_ci    <field name="ClipRect X1 Coordinate" start="64" end="79" type="int"/>
1012bf215546Sopenharmony_ci    <field name="ClipRect Y1 Coordinate" start="80" end="95" type="int"/>
1013bf215546Sopenharmony_ci    <field name="ClipRect X2 Coordinate" start="96" end="111" type="int"/>
1014bf215546Sopenharmony_ci    <field name="ClipRect Y2 Coordinate" start="112" end="127" type="int"/>
1015bf215546Sopenharmony_ci    <field name="Destination Base Address" start="128" end="159" type="address"/>
1016bf215546Sopenharmony_ci    <field name="Background Color" start="160" end="191" type="uint"/>
1017bf215546Sopenharmony_ci    <field name="Foreground Color" start="192" end="223" type="uint"/>
1018bf215546Sopenharmony_ci    <field name="Pattern Base Address" start="224" end="255" type="uint"/>
1019bf215546Sopenharmony_ci  </instruction>
1020bf215546Sopenharmony_ci
1021bf215546Sopenharmony_ci  <instruction name="XY_SRC_COPY_BLT" bias="2" length="8" engine="render">
1022bf215546Sopenharmony_ci    <field name="DWord Length" start="0" end="7" type="uint" default="6"/>
1023bf215546Sopenharmony_ci    <field name="Destination Tiling Enable" start="11" end="11" type="bool"/>
1024bf215546Sopenharmony_ci    <field name="Source Tiling Enable" start="15" end="15" type="bool"/>
1025bf215546Sopenharmony_ci    <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
1026bf215546Sopenharmony_ci    <field name="2D Command Opcode" start="22" end="28" type="uint" default="83"/>
1027bf215546Sopenharmony_ci    <field name="Command Type" start="29" end="31" type="uint" default="2"/>
1028bf215546Sopenharmony_ci    <field name="Destination Pitch" start="32" end="47" type="int"/>
1029bf215546Sopenharmony_ci    <field name="Raster Operation" start="48" end="55" type="uint"/>
1030bf215546Sopenharmony_ci    <field name="Color Depth" start="56" end="57" type="uint" prefix="COLOR_DEPTH">
1031bf215546Sopenharmony_ci      <value name="8 bit" value="0"/>
1032bf215546Sopenharmony_ci      <value name="565" value="1"/>
1033bf215546Sopenharmony_ci      <value name="1555" value="2"/>
1034bf215546Sopenharmony_ci      <value name="32 bit" value="3"/>
1035bf215546Sopenharmony_ci    </field>
1036bf215546Sopenharmony_ci    <field name="Clipping Enabled" start="62" end="62" type="bool"/>
1037bf215546Sopenharmony_ci    <field name="Destination X1 Coordinate" start="64" end="79" type="int"/>
1038bf215546Sopenharmony_ci    <field name="Destination Y1 Coordinate" start="80" end="95" type="int"/>
1039bf215546Sopenharmony_ci    <field name="Destination X2 Coordinate" start="96" end="111" type="int"/>
1040bf215546Sopenharmony_ci    <field name="Destination Y2 Coordinate" start="112" end="127" type="int"/>
1041bf215546Sopenharmony_ci    <field name="Destination Base Address" start="128" end="159" type="address"/>
1042bf215546Sopenharmony_ci    <field name="Source X1 Coordinate" start="160" end="175" type="int"/>
1043bf215546Sopenharmony_ci    <field name="Source Y1 Coordinate" start="176" end="191" type="int"/>
1044bf215546Sopenharmony_ci    <field name="Source Pitch" start="192" end="207" type="int"/>
1045bf215546Sopenharmony_ci    <field name="Source Base Address" start="224" end="255" type="address"/>
1046bf215546Sopenharmony_ci  </instruction>
1047bf215546Sopenharmony_ci
1048bf215546Sopenharmony_ci  <instruction name="XY_TEXT_IMMEDIATE_BLT" bias="2" length="3" engine="render">
1049bf215546Sopenharmony_ci    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
1050bf215546Sopenharmony_ci    <field name="Tiling Enable" start="11" end="11" type="bool"/>
1051bf215546Sopenharmony_ci    <field name="Packing" start="16" end="16" type="uint">
1052bf215546Sopenharmony_ci      <value name="Bit Packed" value="0"/>
1053bf215546Sopenharmony_ci      <value name="Byte Packed" value="1"/>
1054bf215546Sopenharmony_ci    </field>
1055bf215546Sopenharmony_ci    <field name="32bpp Byte Mask" start="20" end="21" type="uint"/>
1056bf215546Sopenharmony_ci    <field name="2D Command Opcode" start="22" end="28" type="uint" default="49"/>
1057bf215546Sopenharmony_ci    <field name="Command Type" start="29" end="31" type="uint" default="2"/>
1058bf215546Sopenharmony_ci    <field name="Destination Pitch" start="32" end="47" type="int"/>
1059bf215546Sopenharmony_ci    <field name="Destination X1 Coordinate" start="32" end="47" type="int"/>
1060bf215546Sopenharmony_ci    <field name="Destination Y1 Coordinate" start="48" end="63" type="int"/>
1061bf215546Sopenharmony_ci    <field name="Destination X2 Coordinate" start="64" end="79" type="int"/>
1062bf215546Sopenharmony_ci    <field name="Destination Y2 Coordinate" start="80" end="95" type="int"/>
1063bf215546Sopenharmony_ci  </instruction>
1064bf215546Sopenharmony_ci</genxml>
1065