Mesa (main): asahi: Add "set scissor" command
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sun May 30 23:42:26 UTC 2021
Module: Mesa
Branch: main
Commit: d7cbfd4f6cbfa252956cbfcccef80274352c96f7
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d7cbfd4f6cbfa252956cbfcccef80274352c96f7
Author: Alyssa Rosenzweig <alyssa at rosenzweig.io>
Date: Thu May 27 22:31:08 2021 -0400
asahi: Add "set scissor" command
Signed-off-by: Alyssa Rosenzweig <alyssa at rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11084>
---
src/asahi/lib/cmdbuf.xml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/asahi/lib/cmdbuf.xml b/src/asahi/lib/cmdbuf.xml
index 711e7492964..837b6e88146 100644
--- a/src/asahi/lib/cmdbuf.xml
+++ b/src/asahi/lib/cmdbuf.xml
@@ -207,6 +207,12 @@
<field name="Varying count" size="32" start="3:0" type="uint"/>
</struct>
+ <!-- Indexes into the array of scissor descriptors -->
+ <struct name="Set scissor" size="8">
+ <field name="Tag" size="32" start="0:0" type="hex" default="0x100"/>
+ <field name="Index" size="32" start="1:0" type="uint"/>
+ </struct>
+
<!--- Commands valid within a pipeline -->
<struct name="Bind uniform" size="8">
<field name="Tag" size="8" start="0:0" type="hex" default="0x1d"/>
More information about the mesa-commit
mailing list