diff options
author | Jakob Bornecrantz <[email protected]> | 2010-12-05 21:20:59 +0100 |
---|---|---|
committer | Stéphane Marchesin <[email protected]> | 2012-01-26 01:38:40 -0800 |
commit | eb65ccbc21670d16813b53e0f8d94cb4e037d39c (patch) | |
tree | 8e37a605011f42e4a21488c11c20be5e567174ff /src/gallium/auxiliary | |
parent | 4a79545bdfb9e948329a761ef350eb83a3d87496 (diff) |
draw: Don't revalidate pipeline on backend flushes
Reviewed-by: Stéphane Marchesin <[email protected]>
Tested-by: Stéphane Marchesin <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-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 f1b0171f520..d754504f200 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; } |