f6df1d555801cc1a1247c486904f9672e49027db
[mesa.git] / src / panfrost / lib / midgard.xml
1 <panxml>
2
3 <enum name="Job Type">
4 <value name="Not started" value="0"/>
5 <value name="Null" value="1"/>
6 <value name="Write value" value="2"/>
7 <value name="Cache flush" value="3"/>
8 <value name="Compute" value="4"/>
9 <value name="Vertex" value="5"/>
10 <value name="Geometry" value="6"/>
11 <value name="Tiler" value="7"/>
12 <value name="Fused" value="8"/>
13 <value name="Fragment" value="9"/>
14 </enum>
15
16 <enum name="Draw Mode">
17 <value name="None" value="0"/>
18 <value name="Points" value="1"/>
19 <value name="Lines" value="2"/>
20 <value name="Line strip" value="4"/>
21 <value name="Line loop" value="6"/>
22 <value name="Triangles" value="8"/>
23 <value name="Triangle strip" value="10"/>
24 <value name="Triangle fan" value="12"/>
25 <value name="Polygon" value="13"/>
26 <value name="Quads" value="14"/>
27 <value name="Quad strip" value="15"/>
28 </enum>
29
30 <enum name="Func">
31 <value name="Never" value="0"/>
32 <value name="Less" value="1"/>
33 <value name="Equal" value="2"/>
34 <value name="Lequal" value="3"/>
35 <value name="Greater" value="4"/>
36 <value name="Not Equal" value="5"/>
37 <value name="Gequal" value="6"/>
38 <value name="Always" value="7"/>
39 </enum>
40
41 <enum name="Stencil Op">
42 <value name="Keep" value="0"/>
43 <value name="Replace" value="1"/>
44 <value name="Zero" value="2"/>
45 <value name="Invert" value="3"/>
46 <value name="Incr Wrap" value="4"/>
47 <value name="Decr Wrap" value="5"/>
48 <value name="Incr Sat" value="6"/>
49 <value name="Decr Sat" value="7"/>
50 </enum>
51
52 <enum name="Wrap Mode">
53 <value name="Repeat" value="8"/>
54 <value name="Clamp to Edge" value="9"/>
55 <value name="Clamp" value="10"/>
56 <value name="Clamp to Border" value="11"/>
57 <value name="Mirrored Repeat" value="12"/>
58 <value name="Mirrored Clamp to Edge" value="13"/>
59 <value name="Mirrored Clamp" value="14"/>
60 <value name="Mirrored Clamp to Border" value="15"/>
61 </enum>
62
63 <struct name="Viewport">
64 <field name="Minimum X" size="32" start="0:0" default="-INFINITY" type="float"/>
65 <field name="Minimum Y" size="32" start="1:0" default="-INFINITY" type="float"/>
66 <field name="Maximum X" size="32" start="2:0" default="+INFINITY" type="float"/>
67 <field name="Maximum Y" size="32" start="3:0" default="+INFINITY" type="float"/>
68 <field name="Minimum Z" size="32" start="4:0" default="0.0" type="float"/>
69 <field name="Maximum Z" size="32" start="5:0" default="1.0" type="float"/>
70 <field name="Scissor Minimum X" size="16" start="6:0" default="0" type="uint"/>
71 <field name="Scissor Minimum Y" size="16" start="6:16" default="0" type="uint"/>
72 <field name="Scissor Maximum X" size="16" start="7:0" type="uint"/>
73 <field name="Scissor Maximum Y" size="16" start="7:16" type="uint"/>
74 </struct>
75
76 </panxml>