From: Kenneth Graunke Date: Thu, 18 Jul 2013 01:18:00 +0000 (-0700) Subject: i965: Enable the GL_ARB_shading_language_420pack extension on Gen6+. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=46d9baf3e3186078ca5a74f9d3e70ad493f899cb;p=mesa.git i965: Enable the GL_ARB_shading_language_420pack extension on Gen6+. While all the work is in the shared GLSL compiler, this extension requires GLSL 1.30, which is currently only supported on Gen6+. Signed-off-by: Kenneth Graunke Reviewed-by: Paul Berry --- diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c index 1e762ef4f01..409d40b2740 100644 --- a/src/mesa/drivers/dri/i965/intel_extensions.c +++ b/src/mesa/drivers/dri/i965/intel_extensions.c @@ -139,6 +139,7 @@ intelInitExtensions(struct gl_context *ctx) ctx->Extensions.ARB_draw_buffers_blend = true; ctx->Extensions.ARB_ES3_compatibility = true; ctx->Extensions.ARB_uniform_buffer_object = true; + ctx->Extensions.ARB_shading_language_420pack = true; ctx->Extensions.ARB_texture_buffer_object = true; ctx->Extensions.ARB_texture_buffer_object_rgb32 = true; ctx->Extensions.ARB_texture_cube_map_array = true;