From 5bd91a632bb2ce13f03ab4d78a114ca110270348 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 12 Jul 2021 13:56:07 -0400 Subject: [PATCH] panfrost: Warn on software conditional rendering Signed-off-by: Alyssa Rosenzweig Part-of: --- src/gallium/drivers/panfrost/pan_context.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/panfrost/pan_context.c b/src/gallium/drivers/panfrost/pan_context.c index f8a4326..00f5bfd 100644 --- a/src/gallium/drivers/panfrost/pan_context.c +++ b/src/gallium/drivers/panfrost/pan_context.c @@ -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 && -- 2.7.4