From: Timothy Arceri Date: Thu, 21 Jul 2016 01:53:14 +0000 (+1000) Subject: i965: enable GL4.4 for Gen8+ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b463b1d7cce2e9848b5937d1431c74f27e26edb3;p=mesa.git i965: enable GL4.4 for Gen8+ Acked-by: Kenneth Graunke --- 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;