Module: Mesa
Branch: master
Commit: 9a1936d965e92c4b4aa682f96ef63362159f4fce
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9a1936d965e92c4b4aa682f96ef63362159f4fce

Author: Kenneth Graunke <kenn...@whitecape.org>
Date:   Sun Apr  3 23:03:34 2016 -0700

i965: Enable ES 3.2 sample shading extensions.

This enables:
- GL_OES_sample_shading
- GL_OES_sample_variables
- GL_OES_shader_multisample_interpolation

On Gen8, we pass all the CTS tests, and all but 4 of the dEQP-GLES31
tests (dealing with 1x/2x MSAA at half rate sampling).  We believe
those 4 dEQP-GLES31 tests are incorrect.

Signed-off-by: Kenneth Graunke <kenn...@whitecape.org>
Reviewed-by: Jason Ekstrand <ja...@jlekstrand.net>
Reviewed-by: Ian Romanick <ian.d.roman...@intel.com>

---

 docs/GL3.txt                                 | 6 +++---
 src/mesa/drivers/dri/i965/intel_extensions.c | 1 +
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/docs/GL3.txt b/docs/GL3.txt
index 78e4c4e..921a529 100644
--- a/docs/GL3.txt
+++ b/docs/GL3.txt
@@ -262,11 +262,11 @@ GLES3.2, GLSL ES 3.2
   GL_OES_geometry_shader                                started (Marta)
   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 (nvc0, r600, 
radeonsi)
-  GL_OES_sample_variables                               DONE (nvc0, r600, 
radeonsi)
+  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_multisample_interpolation               DONE (nvc0, r600, 
radeonsi)
+  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)
   GL_OES_texture_buffer                                 DONE (i965, radeonsi)
diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c 
b/src/mesa/drivers/dri/i965/intel_extensions.c
index 8b4f685..878bd84 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -311,6 +311,7 @@ intelInitExtensions(struct gl_context *ctx)
       ctx->Extensions.EXT_framebuffer_multisample_blit_scaled = true;
       ctx->Extensions.EXT_transform_feedback = true;
       ctx->Extensions.OES_depth_texture_cube_map = true;
+      ctx->Extensions.OES_sample_variables = true;
 
       ctx->Extensions.ARB_timer_query = brw->intelScreen->hw_has_timestamp;
 

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to