summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_screen.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2011-02-16 00:50:25 +0100
committerMarek Olšák <maraeo@gmail.com>2011-03-29 12:50:28 +0200
commitf03791467090db49e5c3d6111cd8d2a7cbe31d75 (patch)
tree916b9405dfaaca329f633c60262bd591aabc3c93 /src/gallium/drivers/r300/r300_screen.c
parent8d4ec87d7f987b3852dafa6802815bb9a3ec7ad4 (diff)
downloadexternal_mesa3d-f03791467090db49e5c3d6111cd8d2a7cbe31d75.zip
external_mesa3d-f03791467090db49e5c3d6111cd8d2a7cbe31d75.tar.gz
external_mesa3d-f03791467090db49e5c3d6111cd8d2a7cbe31d75.tar.bz2
r300g: enable clamping controls
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 8a69628..deaeb77 100644
--- a/src/gallium/drivers/r300/r300_screen.c
+++ b/src/gallium/drivers/r300/r300_screen.c
@@ -114,6 +114,7 @@ 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 1;
case PIPE_CAP_TEXTURE_SWIZZLE:
return util_format_s3tc_enabled ? r300screen->caps.dxtc_swizzle : 1;