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:
committed by
Stéphane Marchesin
parent
4a79545bdf
commit
eb65ccbc21
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user