Mesa (master): r600g: add missing type to color buffer swap.

Dave Airlie airlied at kemper.freedesktop.org
Thu Feb 17 00:22:19 UTC 2011


Module: Mesa
Branch: master
Commit: 5cc35124b31aa1dddffd24d92c8447cf7a9d9f98
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5cc35124b31aa1dddffd24d92c8447cf7a9d9f98

Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Feb 17 10:24:15 2011 +1000

r600g: add missing type to color buffer swap.

---

 src/gallium/drivers/r600/r600_state_inlines.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/r600/r600_state_inlines.h b/src/gallium/drivers/r600/r600_state_inlines.h
index f980610..7d5c9e0 100644
--- a/src/gallium/drivers/r600/r600_state_inlines.h
+++ b/src/gallium/drivers/r600/r600_state_inlines.h
@@ -332,6 +332,7 @@ static inline uint32_t r600_translate_colorswap(enum pipe_format format)
 	case PIPE_FORMAT_X8R8G8B8_UNORM:
 		return V_0280A0_SWAP_ALT_REV;
 	case PIPE_FORMAT_R8G8B8A8_SNORM:
+	case PIPE_FORMAT_R8G8B8A8_UNORM:
 	case PIPE_FORMAT_R8G8B8X8_UNORM:
 		return V_0280A0_SWAP_STD;
 




More information about the mesa-commit mailing list