From: Brian Paul Date: Tue, 1 Mar 2011 01:25:41 +0000 (-0700) Subject: softpipe: remove redundant draw_flush() call X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=125b4ac7e6745ea60e620fe399db4a90e7bb530e;p=mesa.git softpipe: remove redundant draw_flush() call We'll flush after the same-shader comparison. --- diff --git a/src/gallium/drivers/softpipe/sp_state_shader.c b/src/gallium/drivers/softpipe/sp_state_shader.c index 66ddc565722..3dec5de3cc4 100644 --- a/src/gallium/drivers/softpipe/sp_state_shader.c +++ b/src/gallium/drivers/softpipe/sp_state_shader.c @@ -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;