projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
534f7d5
)
r600g: add L8A8 unorm.
author
Dave Airlie
<airlied@redhat.com>
Wed, 29 Sep 2010 23:04:04 +0000
(09:04 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 29 Sep 2010 23:04:50 +0000
(09:04 +1000)
fixes texEnv warnings.
src/gallium/drivers/r600/r600_state_inlines.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_state_inlines.h
b/src/gallium/drivers/r600/r600_state_inlines.h
index
81ce1bb
..
f41b6a0
100644
(file)
--- a/
src/gallium/drivers/r600/r600_state_inlines.h
+++ b/
src/gallium/drivers/r600/r600_state_inlines.h
@@
-302,6
+302,9
@@
static inline uint32_t r600_translate_colorswap(enum pipe_format format)
case PIPE_FORMAT_Z16_UNORM:
return V_0280A0_SWAP_STD;
+ case PIPE_FORMAT_L8A8_UNORM:
+ return V_0280A0_SWAP_STD;
+
/* 32-bit buffers. */
case PIPE_FORMAT_A8B8G8R8_SRGB:
@@
-383,6
+386,9
@@
static INLINE uint32_t r600_translate_colorformat(enum pipe_format format)
case PIPE_FORMAT_Z16_UNORM:
return V_0280A0_COLOR_16;
+ case PIPE_FORMAT_L8A8_UNORM:
+ return V_0280A0_COLOR_8_8;
+
/* 32-bit buffers. */
case PIPE_FORMAT_A8B8G8R8_SRGB:
case PIPE_FORMAT_A8B8G8R8_UNORM: