llvmpipe: Do unswizzling in parallel when flushing for transfers.

This commit is contained in:
José Fonseca 2010-06-04 12:22:14 +01:00
parent e5a48fcabd
commit be5a514d4e
1 changed files with 7 additions and 0 deletions

View File

@ -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) {