summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-09-11 15:12:25 +0200
committerSamuel Pitoiset <[email protected]>2017-09-14 10:37:57 +0200
commit3c61c99ed5936d4a48a98499c25fc9e8aa58bfee (patch)
treefdb30b28ceae226428ce3c736130b92491f0ba4d /src/amd/vulkan
parent4224b31bf3de76b83cd437f2f906b42526bad3e6 (diff)
radv: add a comment that describes the trace BO layout
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r--src/amd/vulkan/radv_debug.c6
1 files changed, 6 insertions, 0 deletions
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)
{