draw: Don't revalidate pipeline on backend flushes

Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Tested-by: Stéphane Marchesin <marcheu@chromium.org>
This commit is contained in:
Jakob Bornecrantz 2010-12-05 21:20:59 +01:00 committed by Stéphane Marchesin
parent 4a79545bdf
commit eb65ccbc21

View file

@ -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;
}