summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2016-10-14 16:33:19 -0700
committerKenneth Graunke <kenneth@whitecape.org>2016-10-14 17:35:13 -0700
commit75128d6ffda9745161cb5c7ddd499422ad544d2c (patch)
treed34cf6d9b719344d12166447457c9fa0f2bfdee8 /src/mesa
parent9d65595c0632b0d8036b18553c12fe9fa972e5a2 (diff)
downloadexternal_mesa3d-75128d6ffda9745161cb5c7ddd499422ad544d2c.zip
external_mesa3d-75128d6ffda9745161cb5c7ddd499422ad544d2c.tar.gz
external_mesa3d-75128d6ffda9745161cb5c7ddd499422ad544d2c.tar.bz2
i965: Enable OpenGL 4.5.
Everything is in place. There are still conformance issues to sort out, but we may as well turn it on in master. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Acked-by: Jason Ekstrand <jason@jlekstrand.net>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/intel_extensions.c2
-rw-r--r--src/mesa/drivers/dri/i965/intel_screen.c2
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 87c7710..66079b5 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -271,7 +271,7 @@ intelInitExtensions(struct gl_context *ctx)
ctx->Extensions.OES_texture_half_float_linear = true;
if (brw->gen >= 8)
- ctx->Const.GLSLVersion = 440;
+ ctx->Const.GLSLVersion = 450;
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 9b23bac..e1c3c19 100644
--- a/src/mesa/drivers/dri/i965/intel_screen.c
+++ b/src/mesa/drivers/dri/i965/intel_screen.c
@@ -1439,7 +1439,7 @@ set_max_gl_versions(struct intel_screen *screen)
switch (screen->devinfo.gen) {
case 9:
case 8:
- dri_screen->max_gl_core_version = 44;
+ dri_screen->max_gl_core_version = 45;
dri_screen->max_gl_compat_version = 30;
dri_screen->max_gl_es1_version = 11;
dri_screen->max_gl_es2_version = has_astc ? 32 : 31;