[Mesa-dev] [PATCH 10/10] i965: Enable GL_OES_shader_io_blocks

Ian Romanick idr at freedesktop.org
Fri May 20 07:26:05 UTC 2016


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

Only one dEQP io_blocks test fails.  This test fails for the same reason
as the match_different_member_struct_names test in a previous commit.

dEQP-GLES31.functional.separate_shader.validation.io_blocks.match_different_member_struct_names

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
 docs/GL3.txt                                 | 2 +-
 src/mesa/drivers/dri/i965/intel_extensions.c | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/GL3.txt b/docs/GL3.txt
index 320dfb9..4adfddd 100644
--- a/docs/GL3.txt
+++ b/docs/GL3.txt
@@ -266,7 +266,7 @@ GLES3.2, GLSL ES 3.2:
   GL_OES_sample_shading                                 DONE (i965, nvc0, r600, radeonsi)
   GL_OES_sample_variables                               DONE (i965, nvc0, r600, radeonsi)
   GL_OES_shader_image_atomic                            DONE (all drivers that support GL_ARB_shader_image_load_store)
-  GL_OES_shader_io_blocks                               started (idr)
+  GL_OES_shader_io_blocks                               DONE (i965)
   GL_OES_shader_multisample_interpolation               DONE (i965, nvc0, r600, radeonsi)
   GL_OES_tessellation_shader                            not started (based on GL_ARB_tessellation_shader, which is done for some drivers)
   GL_OES_texture_border_clamp                           DONE (all drivers)
diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
index 0b442c8..04576ea 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -371,6 +371,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_shader_io_blocks = true;
    }
 
    if (brw->gen >= 9) {
-- 
2.5.5



More information about the mesa-dev mailing list