summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2016-05-23 12:45:09 -0700
committerIan Romanick <ian.d.romanick@intel.com>2016-08-26 15:03:15 -0700
commit63af53dcd31cea89e5c8905e2a4898a5cb3d9ed4 (patch)
treea94cdbbfb698c9d4771a6ab985cf8a040433e7ab
parent259fc505454ea6a67aeacf6cdebf1398d9947759 (diff)
i965: Enable GL_OES_geometry_shader on Gen8+
Gen7 can get this extension (and GL_OES_shader_io_blocks) as soon as the rest of OpenGL ES 3.1 is enabled. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
-rw-r--r--docs/features.txt2
-rw-r--r--docs/relnotes/12.1.0.html1
-rw-r--r--src/mesa/drivers/dri/i965/intel_extensions.c1
3 files changed, 3 insertions, 1 deletions
diff --git a/docs/features.txt b/docs/features.txt
index 21982c7ccb..fb10ba7e80 100644
--- a/docs/features.txt
+++ b/docs/features.txt
@@ -260,7 +260,7 @@ GLES3.2, GLSL ES 3.2:
GL_OES_copy_image DONE (all drivers)
GL_OES_draw_buffers_indexed DONE (all drivers that support GL_ARB_draw_buffers_blend)
GL_OES_draw_elements_base_vertex DONE (all drivers)
- GL_OES_geometry_shader started (idr)
+ GL_OES_geometry_shader DONE (i965/gen8+)
GL_OES_gpu_shader5 DONE (all drivers that support GL_ARB_gpu_shader5)
GL_OES_primitive_bounding_box not started
GL_OES_sample_shading DONE (i965, nvc0, r600, radeonsi)
diff --git a/docs/relnotes/12.1.0.html b/docs/relnotes/12.1.0.html
index f744864c06..d14906661c 100644
--- a/docs/relnotes/12.1.0.html
+++ b/docs/relnotes/12.1.0.html
@@ -57,6 +57,7 @@ Note: some of the new features are only available with certain drivers.
<li>GL_ARB_texture_stencil8 on i965/hsw</li>
<li>OpenGL ES 3.1 on i965/hsw</li>
<li>GL_KHR_blend_equation_advanced on i965</li>
+<li>GL_OES_geometry_shader on i965/gen8+.</li>
</ul>
<h2>Bug fixes</h2>
diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
index 15009b08ca..c0223a1f8f 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -398,6 +398,7 @@ intelInitExtensions(struct gl_context *ctx)
ctx->Extensions.ARB_shader_precision = true;
ctx->Extensions.ARB_gpu_shader_fp64 = true;
ctx->Extensions.ARB_vertex_attrib_64bit = true;
+ ctx->Extensions.OES_geometry_shader = true;
ctx->Extensions.OES_shader_io_blocks = true;
}