mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
aux/tc: Use MESA_TRACE_SCOPE instead of _BEGIN/_END
The MESA_TRACE_SCOPE macro is an exact replacement for this. Signed-off-by: Corentin Noël <corentin.noel@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25308>
This commit is contained in:
parent
57c6e79db5
commit
c637901392
1 changed files with 1 additions and 3 deletions
|
|
@ -642,7 +642,7 @@ _tc_sync(struct threaded_context *tc, UNUSED const char *info, UNUSED const char
|
|||
struct tc_batch *next = &tc->batch_slots[tc->next];
|
||||
bool synced = false;
|
||||
|
||||
MESA_TRACE_BEGIN(func);
|
||||
MESA_TRACE_SCOPE(func);
|
||||
|
||||
tc_debug_check(tc);
|
||||
|
||||
|
|
@ -708,8 +708,6 @@ _tc_sync(struct threaded_context *tc, UNUSED const char *info, UNUSED const char
|
|||
tc->seen_fb_state = false;
|
||||
tc->query_ended = false;
|
||||
}
|
||||
|
||||
MESA_TRACE_END();
|
||||
}
|
||||
|
||||
#define tc_sync(tc) _tc_sync(tc, "", __func__)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue