nv50: add missing draw_calls_indexed driver stat
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 8 Jun 2016 19:18:36 +0000 (21:18 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 2 Nov 2016 20:11:57 +0000 (21:11 +0100)
Spotted when glancing at the VBO push code.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nv50/nv50_vbo.c

index a11cdf847b12ad8ba8cb6bd3e9977a188cce3952..d608e7bef9dc12eb346ec31028dd26067074c0d3 100644 (file)
@@ -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