From b463b1d7cce2e9848b5937d1431c74f27e26edb3 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Thu, 21 Jul 2016 11:53:14 +1000 Subject: [PATCH] i965: enable GL4.4 for Gen8+ Acked-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/intel_extensions.c | 2 +- src/mesa/drivers/dri/i965/intel_screen.c | 2 +- 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; -- 2.30.2