mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
ddebug: always flush when requested, even when hang detection is disabled
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
539fdc49f1
commit
7230cb8f2b
1 changed files with 2 additions and 0 deletions
|
|
@ -1111,6 +1111,8 @@ dd_before_draw(struct dd_context *dctx, struct dd_draw_record *record)
|
|||
pipe->flush(pipe, &record->top_of_pipe,
|
||||
PIPE_FLUSH_DEFERRED | PIPE_FLUSH_TOP_OF_PIPE);
|
||||
}
|
||||
} else if (dscreen->flush_always && dctx->num_draw_calls >= dscreen->skip_count) {
|
||||
pipe->flush(pipe, NULL, 0);
|
||||
}
|
||||
|
||||
mtx_lock(&dctx->mutex);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue