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 66ddc565722119dc12dc05d0ebe90fe708cf9e17..3dec5de3cc44c41c0bb2c6ff86a1987088f9a262 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;