Module: Mesa Branch: master Commit: ac324a6809c09c54d3b0bfdb00e5e62987ec4ad8 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ac324a6809c09c54d3b0bfdb00e5e62987ec4ad8
Author: Lionel Landwerlin <[email protected]> Date: Fri Nov 9 16:49:12 2018 +0000 intel/aub_viewer: fix dynamic state printing Identical fix to : commit cbd4bc1346f7397242e157bb66099b950a8c5643 Author: Jason Ekstrand <[email protected]> Date: Fri Aug 24 16:04:03 2018 -0500 intel/batch_decoder: Fix dynamic state printing Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Toni Lönnberg <[email protected]> --- 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 8aeddaf432..fd3bc739bd 100644 --- a/src/intel/tools/aubinator_viewer_decoder.cpp +++ b/src/intel/tools/aubinator_viewer_decoder.cpp @@ -651,10 +651,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; } } _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
