summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_screen.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-03-29 18:18:05 +0200
committerMarek Olšák <[email protected]>2011-04-01 13:48:01 +0200
commit4a7f013f9db793dab8dbc9f71646dab49f12ed2f (patch)
tree39d361896540a8de132401aa44d7177cb6cc55de /src/gallium/drivers/r300/r300_screen.c
parent25f26997670302b07d48207b28f385f85f6af9bb (diff)
gallium: set PIPE_CAP_MIXED_COLORBUFFER_FORMATS in some drivers
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen.c')
-rw-r--r--src/gallium/drivers/r300/r300_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c
index deaeb77429f..f09c9c02972 100644
--- a/src/gallium/drivers/r300/r300_screen.c
+++ b/src/gallium/drivers/r300/r300_screen.c
@@ -118,6 +118,8 @@ static int r300_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
return 1;
case PIPE_CAP_TEXTURE_SWIZZLE:
return util_format_s3tc_enabled ? r300screen->caps.dxtc_swizzle : 1;
+ case PIPE_CAP_MIXED_COLORBUFFER_FORMATS:
+ return is_r500 ? 1 : 0;
/* Unsupported features (boolean caps). */
case PIPE_CAP_TIMER_QUERY: