summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2016-05-20 00:19:18 -0700
committerFrancisco Jerez <[email protected]>2016-05-29 23:41:38 -0700
commitd8cf982f7d12190012b8917a4f4ad3a01a7f0102 (patch)
tree97477135dadc5fd5aa2bd792a612150cb01b5bf6
parent4decc426c26a86beb76dc48658ce175d051464c2 (diff)
i965: Expose GL 4.3 on Gen8+.
ARB_compute_shader was the last feature missing. Reviewed-by: Jason Ekstrand <[email protected]>
-rw-r--r--docs/relnotes/11.3.0.html3
-rw-r--r--src/mesa/drivers/dri/i965/intel_extensions.c2
-rw-r--r--src/mesa/drivers/dri/i965/intel_screen.c2
3 files changed, 3 insertions, 4 deletions
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.
</p>
<ul>
-<li>OpenGL 4.2 on i965 (Gen8+)</li>
-<li>OpenGL 4.3 on nvc0, radeonsi</li>
+<li>OpenGL 4.3 on nvc0, radeonsi, i965 (Gen8+)</li>
<li>OpenGL ES 3.1 on nvc0, radeonsi</li>
<li>GL_ARB_ES3_1_compatibility on nvc0, radeonsi</li>
<li>GL_ARB_compute_shader on nvc0, radeonsi, softpipe</li>
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;