mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
anv/utrace: trace CPU on timestamp buffer readiness
Acked-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24744>
This commit is contained in:
parent
7d30b1e28f
commit
00b65c75ad
1 changed files with 2 additions and 0 deletions
|
|
@ -27,6 +27,7 @@
|
|||
#include "ds/intel_tracepoints.h"
|
||||
#include "genxml/gen8_pack.h"
|
||||
#include "perf/intel_perf.h"
|
||||
#include "util/perf/cpu_trace.h"
|
||||
|
||||
#include "vulkan/runtime/vk_common_entrypoints.h"
|
||||
|
||||
|
|
@ -402,6 +403,7 @@ anv_utrace_read_ts(struct u_trace_context *utctx,
|
|||
|
||||
/* Only need to stall on results for the first entry: */
|
||||
if (idx == 0) {
|
||||
MESA_TRACE_SCOPE("anv utrace wait timestamps");
|
||||
UNUSED VkResult result =
|
||||
vk_sync_wait(&device->vk,
|
||||
submit->sync,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue