intel/aub_viewer: print address of missing shader

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
This commit is contained in:
Lionel Landwerlin 2018-11-05 20:47:46 +00:00
parent 0382e11989
commit f3ed4a058d
1 changed files with 2 additions and 1 deletions

View 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;
}