Mesa (main): panfrost: Adapt panfrost_rasterizer for v9

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Apr 7 18:02:37 UTC 2022


Module: Mesa
Branch: main
Commit: 0299565f72bd0d3d57b209dc658d87e3f62d5096
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0299565f72bd0d3d57b209dc658d87e3f62d5096

Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Tue Apr  5 12:38:47 2022 -0400

panfrost: Adapt panfrost_rasterizer for v9

Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15797>

---

 src/gallium/drivers/panfrost/pan_cmdstream.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/gallium/drivers/panfrost/pan_cmdstream.c b/src/gallium/drivers/panfrost/pan_cmdstream.c
index dad1b2f34b4..20b3dcb75ea 100644
--- a/src/gallium/drivers/panfrost/pan_cmdstream.c
+++ b/src/gallium/drivers/panfrost/pan_cmdstream.c
@@ -52,9 +52,11 @@
 struct panfrost_rasterizer {
         struct pipe_rasterizer_state base;
 
+#if PAN_ARCH <= 7
         /* Partially packed RSD words */
         struct mali_multisample_misc_packed multisample;
         struct mali_stencil_mask_misc_packed stencil_misc;
+#endif
 };
 
 struct panfrost_zsa_state {



More information about the mesa-commit mailing list