summaryrefslogtreecommitdiff
path: root/src/asahi
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>2022-01-16 12:55:34 -0500
committerMarge Bot <emma+marge@anholt.net>2022-01-16 18:23:28 +0000
commit9b57600502ace5fafaf170ad748af58f3181ba4f (patch)
tree8454e42fd0cca4a9ddd0fce40c695d37390c5f7d /src/asahi
parent3341abc5d79e715eb8af6db91840e3cabc379b27 (diff)
asahi: Rectify confusing XML comment
The field was split up... Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14219>
Diffstat (limited to 'src/asahi')
-rw-r--r--src/asahi/lib/cmdbuf.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/asahi/lib/cmdbuf.xml b/src/asahi/lib/cmdbuf.xml
index c036afedc89..c3d96ca2ff3 100644
--- a/src/asahi/lib/cmdbuf.xml
+++ b/src/asahi/lib/cmdbuf.xml
@@ -406,8 +406,8 @@
<struct name="Set shader extended" size="32">
<field name="Tag" size="8" start="0:0" type="hex" default="0x4d"/>
<field name="Unk 1" size="24" start="0:8" type="hex" default="0x2010bd"/>
- <field name="Unk 2" size="8" start="1:0" type="hex" default="0x0d"/> <!-- 90d if ld_tile or discard is used (to disable opts), 50d for other frag, 80d for vert..? 40d for compute..? -->
- <field name="Unk 2b" size="8" start="1:8" type="uint" default="5"/>
+ <field name="Unk 2" size="8" start="1:0" type="hex" default="0x0d"/>
+ <field name="Unk 2b" size="8" start="1:8" type="uint" default="5"/> <!-- 1 for other frag, 5 with discard? -->
<field name="Code" size="32" start="1:16" type="address"/>
<field name="Unk 3" size="8" start="2:16" type="hex" default="0x28d"/>
<field name="Register quadwords" size="5" start="2:24" type="uint"/> <!-- 0 for max -->