From 5e76baa2ad261c72f96a3df42ace4773a1c7daa9 Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Sat, 27 Aug 2016 14:13:23 -0700 Subject: [PATCH] i965/hsw: Enable ARB_ES3_1_compatibility extension MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jordan Justen Acked-by: Kenneth Graunke Reviewed-by: Samuel Iglesias Gonsálvez --- docs/features.txt | 2 +- src/mesa/drivers/dri/i965/intel_extensions.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/features.txt b/docs/features.txt index 26e8ff70b42..218fa6cb3ce 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -208,7 +208,7 @@ GL 4.4, GLSL 4.40 -- all DONE: i965/gen8+ GL 4.5, GLSL 4.50: - GL_ARB_ES3_1_compatibility DONE (i965/gen8+, nvc0, radeonsi) + GL_ARB_ES3_1_compatibility DONE (i965/hsw+, nvc0, radeonsi) GL_ARB_clip_control DONE (i965, nv50, nvc0, r600, radeonsi, llvmpipe, softpipe, swr) GL_ARB_conditional_render_inverted DONE (i965, nv50, nvc0, r600, radeonsi, llvmpipe, softpipe, swr) GL_ARB_cull_distance DONE (i965, nv50, nvc0, llvmpipe, softpipe, swr) diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c index 3ca30d01561..76b585d8a25 100644 --- a/src/mesa/drivers/dri/i965/intel_extensions.c +++ b/src/mesa/drivers/dri/i965/intel_extensions.c @@ -365,7 +365,8 @@ intelInitExtensions(struct gl_context *ctx) if ((brw->gen >= 8 || brw->intelScreen->cmd_parser_version >= 5) && ctx->Const.MaxComputeWorkGroupSize[0] >= 1024) { ctx->Extensions.ARB_compute_shader = true; - ctx->Extensions.ARB_ES3_1_compatibility = brw->gen >= 8; + ctx->Extensions.ARB_ES3_1_compatibility = + brw->gen >= 8 || brw->is_haswell; } if (brw->intelScreen->cmd_parser_version >= 2) -- 2.30.2