summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_tile.h
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2010-03-02 12:02:31 +0100
committerMichal Krol <[email protected]>2010-03-02 12:02:31 +0100
commit5587097b53afbce52f7e26568d2dde11de96e1ec (patch)
tree180db82c1bc4b78f50179875cf56ef7b7bda507b /src/gallium/auxiliary/util/u_tile.h
parenta69fdb84df17dd91cbfd41fc90a54558cb334297 (diff)
util: Add pipe_get_tile_swizzle().
Diffstat (limited to 'src/gallium/auxiliary/util/u_tile.h')
-rw-r--r--src/gallium/auxiliary/util/u_tile.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_tile.h b/src/gallium/auxiliary/util/u_tile.h
index 1453af38b8a..b4706179a55 100644
--- a/src/gallium/auxiliary/util/u_tile.h
+++ b/src/gallium/auxiliary/util/u_tile.h
@@ -72,6 +72,18 @@ pipe_get_tile_rgba(struct pipe_transfer *pt,
float *p);
void
+pipe_get_tile_swizzle(struct pipe_transfer *pt,
+ uint x,
+ uint y,
+ uint w,
+ uint h,
+ uint swizzle_r,
+ uint swizzle_g,
+ uint swizzle_b,
+ uint swizzle_a,
+ float *p);
+
+void
pipe_put_tile_rgba(struct pipe_transfer *pt,
uint x, uint y, uint w, uint h,
const float *p);