Commit ac324a68 authored by Lionel Landwerlin's avatar Lionel Landwerlin

intel/aub_viewer: fix dynamic state printing

Identical fix to :

commit cbd4bc13
Author: Jason Ekstrand <jason.ekstrand@intel.com>
Date:   Fri Aug 24 16:04:03 2018 -0500

    intel/batch_decoder: Fix dynamic state printing
Signed-off-by: 's avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: 's avatarToni Lönnberg <toni.lonnberg@intel.com>
parent 59c10595
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment