mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 23:10:11 +01:00
freedreno: Add perf-debug trace
Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18926>
This commit is contained in:
parent
f6f72b5629
commit
c0cdc148f4
1 changed files with 1 additions and 0 deletions
|
|
@ -909,6 +909,7 @@ resource_transfer_map(struct pipe_context *pctx, struct pipe_resource *prsc,
|
|||
struct fd_resource *staging_rsc = NULL;
|
||||
|
||||
if (needs_flush) {
|
||||
perf_debug_ctx(ctx, "flushing: %" PRSC_FMT, PRSC_ARGS(prsc));
|
||||
flush_resource(ctx, rsc, usage);
|
||||
needs_flush = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue