st/mesa: Enable the ARB_shading_language_420pack extension for 1.30+.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 18 Jul 2013 18:49:44 +0000 (11:49 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 18 Jul 2013 23:57:24 +0000 (16:57 -0700)
Any driver that supports GLSL 1.30 should be able to handle this
extension, as it's entirely implemented in the GLSL compiler.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
src/mesa/state_tracker/st_extensions.c

index 32348ef73d8847e92cefebd7a444718f13e9976d..d0194296793c5c651b94801962daed2cd82068a4 100644 (file)
@@ -615,6 +615,7 @@ void st_init_extensions(struct st_context *st)
       ctx->Extensions.ARB_shader_bit_encoding = GL_TRUE;
       ctx->Extensions.ARB_shading_language_packing = GL_TRUE;
       ctx->Extensions.OES_depth_texture_cube_map = GL_TRUE;
+      ctx->Extensions.ARB_shading_language_420pack = GL_TRUE;
    } else {
       /* Optional integer support for GLSL 1.2. */
       if (screen->get_shader_param(screen, PIPE_SHADER_VERTEX,