summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-04-18 00:43:19 +0200
committerMarek Olšák <[email protected]>2011-04-18 00:44:17 +0200
commit3f32efa2b88e2ea7f62bc666df4fbf4e1dde4535 (patch)
treeffe79b4377bdbf48e7879da7b29b00b8d9f1ae3f
parent4673f9433fb73febce796945e3883274636fbf62 (diff)
r300g: disable ARB_draw_instanced on SWTCL chipsets.
This fixes Unigine Heaven.
-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 acb7d9f02d2..642523d4d9b 100644
--- a/src/gallium/drivers/r300/r300_screen.c
+++ b/src/gallium/drivers/r300/r300_screen.c
@@ -130,12 +130,12 @@ static int r300_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
case PIPE_CAP_DEPTHSTENCIL_CLEAR_SEPARATE:
case PIPE_CAP_SHADER_STENCIL_EXPORT:
case PIPE_CAP_ARRAY_TEXTURES:
+ case PIPE_CAP_TGSI_INSTANCEID:
return 0;
/* SWTCL-only features. */
case PIPE_CAP_STREAM_OUTPUT:
case PIPE_CAP_PRIMITIVE_RESTART:
- case PIPE_CAP_TGSI_INSTANCEID:
return !r300screen->caps.has_tcl;
/* Texturing. */