From: Jordan Justen Date: Sat, 27 Aug 2016 21:13:23 +0000 (-0700) Subject: i965/hsw: Enable ARB_ES3_1_compatibility extension X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5e76baa2ad261c72f96a3df42ace4773a1c7daa9;p=mesa.git i965/hsw: Enable ARB_ES3_1_compatibility extension Signed-off-by: Jordan Justen Acked-by: Kenneth Graunke Reviewed-by: Samuel Iglesias Gonsálvez --- 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)