[Mesa-dev] [PATCH 36/37] i965/gen6: enable GLSL 1.50

Mike Lothian mike at fireburn.co.uk
Thu Aug 14 06:25:03 PDT 2014


We can probably just change this to check for gen >= 6 and expose 3.30
On 14 Aug 2014 12:13, "Iago Toral Quiroga" <itoral at igalia.com> wrote:

> From: Samuel Iglesias Gonsalvez <siglesias at igalia.com>
>
> Signed-off-by: Samuel Iglesias Gonsalvez <siglesias at igalia.com>
> ---
>  src/mesa/drivers/dri/i965/intel_extensions.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c
> b/src/mesa/drivers/dri/i965/intel_extensions.c
> index e134cd9..9875b7c 100644
> --- a/src/mesa/drivers/dri/i965/intel_extensions.c
> +++ b/src/mesa/drivers/dri/i965/intel_extensions.c
> @@ -246,7 +246,7 @@ intelInitExtensions(struct gl_context *ctx)
>     if (brw->gen >= 7)
>        ctx->Const.GLSLVersion = 330;
>     else if (brw->gen >= 6)
> -      ctx->Const.GLSLVersion = 140;
> +      ctx->Const.GLSLVersion = 150;
>     else
>        ctx->Const.GLSLVersion = 120;
>     _mesa_override_glsl_version(&ctx->Const);
> --
> 1.9.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140814/b4bd502a/attachment-0001.html>


More information about the mesa-dev mailing list