Mesa (main): panfrost: Add draw parameters dirty flags

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jun 1 19:26:48 UTC 2021


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

Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Thu May 20 13:22:01 2021 -0400

panfrost: Add draw parameters dirty flags

Needed to track some new sysvals.

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

---

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

diff --git a/src/gallium/drivers/panfrost/pan_context.h b/src/gallium/drivers/panfrost/pan_context.h
index cb279aecee3..22491d94121 100644
--- a/src/gallium/drivers/panfrost/pan_context.h
+++ b/src/gallium/drivers/panfrost/pan_context.h
@@ -66,6 +66,8 @@ enum pan_dirty_3d {
         PAN_DIRTY_VIEWPORT       = BITFIELD_BIT(0),
         PAN_DIRTY_SCISSOR        = BITFIELD_BIT(1),
         PAN_DIRTY_VERTEX         = BITFIELD_BIT(2),
+        PAN_DIRTY_PARAMS         = BITFIELD_BIT(3),
+        PAN_DIRTY_DRAWID         = BITFIELD_BIT(4),
 };
 
 enum pan_dirty_shader {



More information about the mesa-commit mailing list