diff options
author | Jakob Bornecrantz <wallbraker@gmail.com> | 2010-12-05 21:20:59 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2011-02-26 14:58:39 +0100 |
commit | f4ddcd55f09a8b4188830fd822dbd4bd3a7e622e (patch) | |
tree | 3bd09dc5453dd1b125bdfccda2d2d7ca78dc24ea | |
parent | 056fc06d0f099890092f90d2fcccf57bf482e1d3 (diff) |
draw: Don't revalidate pipeline on backend flushes
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pipe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pipe.c b/src/gallium/auxiliary/draw/draw_pipe.c index f1b0171f52..3bf68a191d 100644 --- a/src/gallium/auxiliary/draw/draw_pipe.c +++ b/src/gallium/auxiliary/draw/draw_pipe.c @@ -344,5 +344,6 @@ void draw_pipeline_flush( struct draw_context *draw, unsigned flags ) { draw->pipeline.first->flush( draw->pipeline.first, flags ); - draw->pipeline.first = draw->pipeline.validate; + if (flags != DRAW_FLUSH_BACKEND) + draw->pipeline.first = draw->pipeline.validate; } |