mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 06:30:10 +01:00
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@intel.com> Reviewed-by: Marta Lofstedt <marta.lofstedt@intel.com>
This commit is contained in:
parent
3b5d442661
commit
e97b207654
1 changed files with 5 additions and 0 deletions
|
|
@ -1339,6 +1339,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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue