aub_viewer: show vertex buffer pitch
authorEric Engestrom <eric.engestrom@intel.com>
Tue, 30 Oct 2018 12:05:14 +0000 (12:05 +0000)
committerEric Engestrom <eric.engestrom@intel.com>
Tue, 30 Oct 2018 18:10:59 +0000 (18:10 +0000)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/tools/aubinator_viewer_decoder.cpp

index 697009894e6d02a09b5a165fc75c8c1be9754381..5311a8afc31d7e30024b4a01620dee6974123a6f 100644 (file)
@@ -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,