From: Marek Olšák Date: Thu, 8 Mar 2012 11:20:01 +0000 (+0100) Subject: r600g: enable ARB_draw_instanced X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7f1cbf12bc883090734983bdd98e5158b9a194a0;p=mesa.git r600g: enable ARB_draw_instanced --- diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index d8f294a2028..113dad6e88e 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++ b/src/gallium/drivers/r600/r600_pipe.c @@ -389,6 +389,7 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param) case PIPE_CAP_TEXTURE_BARRIER: case PIPE_CAP_VERTEX_COLOR_UNCLAMPED: case PIPE_CAP_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION: + case PIPE_CAP_TGSI_INSTANCEID: return 1; case PIPE_CAP_GLSL_FEATURE_LEVEL: @@ -405,7 +406,6 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param) return family >= CHIP_CEDAR ? 1 : 0; /* Unsupported features. */ - case PIPE_CAP_TGSI_INSTANCEID: case PIPE_CAP_TGSI_FS_COORD_ORIGIN_LOWER_LEFT: case PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_INTEGER: case PIPE_CAP_SCALED_RESOLVE: