From: Stéphane Marchesin Date: Mon, 10 Oct 2011 00:14:16 +0000 (-0700) Subject: i915g: Enable instanced drawing. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9977fb42ac233e4b5a3a3ab721f1af2d9e9982c0;p=mesa.git i915g: Enable instanced drawing. --- diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c index 7d9b8653ea6..853d9f1917e 100644 --- a/src/gallium/drivers/i915/i915_screen.c +++ b/src/gallium/drivers/i915/i915_screen.c @@ -178,6 +178,7 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap) case PIPE_CAP_TWO_SIDED_STENCIL: case PIPE_CAP_VERTEX_ELEMENT_INSTANCE_DIVISOR: case PIPE_CAP_BLEND_EQUATION_SEPARATE: + case PIPE_CAP_TGSI_INSTANCEID: return 1; /* Unsupported features (boolean caps). */ @@ -185,7 +186,6 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap) case PIPE_CAP_DEPTH_CLAMP: case PIPE_CAP_INDEP_BLEND_ENABLE: case PIPE_CAP_INDEP_BLEND_FUNC: - case PIPE_CAP_TGSI_INSTANCEID: case PIPE_CAP_SHADER_STENCIL_EXPORT: case PIPE_CAP_TEXTURE_MIRROR_CLAMP: case PIPE_CAP_TEXTURE_SWIZZLE: