summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStéphane Marchesin <[email protected]>2011-10-09 17:14:16 -0700
committerStéphane Marchesin <[email protected]>2011-10-10 00:15:05 -0700
commit9977fb42ac233e4b5a3a3ab721f1af2d9e9982c0 (patch)
tree298638c19911ac0f44a40f2d8339e7be319b1ad7
parentddba509c16c4cb0630a4f4841b31953f02be6b3f (diff)
i915g: Enable instanced drawing.
-rw-r--r--src/gallium/drivers/i915/i915_screen.c2
1 files changed, 1 insertions, 1 deletions
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: