From: Samuel Pitoiset Date: Mon, 11 Sep 2017 13:12:25 +0000 (+0200) Subject: radv: add a comment that describes the trace BO layout X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3c61c99ed5936d4a48a98499c25fc9e8aa58bfee;p=mesa.git radv: add a comment that describes the trace BO layout Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- 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) {