summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_screen.c
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_screen.c
parent395e08a839bca94b8c0cd7fca4b48bb06bc02952 (diff)
r300g: Add A8_UNORM texture format.
Keeps teeworld happy.
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen.c')
-rw-r--r--src/gallium/drivers/r300/r300_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c
index 67325c6b80a..a4a0e528159 100644
--- a/src/gallium/drivers/r300/r300_screen.c
+++ b/src/gallium/drivers/r300/r300_screen.c
@@ -219,6 +219,7 @@ static boolean r300_is_format_supported(struct pipe_screen* screen,
case PIPE_FORMAT_DXT5_RGBA:
case PIPE_FORMAT_YCBCR:
case PIPE_FORMAT_L8_UNORM:
+ case PIPE_FORMAT_A8_UNORM:
case PIPE_FORMAT_A8L8_UNORM:
retval = usage & PIPE_TEXTURE_USAGE_SAMPLER;
break;