i965: enable GL4.4 for Gen8+
authorTimothy Arceri <timothy.arceri@collabora.com>
Thu, 21 Jul 2016 01:53:14 +0000 (11:53 +1000)
committerTimothy Arceri <timothy.arceri@collabora.com>
Thu, 21 Jul 2016 02:06:11 +0000 (12:06 +1000)
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/intel_extensions.c
src/mesa/drivers/dri/i965/intel_screen.c

index f0a85d053204de41ffc4442f907df5cd2f767270..40fe5aa0d8a7e22b4cd4f4050177d8133f759c95 100644 (file)
@@ -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
index 432ab7bdb6361cd932616ac5ac3d0d75088a9b71..ae51c40c2b7ac9cef11821b53549f33271c72be1 100644 (file)
@@ -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;