From: Francisco Jerez
Date: Fri, 20 May 2016 07:19:18 +0000 (-0700)
Subject: i965: Expose GL 4.3 on Gen8+.
X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d8cf982f7d12190012b8917a4f4ad3a01a7f0102;p=mesa.git
i965: Expose GL 4.3 on Gen8+.
ARB_compute_shader was the last feature missing.
Reviewed-by: Jason Ekstrand
---
diff --git a/docs/relnotes/11.3.0.html b/docs/relnotes/11.3.0.html
index c4736d3670d..a19f28454fc 100644
--- a/docs/relnotes/11.3.0.html
+++ b/docs/relnotes/11.3.0.html
@@ -44,8 +44,7 @@ Note: some of the new features are only available with certain drivers.
-- OpenGL 4.2 on i965 (Gen8+)
-- OpenGL 4.3 on nvc0, radeonsi
+- OpenGL 4.3 on nvc0, radeonsi, i965 (Gen8+)
- OpenGL ES 3.1 on nvc0, radeonsi
- GL_ARB_ES3_1_compatibility on nvc0, radeonsi
- GL_ARB_compute_shader on nvc0, radeonsi, softpipe
diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
index b49e0607f00..5be4787f74a 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -269,7 +269,7 @@ intelInitExtensions(struct gl_context *ctx)
ctx->Extensions.OES_texture_half_float_linear = true;
if (brw->gen >= 8)
- ctx->Const.GLSLVersion = 420;
+ ctx->Const.GLSLVersion = 430;
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 2f8fed5eef9..fb06e25b0c1 100644
--- a/src/mesa/drivers/dri/i965/intel_screen.c
+++ b/src/mesa/drivers/dri/i965/intel_screen.c
@@ -1411,7 +1411,7 @@ set_max_gl_versions(struct intel_screen *screen)
switch (screen->devinfo->gen) {
case 9:
case 8:
- psp->max_gl_core_version = 42;
+ psp->max_gl_core_version = 43;
psp->max_gl_compat_version = 30;
psp->max_gl_es1_version = 11;
psp->max_gl_es2_version = 31;