From f3ed4a058d99184a0b032d9d3e21d732ba530d8e Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Mon, 5 Nov 2018 20:47:46 +0000 Subject: [PATCH] intel/aub_viewer: print address of missing shader MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Lionel Landwerlin Reviewed-by: Tapani Pälli --- src/intel/tools/aubinator_viewer_decoder.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/intel/tools/aubinator_viewer_decoder.cpp b/src/intel/tools/aubinator_viewer_decoder.cpp index a2f4a6add84..105931560c6 100644 --- a/src/intel/tools/aubinator_viewer_decoder.cpp +++ b/src/intel/tools/aubinator_viewer_decoder.cpp @@ -141,7 +141,8 @@ ctx_disassemble_program(struct aub_viewer_decode_ctx *ctx, uint64_t addr = ctx->instruction_base + ksp; struct gen_batch_decode_bo bo = ctx_get_bo(ctx, addr); if (!bo.map) { - ImGui::TextColored(ctx->cfg->missing_color, "Shader unavailable"); + ImGui::TextColored(ctx->cfg->missing_color, + "Shader unavailable addr=0x%012" PRIx64, addr); return; } -- 2.30.2