projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a4599c
)
r600g: Fix the PIPE_FORMAT_A8_UNORM color swap for Evergreen as well.
author
Henri Verbeet
<hverbeet@gmail.com>
Sat, 27 Nov 2010 16:29:56 +0000
(17:29 +0100)
committer
Henri Verbeet
<hverbeet@gmail.com>
Sat, 27 Nov 2010 16:40:47 +0000
(17:40 +0100)
src/gallium/drivers/r600/eg_state_inlines.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/eg_state_inlines.h
b/src/gallium/drivers/r600/eg_state_inlines.h
index b47ca5d62d345db96e8fb2d3c25a0154727586a0..ecea1db4f159c70e102cf6924ba2075a7d275410 100644
(file)
--- a/
src/gallium/drivers/r600/eg_state_inlines.h
+++ b/
src/gallium/drivers/r600/eg_state_inlines.h
@@
-290,6
+290,7
@@
static inline uint32_t r600_translate_colorswap(enum pipe_format format)
switch (format) {
/* 8-bit buffers. */
case PIPE_FORMAT_A8_UNORM:
+ return V_028C70_SWAP_ALT_REV;
case PIPE_FORMAT_I8_UNORM:
case PIPE_FORMAT_L8_UNORM:
case PIPE_FORMAT_R8_UNORM: