nv50: get rid of the static_init stateobj
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sun, 21 Mar 2010 12:17:02 +0000 (13:17 +0100)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sun, 21 Mar 2010 12:23:47 +0000 (13:23 +0100)
commit272bbbffb0138024564cbf8410a30ea9e25eb179
tree04e0fbf37db829db41da297d098f828a32357cb6
parentf87a5f6499f51f651c2a9f2d4682875b22926905
nv50: get rid of the static_init stateobj

Relocations of per-screen buffers are now emitted directly,
and include the necessary method to get changes in constbuf
addresses committed to the hw.

It should also be a bit cheaper than the way stateobjs emit
relocation markers, use a little less pushbuf space.
src/gallium/drivers/nv50/nv50_screen.c
src/gallium/drivers/nv50/nv50_screen.h
src/gallium/drivers/nv50/nv50_state_validate.c