summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_tile.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2011-01-22 16:59:22 -0700
committerBrian Paul <brianp@vmware.com>2011-01-22 18:33:35 -0700
commit90671fcdda52a83e2bbba581e985d25c6bff961e (patch)
treec784c729353fe289996479acf439eea0a0a81987 /src/gallium/auxiliary/util/u_tile.h
parent4e2c077879dce298aa0f2648cac1dba1fa5a58af (diff)
gallium/softpipe: replace pipe_get_tile_swizzle()
The new function, pipe_get_tile_rgba_format(), no longer takes a swizzle (we weren't actually using it anywhere). Rename it to indicate that the format is passed explicitly.
Diffstat (limited to 'src/gallium/auxiliary/util/u_tile.h')
-rw-r--r--src/gallium/auxiliary/util/u_tile.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/src/gallium/auxiliary/util/u_tile.h b/src/gallium/auxiliary/util/u_tile.h
index 558351d0ce..b198837e5c 100644
--- a/src/gallium/auxiliary/util/u_tile.h
+++ b/src/gallium/auxiliary/util/u_tile.h
@@ -80,18 +80,11 @@ pipe_get_tile_rgba(struct pipe_context *pipe,
float *p);
void
-pipe_get_tile_swizzle(struct pipe_context *pipe,
- struct pipe_transfer *pt,
- uint x,
- uint y,
- uint w,
- uint h,
- uint swizzle_r,
- uint swizzle_g,
- uint swizzle_b,
- uint swizzle_a,
- enum pipe_format format,
- float *p);
+pipe_get_tile_rgba_format(struct pipe_context *pipe,
+ struct pipe_transfer *pt,
+ uint x, uint y, uint w, uint h,
+ enum pipe_format format,
+ float *p);
void
pipe_put_tile_rgba(struct pipe_context *pipe,