summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_texture.h
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2010-03-14 23:54:36 +0000
committerKeith Whitwell <keithw@vmware.com>2010-03-14 23:54:36 +0000
commitdd7ba1378fc50710667724d30d6d4cf1125ad61e (patch)
tree9244361ccb4cf858eeca17c11f645e68e967cd0c /src/gallium/drivers/llvmpipe/lp_texture.h
parentc1d4774187189f4af8ff421b210824f3d53ceefb (diff)
gallium: start a cleanup of buffer_usage
Remove fairly meaningless CPU/GPU READ/WRITE flags and replace with proper usages.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_texture.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_texture.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_texture.h b/src/gallium/drivers/llvmpipe/lp_texture.h
index ca67b5bdb0..54c93778b7 100644
--- a/src/gallium/drivers/llvmpipe/lp_texture.h
+++ b/src/gallium/drivers/llvmpipe/lp_texture.h
@@ -111,9 +111,10 @@ llvmpipe_resource_stride(struct pipe_resource *texture,
void *
llvmpipe_resource_map(struct pipe_resource *texture,
- unsigned face,
- unsigned level,
- unsigned zslice);
+ unsigned usage,
+ unsigned face,
+ unsigned level,
+ unsigned zslice);
void
llvmpipe_resource_unmap(struct pipe_resource *texture,