diff options
author | Brian Paul <[email protected]> | 2011-01-22 16:59:22 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-01-22 18:33:35 -0700 |
commit | 90671fcdda52a83e2bbba581e985d25c6bff961e (patch) | |
tree | c784c729353fe289996479acf439eea0a0a81987 /src/gallium/auxiliary/util/u_tile.h | |
parent | 4e2c077879dce298aa0f2648cac1dba1fa5a58af (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.h | 17 |
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 558351d0ce5..b198837e5ce 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, |