projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4224b31
)
radv: add a comment that describes the trace BO layout
author
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Mon, 11 Sep 2017 13:12:25 +0000
(15:12 +0200)
committer
Samuel 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
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_debug.c
b/src/amd/vulkan/radv_debug.c
index 4f680cd1df7cc8bcd1ce10eaa6d9cbd824cd18f0..1df2e351e0484225d127f1c0ff16e1426761bc9c 100644
(file)
--- 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)
{