nvfx: avoid flushes in primitives
authorLuca Barbieri <luca@luca-barbieri.com>
Mon, 12 Apr 2010 07:36:28 +0000 (09:36 +0200)
committerLuca Barbieri <luca@luca-barbieri.com>
Mon, 12 Apr 2010 10:13:15 +0000 (12:13 +0200)
commit507dc546c3da415036521fcf91e76af88c2cbf69
treee8a1753eaff0cff20ea135ae75e9ff327766c351
parentf0b8677d57f32ea66c997dfc8c3bf06987c6ebcd
nvfx: avoid flushes in primitives

Currently we miscalculate the space needed to push vertices, causing
flushes where they should not happen.

Use a much more conservative estimate to fix it.

It will be done better in the future (e.g. using the nv50 primitive
splitter).
src/gallium/drivers/nvfx/nvfx_vbo.c