diff options
author | José Fonseca <[email protected]> | 2010-03-01 16:24:48 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-03-01 16:24:48 +0000 |
commit | daf7caf4cfb1c3732a31be56157e9c7d0399ef58 (patch) | |
tree | 74ee7d8b28351fd1aca5dd467ff6e8740e4c0838 /src/gallium/auxiliary/util/u_tile.c | |
parent | cd8b6523039d68459756db487566a97fac1d4d75 (diff) |
util: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate.
Diffstat (limited to 'src/gallium/auxiliary/util/u_tile.c')
-rw-r--r-- | src/gallium/auxiliary/util/u_tile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/util/u_tile.c b/src/gallium/auxiliary/util/u_tile.c index 0051258e22a..6000e93a0b6 100644 --- a/src/gallium/auxiliary/util/u_tile.c +++ b/src/gallium/auxiliary/util/u_tile.c @@ -248,7 +248,7 @@ b8g8r8a8_put_tile_rgba(unsigned *dst, } -/*** PIPE_FORMAT_R8G8B8A8_UNORM ***/ +/*** PIPE_FORMAT_R8G8B8A8_UNORM_REV ***/ static void r8g8b8a8_get_tile_rgba(const unsigned *src, @@ -1171,7 +1171,7 @@ pipe_tile_raw_to_rgba(enum pipe_format format, case PIPE_FORMAT_B8G8R8A8_UNORM: b8g8r8a8_get_tile_rgba((unsigned *) src, w, h, dst, dst_stride); break; - case PIPE_FORMAT_R8G8B8A8_UNORM: + case PIPE_FORMAT_R8G8B8A8_UNORM_REV: r8g8b8a8_get_tile_rgba((unsigned *) src, w, h, dst, dst_stride); break; case PIPE_FORMAT_A1R5G5B5_UNORM: @@ -1300,7 +1300,7 @@ pipe_put_tile_rgba(struct pipe_transfer *pt, case PIPE_FORMAT_B8G8R8A8_UNORM: b8g8r8a8_put_tile_rgba((unsigned *) packed, w, h, p, src_stride); break; - case PIPE_FORMAT_R8G8B8A8_UNORM: + case PIPE_FORMAT_R8G8B8A8_UNORM_REV: r8g8b8a8_put_tile_rgba((unsigned *) packed, w, h, p, src_stride); break; case PIPE_FORMAT_A1R5G5B5_UNORM: |