mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 00:38:48 +02:00
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:
parent
4a79545bdf
commit
eb65ccbc21
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue