From 63af53dcd31cea89e5c8905e2a4898a5cb3d9ed4 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Mon, 23 May 2016 12:45:09 -0700 Subject: [PATCH] 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 Reviewed-by: Ilia Mirkin Reviewed-by: Kenneth Graunke --- docs/features.txt | 2 +- docs/relnotes/12.1.0.html | 1 + src/mesa/drivers/dri/i965/intel_extensions.c | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/features.txt b/docs/features.txt index 21982c7ccba..fb10ba7e80d 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 f744864c06d..d14906661c8 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.
  • GL_ARB_texture_stencil8 on i965/hsw
  • OpenGL ES 3.1 on i965/hsw
  • GL_KHR_blend_equation_advanced on i965
  • +
  • GL_OES_geometry_shader on i965/gen8+.
  • Bug fixes

    diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c index 15009b08ca8..c0223a1f8f7 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; } -- 2.30.2