panfrost: Warn on software conditional rendering
authorAlyssa Rosenzweig <alyssa@collabora.com>
Mon, 12 Jul 2021 17:56:07 +0000 (13:56 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 14 Jul 2021 17:41:27 +0000 (17:41 +0000)
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11830>

src/gallium/drivers/panfrost/pan_context.c

index f8a4326..00f5bfd 100644 (file)
@@ -956,6 +956,8 @@ panfrost_render_condition_check(struct panfrost_context *ctx)
        if (!ctx->cond_query)
                return true;
 
+        perf_debug_ctx(ctx, "Implementing conditional rendering on the CPU");
+
        union pipe_query_result res = { 0 };
        bool wait =
                ctx->cond_mode != PIPE_RENDER_COND_NO_WAIT &&