svga: Ensure rendertargets and textures are always rebound at every command buffer...
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 23 Feb 2011 13:32:37 +0000 (13:32 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 24 Feb 2011 14:00:13 +0000 (14:00 +0000)
commit369ece170257ef687ca609cacd1d66d186274eb3
treefb5cee238c2e4584f234f7253b569bd15dc44ea0
parentf19439940c43aa9d937716c6f1ee70cc26799e08
svga: Ensure rendertargets and textures are always rebound at every command buffer start.

The svga_update_state() mechanism is inadequate as it will always end up
flushing the primitives before processing the SVGA_NEW_COMMAND_BUFFER
dirty state flag.
src/gallium/drivers/svga/svga_context.c
src/gallium/drivers/svga/svga_state.h
src/gallium/drivers/svga/svga_state_framebuffer.c
src/gallium/drivers/svga/svga_state_tss.c