intel/aub_viewer: print address of missing shader
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 5 Nov 2018 20:47:46 +0000 (20:47 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 28 Dec 2018 16:48:21 +0000 (16:48 +0000)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/intel/tools/aubinator_viewer_decoder.cpp

index a2f4a6add84dbc07272672f0b02e21366c4b5331..105931560c69b68f1cb2375eb5cd6fd33a12cc4c 100644 (file)
@@ -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;
    }