From: Eric Anholt Date: Fri, 2 Mar 2012 23:01:20 +0000 (-0800) Subject: intel: Don't enable GL_ARB_draw_instanced pre-gen4. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ae92180d724f9b743a088050cdc4ff7dad20c28b;p=mesa.git intel: Don't enable GL_ARB_draw_instanced pre-gen4. swtnl doesn't handle this extension. --- diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c b/src/mesa/drivers/dri/intel/intel_extensions.c index c4c32ffde5d..a50ab777e9b 100644 --- a/src/mesa/drivers/dri/intel/intel_extensions.c +++ b/src/mesa/drivers/dri/intel/intel_extensions.c @@ -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;