From 3c61c99ed5936d4a48a98499c25fc9e8aa58bfee Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Mon, 11 Sep 2017 15:12:25 +0200 Subject: [PATCH] radv: add a comment that describes the trace BO layout Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- src/amd/vulkan/radv_debug.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/amd/vulkan/radv_debug.c b/src/amd/vulkan/radv_debug.c index 4f680cd1df7..1df2e351e04 100644 --- a/src/amd/vulkan/radv_debug.c +++ b/src/amd/vulkan/radv_debug.c @@ -34,6 +34,12 @@ #define TRACE_BO_SIZE 4096 +/* Trace BO layout (offsets are 4 bytes): + * + * [0]: primary trace ID + * [1]: secondary trace ID + */ + bool radv_init_trace(struct radv_device *device) { -- 2.30.2