[Mesa-dev] [PATCH 4/5] intel/aub_viewer: fix dynamic state printing

Toni Lönnberg toni.lonnberg at intel.com
Fri Nov 16 11:32:42 UTC 2018


Reviewed-by: Toni Lönnberg <toni.lonnberg at intel.com>

On Fri, Nov 09, 2018 at 04:49:12PM +0000, Lionel Landwerlin wrote:
> Identical fix to :
> 
> commit cbd4bc1346f7397242e157bb66099b950a8c5643
> Author: Jason Ekstrand <jason.ekstrand at intel.com>
> Date:   Fri Aug 24 16:04:03 2018 -0500
> 
>     intel/batch_decoder: Fix dynamic state printing
> 
> Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
> ---
>  src/intel/tools/aubinator_viewer_decoder.cpp | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/intel/tools/aubinator_viewer_decoder.cpp b/src/intel/tools/aubinator_viewer_decoder.cpp
> index 59cde530409..a9e78bf04a6 100644
> --- a/src/intel/tools/aubinator_viewer_decoder.cpp
> +++ b/src/intel/tools/aubinator_viewer_decoder.cpp
> @@ -650,10 +650,10 @@ decode_dynamic_state_pointers(struct aub_viewer_decode_ctx *ctx,
>  
>     for (int i = 0; i < count; i++) {
>        ImGui::Text("%s %d", struct_type, i);
> -      aub_viewer_print_group(ctx, state, state_offset, state_map);
> +      aub_viewer_print_group(ctx, state, state_addr, state_map);
>  
>        state_addr += state->dw_length * 4;
> -      state_map += state->dw_length;
> +      state_map += state->dw_length * 4;
>     }
>  }
>  
> -- 
> 2.19.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