diff options
author | Kenneth Graunke <[email protected]> | 2013-10-17 23:14:23 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-10-18 15:24:18 -0700 |
commit | 567445e2b9f64cdb0a97ec883a9dfd5ed59d21fc (patch) | |
tree | 534499094d3e88f21d65bb7943bdce3b20185d42 /src/mesa | |
parent | cedfd79be205f302a82635354679cd2ecaf3cc57 (diff) |
i965: Enable OpenGL 3.3 and GLSL 3.30.
Everything necessary for these appears to be implemented. We'll want to
add more tests to guard against bugs, but it should be functionally
complete.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[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 334be058f65..803d090b999 100644 --- a/src/mesa/drivers/dri/i965/intel_extensions.c +++ b/src/mesa/drivers/dri/i965/intel_extensions.c @@ -126,7 +126,7 @@ intelInitExtensions(struct gl_context *ctx) ctx->Extensions.OES_EGL_image_external = true; if (brw->gen >= 7) - ctx->Const.GLSLVersion = 150; + ctx->Const.GLSLVersion = 330; else if (brw->gen >= 6) ctx->Const.GLSLVersion = 140; else diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c index ec6274c448b..b3d605503f4 100644 --- a/src/mesa/drivers/dri/i965/intel_screen.c +++ b/src/mesa/drivers/dri/i965/intel_screen.c @@ -1187,7 +1187,7 @@ set_max_gl_versions(struct intel_screen *screen) switch (screen->devinfo->gen) { case 7: - psp->max_gl_core_version = 32; + psp->max_gl_core_version = 33; psp->max_gl_compat_version = 30; psp->max_gl_es1_version = 11; psp->max_gl_es2_version = 30; |