summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-07-21 11:53:14 +1000
committerTimothy Arceri <[email protected]>2016-07-21 12:06:11 +1000
commitb463b1d7cce2e9848b5937d1431c74f27e26edb3 (patch)
tree6287a4dc4130559b173b8db0947eb30cc37fcbd0
parent4ba9bd138a48bd61cbc24d546afef0986f2fd05a (diff)
i965: enable GL4.4 for Gen8+
Acked-by: Kenneth Graunke <[email protected]>
-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 f0a85d05320..40fe5aa0d8a 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -270,7 +270,7 @@ intelInitExtensions(struct gl_context *ctx)
ctx->Extensions.OES_texture_half_float_linear = true;
if (brw->gen >= 8)
- ctx->Const.GLSLVersion = 430;
+ ctx->Const.GLSLVersion = 440;
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 432ab7bdb63..ae51c40c2b7 100644
--- a/src/mesa/drivers/dri/i965/intel_screen.c
+++ b/src/mesa/drivers/dri/i965/intel_screen.c
@@ -1419,7 +1419,7 @@ set_max_gl_versions(struct intel_screen *screen)
switch (screen->devinfo->gen) {
case 9:
case 8:
- psp->max_gl_core_version = 43;
+ psp->max_gl_core_version = 44;
psp->max_gl_compat_version = 30;
psp->max_gl_es1_version = 11;
psp->max_gl_es2_version = 31;