diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2016-09-20 20:33:54 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2016-09-21 10:51:58 -0700 |
commit | a53da57d5a1f6d72b30693328b809762dbee4c3c (patch) | |
tree | ea19fcefa140cdc850c6fc300d65dab83af586e3 | |
parent | d2f42a945ec0fbcc51b59cfd329258bd62ebf0d2 (diff) |
i965: Enable ES 3.2 on Skylake.
It's already advertised because the version.c extension checks are
fulfilled, but we didn't actually claim support, so trying to create
a ES 3.2 context would fail.
It's all done, and the CTS results look good, so let's turn it on.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_screen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c index 82d4203a34..d4e34ec4a2 100644 --- a/src/mesa/drivers/dri/i965/intel_screen.c +++ b/src/mesa/drivers/dri/i965/intel_screen.c @@ -1431,6 +1431,7 @@ static void set_max_gl_versions(struct intel_screen *screen) { __DRIscreen *dri_screen = screen->driScrnPriv; + const bool has_astc = screen->devinfo->gen >= 9; switch (screen->devinfo->gen) { case 9: @@ -1438,7 +1439,7 @@ set_max_gl_versions(struct intel_screen *screen) dri_screen->max_gl_core_version = 44; dri_screen->max_gl_compat_version = 30; dri_screen->max_gl_es1_version = 11; - dri_screen->max_gl_es2_version = 31; + dri_screen->max_gl_es2_version = has_astc ? 32 : 31; break; case 7: dri_screen->max_gl_core_version = 33; |