summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_screen.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2011-03-05 15:53:46 +0100
committerMarek Olšák <maraeo@gmail.com>2011-03-05 17:41:11 +0100
commit65482f2c2b1c3456d0ca58a38d82c02a5d6d362c (patch)
treebcd341edebd94f6ae97359e3456c2d8f640f2112 /src/gallium/drivers/r300/r300_screen.c
parent95c7881ac8240fa369e33db411bbd165d0f61948 (diff)
downloadexternal_mesa3d-65482f2c2b1c3456d0ca58a38d82c02a5d6d362c.zip
external_mesa3d-65482f2c2b1c3456d0ca58a38d82c02a5d6d362c.tar.gz
external_mesa3d-65482f2c2b1c3456d0ca58a38d82c02a5d6d362c.tar.bz2
r300g: implement instanced arrays
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen.c')
-rw-r--r--src/gallium/drivers/r300/r300_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c
index 2f82f78..6c0dc99 100644
--- a/src/gallium/drivers/r300/r300_screen.c
+++ b/src/gallium/drivers/r300/r300_screen.c
@@ -112,6 +112,7 @@ static int r300_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
case PIPE_CAP_TEXTURE_MIRROR_CLAMP:
case PIPE_CAP_TEXTURE_MIRROR_REPEAT:
case PIPE_CAP_BLEND_EQUATION_SEPARATE:
+ case PIPE_CAP_VERTEX_ELEMENT_INSTANCE_DIVISOR:
return 1;
case PIPE_CAP_TEXTURE_SWIZZLE:
return util_format_s3tc_enabled ? r300screen->caps.dxtc_swizzle : 1;
@@ -127,7 +128,6 @@ static int r300_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
case PIPE_CAP_STREAM_OUTPUT:
case PIPE_CAP_PRIMITIVE_RESTART:
case PIPE_CAP_TGSI_INSTANCEID:
- case PIPE_CAP_VERTEX_ELEMENT_INSTANCE_DIVISOR:
case PIPE_CAP_ARRAY_TEXTURES:
return 0;