mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 20:00:11 +01:00
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:
parent
1a460d1c7e
commit
80d8273705
1 changed files with 8 additions and 0 deletions
|
|
@ -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"/>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue