[Mesa-dev] [PATCH 01/15] radv: add a comment that describes the trace BO layout

Bas Nieuwenhuizen bas at basnieuwenhuizen.nl
Tue Sep 12 18:05:30 UTC 2017


add something that the offsets are in multiple of 4 bytes?

On Tue, Sep 12, 2017 at 12:35 PM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
>  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 d52ba5d86d..052daaef2f 100644
> --- a/src/amd/vulkan/radv_debug.c
> +++ b/src/amd/vulkan/radv_debug.c
> @@ -32,6 +32,12 @@
>  #include "radv_debug.h"
>  #include "radv_shader.h"
>
> +/* Trace BO layout:
> + *
> + * [0]: primary trace ID
> + * [1]: secondary trace ID
> + */
> +
>  bool
>  radv_init_trace(struct radv_device *device)
>  {
> --
> 2.14.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list