[Mesa-dev] [PATCH 06/17] i965: Enable GL_OES_geometry_shader on Gen8+

Ian Romanick idr at freedesktop.org
Wed Aug 24 22:12:32 UTC 2016


From: Ian Romanick <ian.d.romanick at intel.com>

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 at intel.com>
---
 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 c769f69..824b654 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 5181fa0..ee6b171 100644
--- a/docs/relnotes/12.1.0.html
+++ b/docs/relnotes/12.1.0.html
@@ -53,6 +53,7 @@ Note: some of the new features are only available with certain drivers.
 <li>GL_EXT_window_rectangles on nv50, nvc0</li>
 <li>GL_KHR_texture_compression_astc_sliced_3d on i965</li>
 <li>GL_OES_copy_image on nv50, nvc0, r600, radeonsi, softpipe, llvmpipe</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 98c887e..600e699 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -388,6 +388,7 @@ intelInitExtensions(struct gl_context *ctx)
       ctx->Extensions.ARB_texture_stencil8 = 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.5.5



More information about the mesa-dev mailing list