diff options
author | Marek Olšák <[email protected]> | 2011-04-24 11:48:46 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-04-24 12:00:00 +0200 |
commit | 0c71da18ee29e8c29538104a0a8d07c9e9aae9a7 (patch) | |
tree | 7b05023611b5778952772cdb10835d80ad2efdbc /src/gallium/drivers/r300/r300_screen.c | |
parent | f18a086326b2bc832a3c181e6bbec6a62e1b3fcd (diff) |
r300g: fix exposing caps on r300-r400
Broken with 72239d16cd08113e994ea3508f91193c682b0930.
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index 9ec16c6562f..92e59293fe4 100644 --- a/src/gallium/drivers/r300/r300_screen.c +++ b/src/gallium/drivers/r300/r300_screen.c @@ -113,10 +113,10 @@ static int r300_get_param(struct pipe_screen* pscreen, enum pipe_cap param) case PIPE_CAP_TEXTURE_MIRROR_REPEAT: case PIPE_CAP_BLEND_EQUATION_SEPARATE: case PIPE_CAP_VERTEX_ELEMENT_INSTANCE_DIVISOR: - case PIPE_CAP_FRAGMENT_COLOR_CLAMP_CONTROL: - return is_r500 ? 1 : 0; + return 1; case PIPE_CAP_TEXTURE_SWIZZLE: return util_format_s3tc_enabled ? r300screen->caps.dxtc_swizzle : 1; + case PIPE_CAP_FRAGMENT_COLOR_CLAMP_CONTROL: case PIPE_CAP_MIXED_COLORBUFFER_FORMATS: return is_r500 ? 1 : 0; |