From: Samuel Pitoiset Date: Wed, 8 Jun 2016 19:18:36 +0000 (+0200) Subject: nv50: add missing draw_calls_indexed driver stat X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1d75d681d37a47cf2b3d03b3c32bd9be9751e034;p=mesa.git nv50: add missing draw_calls_indexed driver stat Spotted when glancing at the VBO push code. Signed-off-by: Samuel Pitoiset Reviewed-by: Ilia Mirkin --- 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