summaryrefslogtreecommitdiff
path: root/src/amd/vulkan/radv_sqtt.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>2021-06-03 09:07:54 +0200
committerMarge Bot <eric+marge@anholt.net>2021-06-03 15:39:34 +0000
commitaff92f50c6f19ea36544253e254edd97acabe1eb (patch)
treee78cea745a8092f24c9e18f06f063627d68f524c /src/amd/vulkan/radv_sqtt.c
parent416496a0c43cc3647c981dd8739fef1230ac59ac (diff)
ac: add ac_thread_trace::data
Instead of passing two different structs to ac_dump_rgp_capture(). Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11156>
Diffstat (limited to 'src/amd/vulkan/radv_sqtt.c')
-rw-r--r--src/amd/vulkan/radv_sqtt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_sqtt.c b/src/amd/vulkan/radv_sqtt.c
index 4843856bf0a..2d3cdd58e38 100644
--- a/src/amd/vulkan/radv_sqtt.c
+++ b/src/amd/vulkan/radv_sqtt.c
@@ -629,5 +629,6 @@ radv_get_thread_trace(struct radv_queue *queue, struct ac_thread_trace *thread_t
thread_trace->num_traces++;
}
+ thread_trace->data = &device->thread_trace;
return true;
}