Commit 2527c07c authored by Rob Clark's avatar Rob Clark 💬
Browse files

WIP: freedreno: Add perf warning for WC readback

parent 263ca71a
Pipeline #399902 waiting for manual action with stages
...@@ -826,6 +826,9 @@ resource_transfer_map(struct pipe_context *pctx, struct pipe_resource *prsc, ...@@ -826,6 +826,9 @@ resource_transfer_map(struct pipe_context *pctx, struct pipe_resource *prsc,
return buf; return buf;
} }
} else if (usage & PIPE_MAP_READ) {
perf_debug_ctx(ctx, "wc readback: prsc=%p, level=%u, usage=%x, box=%dx%d+%d,%d",
prsc, level, usage, box->width, box->height, box->x, box->y);
} }
if (usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE) { if (usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment