asahi: Annotate VDM/CDM commands as per PVR

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18421>
This commit is contained in:
Alyssa Rosenzweig 2022-09-05 15:17:10 -04:00 committed by Marge Bot
parent 1a460d1c7e
commit 80d8273705

View file

@ -554,6 +554,8 @@
<field name="Unk 7" size="16" start="6:16" type="hex" default="0x0"/> <!-- garbage? -->
</struct>
<!-- VDM commands start -->
<!--- Command to bind a vertex pipeline, followed by subcommands. Counts are
specified in 32-bit word units. Intepretation per-shader stage. -->
<struct name="Bind vertex pipeline" size="24">
@ -616,6 +618,10 @@
<field name="Index buffer size" size="32" start="7:0" type="uint" modifier="shr(2)"/>
</struct>
<!-- VDM commands end -->
<!-- CDM commands start -->
<!--- Command to launch a direct compute kernel -->
<struct name="Launch" size="36">
<field name="Command" size="32" start="0:0" type="hex" default="0x1002"/>
@ -629,6 +635,8 @@
<field name="Unk" size="32" start="8:0" type="hex" default="0x60000160"/>
</struct>
<!-- CDM commands end -->
<!--- The rest of this file is likely software defined by macOS kernel -->
<enum name="IOGPU Attachment Type">
<value name="Colour" value="0xE"/>