summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2016-08-27 14:13:23 -0700
committerJordan Justen <jordan.l.justen@intel.com>2016-08-29 11:23:08 -0700
commit5e76baa2ad261c72f96a3df42ace4773a1c7daa9 (patch)
tree51af7dd71338a6d8385545fc8de3eeff2eaee6b4
parentb1b7e921f82027228b8e6d3e1baa06f4c3508626 (diff)
i965/hsw: Enable ARB_ES3_1_compatibility extension
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
-rw-r--r--docs/features.txt2
-rw-r--r--src/mesa/drivers/dri/i965/intel_extensions.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/docs/features.txt b/docs/features.txt
index 26e8ff70b4..218fa6cb3c 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 3ca30d0156..76b585d8a2 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)