Mesa (main): panfrost: Warn on software conditional rendering
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jul 14 18:05:14 UTC 2021
Module: Mesa
Branch: main
Commit: 5bd91a632bb2ce13f03ab4d78a114ca110270348
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5bd91a632bb2ce13f03ab4d78a114ca110270348
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date: Mon Jul 12 13:56:07 2021 -0400
panfrost: Warn on software conditional rendering
Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11830>
---
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 f8a4326acc0..00f5bfd93ff 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 &&
More information about the mesa-commit
mailing list