Mesa (main): asahi: Rectify confusing XML comment
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sun Jan 16 18:32:15 UTC 2022
Module: Mesa
Branch: main
Commit: 9b57600502ace5fafaf170ad748af58f3181ba4f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9b57600502ace5fafaf170ad748af58f3181ba4f
Author: Alyssa Rosenzweig <alyssa at rosenzweig.io>
Date: Sun Jan 16 12:55:34 2022 -0500
asahi: Rectify confusing XML comment
The field was split up...
Signed-off-by: Alyssa Rosenzweig <alyssa at rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14219>
---
src/asahi/lib/cmdbuf.xml | 4 ++--
1 file 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 -->
More information about the mesa-commit
mailing list