summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_state.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-02-14 14:59:01 +0100
committerMarek Olšák <[email protected]>2013-02-14 14:59:36 +0100
commitec5376f5d8b588bc3c147189059178f47aed3503 (patch)
tree36b5b9eb3839d576e7dc278ad19aa06132b07aea /src/gallium/drivers/r300/r300_state.c
parent5d3b8ad24bf1f8ff7682a1489630d234b7c31b6a (diff)
r300g: add support for red-alpha render targets
Diffstat (limited to 'src/gallium/drivers/r300/r300_state.c')
-rw-r--r--src/gallium/drivers/r300/r300_state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c
index bf4163cea42..ad93510ab3f 100644
--- a/src/gallium/drivers/r300/r300_state.c
+++ b/src/gallium/drivers/r300/r300_state.c
@@ -604,6 +604,7 @@ static void r300_set_blend_color(struct pipe_context* pipe,
break;
case PIPE_FORMAT_L8A8_UNORM:
+ case PIPE_FORMAT_R8A8_UNORM:
c.color[2] = c.color[3];
break;