mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-19 11:00:42 +01:00
llvmpipe: Do unswizzling in parallel when flushing for transfers.
This commit is contained in:
parent
e5a48fcabd
commit
be5a514d4e
1 changed files with 7 additions and 0 deletions
|
|
@ -120,6 +120,13 @@ llvmpipe_flush_resource(struct pipe_context *pipe,
|
|||
if (do_not_block)
|
||||
return FALSE;
|
||||
|
||||
/*
|
||||
* Do the unswizzling in parallel.
|
||||
*
|
||||
* XXX: Don't abuse the PIPE_FLUSH_FRAME flag for this.
|
||||
*/
|
||||
flush_flags |= PIPE_FLUSH_FRAME;
|
||||
|
||||
llvmpipe_flush(pipe, flush_flags, &fence);
|
||||
|
||||
if (fence) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue