mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-19 00:38:06 +02:00
Make sure that a <group> tag within another <group> tag work just fine. v2: rename 'halfbyte' to 'byte' to match the size (Lionel). Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
20 lines
584 B
XML
20 lines
584 B
XML
<?xml version="1.0" ?>
|
|
<genxml name="SKL" gen="9">
|
|
|
|
<struct name="TEST_STRUCT" length="2">
|
|
<field name="number1" start="0" end="15" type="uint"/>
|
|
<field name="number2" start="16" end="31" type="uint"/>
|
|
<group count="4" start="32" size="8">
|
|
<field name="byte" start="0" end="7" type="uint"/>
|
|
</group>
|
|
</struct>
|
|
|
|
<struct name="STRUCT_TWO_LEVELS" length="8">
|
|
<group count="4" start="0" size="64">
|
|
<group count="8" start="0" size="8">
|
|
<field name="byte" start="0" end="7" type="uint"/>
|
|
</group>
|
|
</group>
|
|
</struct>
|
|
|
|
</genxml>
|