aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_private.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2020-02-26 14:12:01 +0100
committerSamuel Pitoiset <[email protected]>2020-03-10 09:57:56 +0100
commitbe700775dc2e97a414d14bc764cd2eb72a639306 (patch)
treedb3ef18f39334ceaedeef577d27c437529a88911 /src/amd/vulkan/radv_private.h
parentf4fbcfe8183b7253b411dd7ac2aadecd47bd76e4 (diff)
radv/sqtt: add a helper that emits thread trace userdata markers
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4031>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r--src/amd/vulkan/radv_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h
index a9e711a0b51..ab056b49821 100644
--- a/src/amd/vulkan/radv_private.h
+++ b/src/amd/vulkan/radv_private.h
@@ -2412,6 +2412,8 @@ bool radv_begin_thread_trace(struct radv_queue *queue);
bool radv_end_thread_trace(struct radv_queue *queue);
bool radv_get_thread_trace(struct radv_queue *queue,
struct radv_thread_trace *thread_trace);
+void radv_emit_thread_trace_userdata(struct radeon_cmdbuf *cs,
+ const void *data, uint32_t num_dwords);
/* radv_rgp.c */
int radv_dump_thread_trace(struct radv_device *device,