diff options
author | Francisco Jerez <[email protected]> | 2016-05-20 00:19:18 -0700 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2016-05-29 23:41:38 -0700 |
commit | d8cf982f7d12190012b8917a4f4ad3a01a7f0102 (patch) | |
tree | 97477135dadc5fd5aa2bd792a612150cb01b5bf6 /src/mesa | |
parent | 4decc426c26a86beb76dc48658ce175d051464c2 (diff) |
i965: Expose GL 4.3 on Gen8+.
ARB_compute_shader was the last feature missing.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_extensions.c | 2 | ||||
-rw-r--r-- | 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 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; |