[Mesa-dev] [PATCH 12/11] st/mesa: Enable the ARB_shading_language_420pack extension for 1.30+.

Marek Olšák maraeo at gmail.com
Thu Jul 18 14:06:04 PDT 2013


Reviewed-by: Marek Olšák <maraeo at gmail.com>

Marek

On Thu, Jul 18, 2013 at 8:51 PM, Kenneth Graunke <kenneth at whitecape.org> wrote:
> 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 at whitecape.org>
> ---
>  src/mesa/state_tracker/st_extensions.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
> index 32348ef..d019429 100644
> --- a/src/mesa/state_tracker/st_extensions.c
> +++ b/src/mesa/state_tracker/st_extensions.c
> @@ -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,
> --
> 1.8.3.3
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list