Module: Mesa Branch: master Commit: 3c77a5722252e01f2f5e4e320d2772f1f6c03f2c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3c77a5722252e01f2f5e4e320d2772f1f6c03f2c
Author: Jordan Justen <jordan.l.jus...@intel.com> Date: Wed Apr 5 22:34:42 2017 -0700 intel/aubinator_error_decode: Fix structure decode data The call to gen_print_group should provide a pointer to the beginning of the the structure data, not the start of the batch data. Cc: Lionel Landwerlin <lionel.g.landwer...@intel.com> Signed-off-by: Jordan Justen <jordan.l.jus...@intel.com> Reviewed-by: Matt Turner <matts...@gmail.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> --- src/intel/tools/aubinator_error_decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/tools/aubinator_error_decode.c b/src/intel/tools/aubinator_error_decode.c index 8a67f4f169..1bdab00a66 100644 --- a/src/intel/tools/aubinator_error_decode.c +++ b/src/intel/tools/aubinator_error_decode.c @@ -239,7 +239,7 @@ static void decode(struct gen_spec *spec, printf("%s0x%08"PRIx64": 0x%08x: %-80s%s\n", color, offset, p[0], gen_group_get_name(inst), reset_color); - gen_print_group(stdout, inst, offset, data, + gen_print_group(stdout, inst, offset, p, option_color == COLOR_ALWAYS); length = gen_group_get_length(inst, p); } _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit