nouveau: don't autobind in state objects relocations
authorLuca Barbieri <luca@luca-barbieri.com>
Tue, 23 Feb 2010 22:16:36 +0000 (23:16 +0100)
committerLuca Barbieri <luca@luca-barbieri.com>
Mon, 12 Apr 2010 10:13:15 +0000 (12:13 +0200)
commitd75f99ab0c98b36028d7e80b8cf6906b672e571f
tree9a4b75ab939530d3e0eaebb418fc510b0afc3e25
parente0af5c9b5457d560ab075118881de01e0277ed14
nouveau: don't autobind in state objects relocations

Autobinding creates additional pushbuffer usage which may not be
accounted in callers, and is also slow.

The next relocations patch depends on this for correctness.

Assert instead if the objects are not bound, which should happen at
screen creation time.
src/gallium/drivers/nouveau/nouveau_stateobj.h