[Mesa-dev] [PATCH 5/5] i965/screen: Allow OpenGLES 3.1 for gen8+

Lofstedt, Marta marta.lofstedt at intel.com
Wed Dec 16 01:06:27 PST 2015


Reviewed-by: Marta Lofstedt <marta.lofstedt at intel.com>


> -----Original Message-----
> From: Justen, Jordan L
> Sent: Wednesday, December 16, 2015 1:08 AM
> To: mesa-dev at lists.freedesktop.org
> Cc: Justen, Jordan L; Ian Romanick; Lofstedt, Marta
> Subject: [PATCH 5/5] i965/screen: Allow OpenGLES 3.1 for gen8+
> 
> OpenGLES 3.1 cannot be enabled for gen 7 (Ivy Bridge, Haswell) since they
> are still missing ARB_stencil_texturing.
> 
> Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
> Cc: Ian Romanick <idr at freedesktop.org>
> Cc: Marta Lofstedt <marta.lofstedt at intel.com>
> ---
>  src/mesa/drivers/dri/i965/intel_screen.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/src/mesa/drivers/dri/i965/intel_screen.c
> b/src/mesa/drivers/dri/i965/intel_screen.c
> index 825a7c1..13498f4 100644
> --- a/src/mesa/drivers/dri/i965/intel_screen.c
> +++ b/src/mesa/drivers/dri/i965/intel_screen.c
> @@ -1338,6 +1338,11 @@ set_max_gl_versions(struct intel_screen *screen)
>     switch (screen->devinfo->gen) {
>     case 9:
>     case 8:
> +      psp->max_gl_core_version = 33;
> +      psp->max_gl_compat_version = 30;
> +      psp->max_gl_es1_version = 11;
> +      psp->max_gl_es2_version = 31;
> +      break;
>     case 7:
>     case 6:
>        psp->max_gl_core_version = 33;
> --
> 2.6.2



More information about the mesa-dev mailing list