i965: Expose GL 4.3 on Gen8+.

ARB_compute_shader was the last feature missing.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
Francisco Jerez 2016-05-20 00:19:18 -07:00
parent 4decc426c2
commit d8cf982f7d
3 changed files with 3 additions and 4 deletions

View File

@ -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>

View File

@ -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

View File

@ -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;