i965: Enable the GL_ARB_shading_language_420pack extension on Gen6+.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 18 Jul 2013 01:18:00 +0000 (18:18 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 18 Jul 2013 23:57:24 +0000 (16:57 -0700)
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 <kenneth@whitecape.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/intel_extensions.c

index 1e762ef4f01fd5d1744e19b451b2d46f3a614d8b..409d40b2740d4ffb12f2a82d54db8a8d740a2982 100644 (file)
@@ -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;