Mesa (master): intel/aub_viewer: print address of missing shader

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Dec 28 16:50:17 UTC 2018


Module: Mesa
Branch: master
Commit: f3ed4a058d99184a0b032d9d3e21d732ba530d8e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f3ed4a058d99184a0b032d9d3e21d732ba530d8e

Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Mon Nov  5 20:47:46 2018 +0000

intel/aub_viewer: print address of missing shader

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>

---

 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 a2f4a6add8..105931560c 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;
    }
 




More information about the mesa-commit mailing list