summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2011-02-28 18:25:41 -0700
committerBrian Paul <brianp@vmware.com>2011-02-28 18:25:41 -0700
commit125b4ac7e6745ea60e620fe399db4a90e7bb530e (patch)
treee278ac98a9f93404fff6d183325f2aea4e127efe /src
parente6f3e24330926b2ea04c39b5a60b9a20123e5bd4 (diff)
softpipe: remove redundant draw_flush() call
We'll flush after the same-shader comparison.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/softpipe/sp_state_shader.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/softpipe/sp_state_shader.c b/src/gallium/drivers/softpipe/sp_state_shader.c
index 66ddc56572..3dec5de3cc 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;