intel: Don't enable GL_ARB_draw_instanced pre-gen4.
authorEric Anholt <eric@anholt.net>
Fri, 2 Mar 2012 23:01:20 +0000 (15:01 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 3 Mar 2012 01:16:11 +0000 (17:16 -0800)
swtnl doesn't handle this extension.

src/mesa/drivers/dri/intel/intel_extensions.c

index c4c32ffde5d915347c864dc88c3041ce57b95489..a50ab777e9bb00e790d184f35e6a11f6ea390721 100644 (file)
@@ -43,7 +43,6 @@ intelInitExtensions(struct gl_context *ctx)
    struct intel_context *intel = intel_context(ctx);
 
    ctx->Extensions.ARB_draw_elements_base_vertex = true;
-   ctx->Extensions.ARB_draw_instanced = true;
    ctx->Extensions.ARB_explicit_attrib_location = true;
    ctx->Extensions.ARB_framebuffer_object = true;
    ctx->Extensions.ARB_half_float_pixel = true;
@@ -108,6 +107,7 @@ intelInitExtensions(struct gl_context *ctx)
       ctx->Extensions.ARB_color_buffer_float = true;
       ctx->Extensions.ARB_depth_buffer_float = true;
       ctx->Extensions.ARB_depth_clamp = true;
+      ctx->Extensions.ARB_draw_instanced = true;
       ctx->Extensions.ARB_fragment_coord_conventions = true;
       ctx->Extensions.ARB_fragment_program_shadow = true;
       ctx->Extensions.ARB_fragment_shader = true;