summaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2018-11-05 20:47:46 +0000
committerLionel Landwerlin <[email protected]>2018-12-28 16:48:21 +0000
commitf3ed4a058d99184a0b032d9d3e21d732ba530d8e (patch)
tree5c1958b66aaf5772bdbdd36e763f6a63a8eb71f9 /src/intel
parent0382e11989bd83fbf77c54a0aa32442c905031dd (diff)
intel/aub_viewer: print address of missing shader
Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/tools/aubinator_viewer_decoder.cpp3
1 files changed, 2 insertions, 1 deletions
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;
}