asahi: Add layout enum to XML

Used for textures and render targets. There are more values here, probably for
other tiling schemes and compression.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11086>
This commit is contained in:
Alyssa Rosenzweig 2021-05-31 03:19:35 +05:30 committed by Marge Bot
parent 46bc37a8d0
commit 9c0ef01c68

View file

@ -59,6 +59,12 @@
<value name="Quad strip" value="15"/> <!-- guess, confirm with piglit later XXX -->
</enum>
<enum name="Layout">
<value name="Linear" value="0"/>
<!-- Morton order with 64x64 tiles -->
<value name="Tiled 64x64" value="2"/>
</enum>
<struct name="Varying header" size="8">
<field name="Slots 1" size="8" start="0:0" type="uint"/>
<field name="Slots 2" size="8" start="0:8" type="uint"/>