[Mesa-dev] [PATCH mesa] aub_viewer: show vertex buffer pitch

Eric Engestrom eric.engestrom at intel.com
Tue Oct 30 12:05:53 UTC 2018


Cc: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Signed-off-by: Eric Engestrom <eric.engestrom 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 697009894e6d02a09b5a..5311a8afc31d7e30024b 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,
-- 
Cheers,
  Eric



More information about the mesa-dev mailing list