diff options
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_flush.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_flush.c b/src/gallium/drivers/llvmpipe/lp_flush.c index 884e6238d4c..0cd288bb73a 100644 --- a/src/gallium/drivers/llvmpipe/lp_flush.c +++ b/src/gallium/drivers/llvmpipe/lp_flush.c @@ -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) { |