asahi: add sparse block XML
this xml (and the sparse page table structure itself) was r/e'd blackbox since that was easier than writing tests, lol. but it seems to work. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33682>
This commit is contained in:
committed by
Marge Bot
parent
c7f7496da1
commit
ca60908bf1
@@ -215,6 +215,13 @@
|
||||
<value name="Sparse" value="3"/>
|
||||
</enum>
|
||||
|
||||
<struct name="Sparse block" size="4">
|
||||
<field name="Address" size="26" start="0" type="address" modifier="shr(14)"/>
|
||||
<!-- Bits 26...29 don't seem to do anything and I don't see macOS setting them. Bit 30 on the other hand macOS sets and I don't know why. -->
|
||||
<field name="Unknown" size="1" start="30" type="bool"/>
|
||||
<field name="Enabled" size="1" start="31" type="bool"/>
|
||||
</struct>
|
||||
|
||||
<struct name="PBE" size="24">
|
||||
<field name="Dimension" size="4" start="0" type="Texture dimension"/>
|
||||
<field name="Layout" size="2" start="4" type="Layout"/>
|
||||
|
||||
Reference in New Issue
Block a user