diff options
author | Alyssa Rosenzweig <alyssa@rosenzweig.io> | 2021-07-05 16:00:45 -0400 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2021-07-06 13:44:50 +0000 |
commit | dc968a9bec967db545bfe12ff62e9b2d65a5be4b (patch) | |
tree | 065dfd922aa3113bb361a0a5799d125d88c6b109 /src/asahi | |
parent | 0266cf86e9457f8dc3327e86e7172bd26a6e972e (diff) |
asahi: Prepack rasterizer faces
A bit more efficient and will allow easy implementation of the stencil test.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11730>
Diffstat (limited to 'src/asahi')
-rw-r--r-- | src/asahi/lib/cmdbuf.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/asahi/lib/cmdbuf.xml b/src/asahi/lib/cmdbuf.xml index 3f836b84937..dffbc1fafb5 100644 --- a/src/asahi/lib/cmdbuf.xml +++ b/src/asahi/lib/cmdbuf.xml @@ -273,10 +273,10 @@ <struct name="Rasterizer face" size="8"> <field name="Stencil reference" size="8" start="0:0" type="hex" default="0x00"/> <!-- line width is 4:4 fixed point with off-by-one applied --> - <field name="Line width" size="8" start="0:8" type="hex" default="0xF"/> - <field name="Polygon mode" size="2" start="0:18" type="Polygon Mode" default="Fill"/> + <field name="Line width" size="8" start="0:8" type="hex"/> + <field name="Polygon mode" size="2" start="0:18" type="Polygon Mode"/> <field name="Disable depth write" size="1" start="0:21" type="bool"/> - <field name="Depth function" size="3" start="0:24" type="ZS Func" default="Always"/> + <field name="Depth function" size="3" start="0:24" type="ZS Func"/> <field name="Stencil write mask" size="8" start="1:0" type="hex" default="0xFF"/> <field name="Stencil read mask" size="8" start="1:8" type="hex" default="0xFF"/> <field name="Depth pass" size="3" start="1:16" type="Stencil Op"/> |