summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_flush.h
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2013-02-19 21:18:29 +0100
committerRoland Scheidegger <[email protected]>2013-02-20 19:37:30 +0100
commitfbbcc1fcc4a1e9e8ab794378a55e797ebaa3ed0a (patch)
tree205b67814c733974fea826ca73e9e5b2d15a1ead /src/gallium/drivers/llvmpipe/lp_flush.h
parent95181ed2fdf1c3accb4b34daaea89c2dd509f87d (diff)
llvmpipe: lp_resource_copy cleanup
We don't need to flush resources for each layer, and since we don't actually care about layer at all in the flush function just drop the parameter. Also we can use util_copy_box instead of repeated util_copy_rect. Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_flush.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_flush.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_flush.h b/src/gallium/drivers/llvmpipe/lp_flush.h
index efff94c8c0c..bc1e2a8ebcd 100644
--- a/src/gallium/drivers/llvmpipe/lp_flush.h
+++ b/src/gallium/drivers/llvmpipe/lp_flush.h
@@ -47,7 +47,6 @@ boolean
llvmpipe_flush_resource(struct pipe_context *pipe,
struct pipe_resource *resource,
unsigned level,
- int layer,
boolean read_only,
boolean cpu_access,
boolean do_not_block,