radv: add a comment that describes the trace BO layout
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 11 Sep 2017 13:12:25 +0000 (15:12 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 14 Sep 2017 08:37:57 +0000 (10:37 +0200)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_debug.c

index 4f680cd1df7cc8bcd1ce10eaa6d9cbd824cd18f0..1df2e351e0484225d127f1c0ff16e1426761bc9c 100644 (file)
 
 #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)
 {