From: Marek Olšák Date: Sun, 17 Apr 2011 22:43:19 +0000 (+0200) Subject: r300g: disable ARB_draw_instanced on SWTCL chipsets. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f32efa2b88e2ea7f62bc666df4fbf4e1dde4535;p=mesa.git r300g: disable ARB_draw_instanced on SWTCL chipsets. This fixes Unigine Heaven. --- 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. */