summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_texture.h
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2010-01-26 20:11:39 -0800
committerCorbin Simpson <[email protected]>2010-01-26 20:11:39 -0800
commit15e283669aa8832347b4733f9556efdb5692640e (patch)
tree8a33614262c414b1e8eff6e5ec32c267fd747662 /src/gallium/drivers/r300/r300_texture.h
parent395e08a839bca94b8c0cd7fca4b48bb06bc02952 (diff)
r300g: Add A8_UNORM texture format.
Keeps teeworld happy.
Diffstat (limited to 'src/gallium/drivers/r300/r300_texture.h')
-rw-r--r--src/gallium/drivers/r300/r300_texture.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_texture.h b/src/gallium/drivers/r300/r300_texture.h
index 1be1e6843c2..453fb1accc2 100644
--- a/src/gallium/drivers/r300/r300_texture.h
+++ b/src/gallium/drivers/r300/r300_texture.h
@@ -42,6 +42,7 @@ static INLINE uint32_t r300_translate_texformat(enum pipe_format format)
{
switch (format) {
/* X8 */
+ case PIPE_FORMAT_A8_UNORM:
case PIPE_FORMAT_I8_UNORM:
return R300_EASY_TX_FORMAT(X, X, X, X, X8);
case PIPE_FORMAT_L8_UNORM: