[Mesa-dev] [PATCH 15/15] i965: Expose OpenGL 4.1 for gen8+

Ian Romanick idr at freedesktop.org
Thu Apr 28 13:11:34 UTC 2016


I think we should bump all the way to 4.2 because all of the features
specific to 4.2 have been done for quite some time.

On 04/28/2016 01:40 PM, Antia Puentes wrote:
> From: Alejandro PiƱeiro <apinheiro at igalia.com>
> 
> ARB_vertex_attrib_64bit was the only feature missing.
> ---
>  src/mesa/drivers/dri/i965/intel_extensions.c | 2 +-
>  src/mesa/drivers/dri/i965/intel_screen.c     | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
> index d3905d0..0361d42 100644
> --- a/src/mesa/drivers/dri/i965/intel_extensions.c
> +++ b/src/mesa/drivers/dri/i965/intel_extensions.c
> @@ -268,7 +268,7 @@ intelInitExtensions(struct gl_context *ctx)
>     ctx->Extensions.OES_texture_half_float_linear = true;
>  
>     if (brw->gen >= 8)
> -      ctx->Const.GLSLVersion = 400;
> +      ctx->Const.GLSLVersion = 410;
>     else if (brw->gen >= 6)
>        ctx->Const.GLSLVersion = 330;
>     else
> diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c
> index 6f685b1..f2ec450 100644
> --- a/src/mesa/drivers/dri/i965/intel_screen.c
> +++ b/src/mesa/drivers/dri/i965/intel_screen.c
> @@ -1386,7 +1386,7 @@ set_max_gl_versions(struct intel_screen *screen)
>     switch (screen->devinfo->gen) {
>     case 9:
>     case 8:
> -      psp->max_gl_core_version = 40;
> +      psp->max_gl_core_version = 41;
>        psp->max_gl_compat_version = 30;
>        psp->max_gl_es1_version = 11;
>        psp->max_gl_es2_version = 31;
> 



More information about the mesa-dev mailing list