softpipe: remove redundant draw_flush() call
authorBrian Paul <brianp@vmware.com>
Tue, 1 Mar 2011 01:25:41 +0000 (18:25 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 1 Mar 2011 01:25:41 +0000 (18:25 -0700)
We'll flush after the same-shader comparison.

src/gallium/drivers/softpipe/sp_state_shader.c

index 66ddc56..3dec5de 100644 (file)
@@ -91,8 +91,6 @@ softpipe_bind_fs_state(struct pipe_context *pipe, void *fs)
 {
    struct softpipe_context *softpipe = softpipe_context(pipe);
 
-   draw_flush(softpipe->draw);
-
    if (softpipe->fs == fs)
       return;