summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-03-01 16:26:36 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-03-01 16:26:36 +0000
commita2bcdb7e509fde231846f3af09bef38ed1df4068 (patch)
tree319e31402103d52a6197ce6cb679b8581a629c8d
parent2c1249e2265cbe96bb00e94f2d9a19c5d8a9d5c4 (diff)
r300: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate.
-rw-r--r--src/gallium/drivers/r300/r300_texture.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_texture.c b/src/gallium/drivers/r300/r300_texture.c
index 181711b3d2..5b674f6e57 100644
--- a/src/gallium/drivers/r300/r300_texture.c
+++ b/src/gallium/drivers/r300/r300_texture.c
@@ -324,7 +324,7 @@ static uint32_t r300_translate_colorformat(enum pipe_format format)
case PIPE_FORMAT_B8G8R8A8_SRGB:
case PIPE_FORMAT_B8G8R8X8_UNORM:
case PIPE_FORMAT_B8G8R8X8_SRGB:
- case PIPE_FORMAT_R8G8B8A8_UNORM:
+ case PIPE_FORMAT_R8G8B8A8_UNORM_REV:
case PIPE_FORMAT_R8G8B8A8_SNORM:
case PIPE_FORMAT_R8G8B8A8_SRGB:
case PIPE_FORMAT_R8G8B8X8_UNORM:
@@ -457,7 +457,7 @@ static uint32_t r300_translate_out_fmt(enum pipe_format format)
R300_C2_SEL_G | R300_C3_SEL_B;
/* RGBA 32-bit outputs. */
- case PIPE_FORMAT_R8G8B8A8_UNORM:
+ case PIPE_FORMAT_R8G8B8A8_UNORM_REV:
case PIPE_FORMAT_R8G8B8A8_SNORM:
case PIPE_FORMAT_R8G8B8A8_SRGB:
case PIPE_FORMAT_R8G8B8X8_UNORM: