i965: Enable ES 3.2 sample shading extensions.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 4 Apr 2016 06:03:34 +0000 (23:03 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 17 May 2016 21:27:29 +0000 (14:27 -0700)
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 <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
docs/GL3.txt
src/mesa/drivers/dri/i965/intel_extensions.c

index 78e4c4e1ecfccbfb85c6e4cd05d82b26de9f85e2..921a52953e4e2f23be95ded0b8cc37d4ee4d8e1f 100644 (file)
@@ -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)
index 8b4f6853bf73879e6d14ab8ea6c2532d5b9e9365..878bd84fea3c9ef531da737a9aae1348a4bc7228 100644 (file)
@@ -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;