Module: Mesa Branch: master Commit: 3c61c99ed5936d4a48a98499c25fc9e8aa58bfee URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3c61c99ed5936d4a48a98499c25fc9e8aa58bfee
Author: Samuel Pitoiset <[email protected]> Date: Mon Sep 11 15:12:25 2017 +0200 radv: add a comment that describes the trace BO layout Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]> --- src/amd/vulkan/radv_debug.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/amd/vulkan/radv_debug.c b/src/amd/vulkan/radv_debug.c index 4f680cd1df..1df2e351e0 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) { _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
