Mesa (master): aub_viewer: show vertex buffer pitch

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Oct 30 18:12:05 UTC 2018


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

Author: Eric Engestrom <eric.engestrom at intel.com>
Date:   Tue Oct 30 12:05:14 2018 +0000

aub_viewer: show vertex buffer pitch

Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>

---

 src/intel/tools/aubinator_viewer_decoder.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/intel/tools/aubinator_viewer_decoder.cpp b/src/intel/tools/aubinator_viewer_decoder.cpp
index 697009894e..5311a8afc3 100644
--- a/src/intel/tools/aubinator_viewer_decoder.cpp
+++ b/src/intel/tools/aubinator_viewer_decoder.cpp
@@ -376,7 +376,7 @@ handle_3dstate_vertex_buffers(struct aub_viewer_decode_ctx *ctx,
          if (!ready)
             continue;
 
-         ImGui::Text("vertex buffer %d, size %d", index, vb_size);
+         ImGui::Text("vertex buffer %d, size %d, pitch %d", index, vb_size, pitch);
 
          if (vb.map == NULL) {
             ImGui::TextColored(ctx->cfg->missing_color,




More information about the mesa-commit mailing list