Mesa (main): panfrost: Annotate slow clears as such

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Feb 23 13:10:16 UTC 2022


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

Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Tue Feb  8 14:31:07 2022 -0500

panfrost: Annotate slow clears as such

We should realistically be using the clear shaders from PanVK once they're moved
to common.

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

---

 src/gallium/drivers/panfrost/pan_context.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/panfrost/pan_context.c b/src/gallium/drivers/panfrost/pan_context.c
index f7089c4cbc5..769f327969e 100644
--- a/src/gallium/drivers/panfrost/pan_context.c
+++ b/src/gallium/drivers/panfrost/pan_context.c
@@ -71,7 +71,7 @@ panfrost_clear(
          * color/depth/stencil value, thus avoiding the generation of extra
          * fragment jobs.
          */
-        struct panfrost_batch *batch = panfrost_get_fresh_batch_for_fbo(ctx, "Clear");
+        struct panfrost_batch *batch = panfrost_get_fresh_batch_for_fbo(ctx, "Slow clear");
         panfrost_batch_clear(batch, buffers, color, depth, stencil);
 }
 



More information about the mesa-commit mailing list