diff options
author | Samuel Pitoiset <[email protected]> | 2017-09-11 15:12:25 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-09-14 10:37:57 +0200 |
commit | 3c61c99ed5936d4a48a98499c25fc9e8aa58bfee (patch) | |
tree | fdb30b28ceae226428ce3c736130b92491f0ba4d | |
parent | 4224b31bf3de76b83cd437f2f906b42526bad3e6 (diff) |
radv: add a comment that describes the trace BO layout
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
-rw-r--r-- | src/amd/vulkan/radv_debug.c | 6 |
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) { |