svga: whitespace and formatting fixes in svga_stage.c
[mesa.git] / src / gallium / drivers / svga / svga_swtnl_draw.c
index faebfdeebc1274d6136fe568b83d505f7a638772..24b4f5cdc2807c4fd838e2d079cb971f067450a1 100644 (file)
@@ -49,6 +49,8 @@ svga_swtnl_draw_vbo(struct svga_context *svga,
    const void *map;
    enum pipe_error ret;
 
+   SVGA_STATS_TIME_PUSH(svga_sws(svga), SVGA_STATS_TIME_SWTNLDRAWVBO);
+
    assert(!svga->dirty);
    assert(svga->state.sw.need_swtnl);
    assert(draw);
@@ -139,6 +141,7 @@ svga_swtnl_draw_vbo(struct svga_context *svga,
    svga->state.sw.in_swtnl_draw = FALSE;
    svga->dirty |= SVGA_NEW_NEED_PIPELINE | SVGA_NEW_NEED_SWVFETCH;
 
+   SVGA_STATS_TIME_POP(svga_sws(svga));
    return ret;
 }