diff options
author | Keith Whitwell <keithw@vmware.com> | 2010-03-14 23:54:36 +0000 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2010-03-14 23:54:36 +0000 |
commit | dd7ba1378fc50710667724d30d6d4cf1125ad61e (patch) | |
tree | 9244361ccb4cf858eeca17c11f645e68e967cd0c /src/gallium/drivers/llvmpipe/lp_texture.h | |
parent | c1d4774187189f4af8ff421b210824f3d53ceefb (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.h | 7 |
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, |