i965: Don't bother trying to extend the current vertex buffers.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 27 Oct 2012 03:36:50 +0000 (20:36 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 1 Nov 2012 02:54:36 +0000 (19:54 -0700)
commit3d2b4291c2e448fd51c14fc1ff52ceaef00788cc
tree1c78b6b7123384ec6e153fe53a9baa8086cada65
parent1eedebc65b02130ef7a27062a1ed67972a317a08
i965: Don't bother trying to extend the current vertex buffers.

This essentially reverts the following:

  commit c625aa19cb53ed27f91bfd16fea6ea727e9a5bbd
  Author: Chris Wilson <chris@chris-wilson.co.uk>
  Date:   Fri Feb 18 10:37:43 2011 +0000

      intel: extend current vertex buffers

While working on optimizing an upcoming Steam title, I broke this code.
Eric expressed his doubts about this optimization, and noted that the
original commit offered no performance data.

I ran before and after benchmarks on Xonotic and Citybench, and found
that this code made no difference.  So, remove it to reduce complexity
and make future work simpler.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_draw_upload.c
src/mesa/drivers/dri/i965/brw_vtbl.c