summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/nv50/nv50_vbo.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2016-06-08 21:18:36 +0200
committerSamuel Pitoiset <[email protected]>2016-11-02 21:11:57 +0100
commit1d75d681d37a47cf2b3d03b3c32bd9be9751e034 (patch)
treed10493aff007df7551fd5a01633f7db7a7f726f5 /src/gallium/drivers/nouveau/nv50/nv50_vbo.c
parentafaaf623d4d95b3ac736e72c744f683a2b804e1d (diff)
nv50: add missing draw_calls_indexed driver stat
Spotted when glancing at the VBO push code. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nv50/nv50_vbo.c')
-rw-r--r--src/gallium/drivers/nouveau/nv50/nv50_vbo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nv50/nv50_vbo.c b/src/gallium/drivers/nouveau/nv50/nv50_vbo.c
index a11cdf847b1..d608e7bef9d 100644
--- a/src/gallium/drivers/nouveau/nv50/nv50_vbo.c
+++ b/src/gallium/drivers/nouveau/nv50/nv50_vbo.c
@@ -702,6 +702,7 @@ nv50_draw_elements(struct nv50_context *nv50, bool shorten,
prim |= NV50_3D_VERTEX_BEGIN_GL_INSTANCE_NEXT;
}
}
+ NOUVEAU_DRV_STAT(&nv50->screen->base, draw_calls_indexed, 1);
}
static void