Alyssa Rosenzweig | 9cb3a9e | 2020-08-05 18:16:38 -0400 | [diff] [blame] | 1 | <panxml> |
| 2 | |
Alyssa Rosenzweig | 4b7056b | 2020-08-05 18:40:44 -0400 | [diff] [blame] | 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 | |
Alyssa Rosenzweig | 32dbc80 | 2020-08-05 18:44:36 -0400 | [diff] [blame] | 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 | |
Alyssa Rosenzweig | d182a60 | 2020-08-05 18:47:52 -0400 | [diff] [blame] | 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 | |
Alyssa Rosenzweig | e9ca320 | 2020-08-05 18:51:27 -0400 | [diff] [blame] | 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 | |
Alyssa Rosenzweig | ef20691 | 2020-08-05 18:53:41 -0400 | [diff] [blame] | 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 | |
Alyssa Rosenzweig | 931e7b4 | 2020-08-05 22:02:32 -0400 | [diff] [blame^] | 63 | <struct name="Stencil"> |
| 64 | <field name="Reference Value" size="8" start="0" type="uint"/> |
| 65 | <field name="Mask" size="8" start="8" type="uint" default="0xFF"/> |
| 66 | <field name="Compare Function" size="3" start="16" type="Func"/> |
| 67 | <field name="Stencil Fail" size="3" start="19" type="Stencil Op"/> |
| 68 | <field name="Depth Fail" size="3" start="22" type="Stencil Op"/> |
| 69 | <field name="Depth Pass" size="3" start="25" type="Stencil Op"/> |
| 70 | </struct> |
| 71 | |
Alyssa Rosenzweig | fa94967 | 2020-08-05 21:39:25 -0400 | [diff] [blame] | 72 | <struct name="Uniform Buffer"> |
| 73 | <field name="Entries" size="12" start="0" type="uint" modifier="minus(1)"/> |
| 74 | <field name="Pointer" size="52" start="12" type="address" modifier="shr(4)" element="16" count="Entries"/> |
| 75 | </struct> |
| 76 | |
Alyssa Rosenzweig | 7f487e0 | 2020-08-05 19:33:20 -0400 | [diff] [blame] | 77 | <struct name="Viewport"> |
| 78 | <field name="Minimum X" size="32" start="0:0" default="-INFINITY" type="float"/> |
| 79 | <field name="Minimum Y" size="32" start="1:0" default="-INFINITY" type="float"/> |
| 80 | <field name="Maximum X" size="32" start="2:0" default="+INFINITY" type="float"/> |
| 81 | <field name="Maximum Y" size="32" start="3:0" default="+INFINITY" type="float"/> |
| 82 | <field name="Minimum Z" size="32" start="4:0" default="0.0" type="float"/> |
| 83 | <field name="Maximum Z" size="32" start="5:0" default="1.0" type="float"/> |
| 84 | <field name="Scissor Minimum X" size="16" start="6:0" default="0" type="uint"/> |
| 85 | <field name="Scissor Minimum Y" size="16" start="6:16" default="0" type="uint"/> |
| 86 | <field name="Scissor Maximum X" size="16" start="7:0" type="uint"/> |
| 87 | <field name="Scissor Maximum Y" size="16" start="7:16" type="uint"/> |
| 88 | </struct> |
| 89 | |
Alyssa Rosenzweig | 9cb3a9e | 2020-08-05 18:16:38 -0400 | [diff] [blame] | 90 | </panxml> |