asahi: Add XML required for vertex shader side effects

Basically for rasterizer discard. We'll use these in a moment to implement
transform feedback.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20446>
This commit is contained in:
Alyssa Rosenzweig
2022-12-21 22:00:56 -05:00
parent 6bda0f2a70
commit 48c9a9676c
+5 -1
View File
@@ -446,12 +446,14 @@
<field name="Depth clip" size="1" start="10" type="bool"/>
<field name="Depth clamp" size="1" start="11" type="bool"/>
<field name="Front face CCW" size="1" start="16" type="bool"/>
<field name="Rasterizer discard" size="1" start="17" type="bool"/>
</struct>
<struct name="Cull 2" size="4">
<field name="Unknown 2" size="32" start="0" type="hex" default="0xa0"/>
<field name="Unknown 2" size="8" start="0" type="hex" default="0xa0"/>
<field name="Draw clipped edges" size="1" start="9" type="bool"/>
<field name="Primitive MSAA" size="1" start="15" type="bool"/>
<field name="Rasterizer discard" size="1" start="17" type="bool"/>
</struct>
<struct name="Varying 0" size="4">
@@ -689,6 +691,8 @@
<struct name="VDM State Vertex Unknown" size="4">
<field name="Flat shading control" start="0" size="2" type="VDM Vertex"/>
<field name="Unknown 4" size="1" start="4" type="bool"/>
<field name="Unknown 5" size="1" start="5" type="bool"/>
</struct>
<!--- Command to issue a direct non-indexed draw -->