Mesa (master): softpipe: remove redundant draw_flush() call
Brian Paul
brianp at kemper.freedesktop.org
Tue Mar 1 01:34:42 UTC 2011
Module: Mesa
Branch: master
Commit: 125b4ac7e6745ea60e620fe399db4a90e7bb530e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=125b4ac7e6745ea60e620fe399db4a90e7bb530e
Author: Brian Paul <brianp at vmware.com>
Date: Mon Feb 28 18:25:41 2011 -0700
softpipe: remove redundant draw_flush() call
We'll flush after the same-shader comparison.
---
src/gallium/drivers/softpipe/sp_state_shader.c | 2 --
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 66ddc56..3dec5de 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;
More information about the mesa-commit
mailing list