From: Kenneth Graunke Date: Mon, 4 Apr 2016 06:03:34 +0000 (-0700) Subject: i965: Enable ES 3.2 sample shading extensions. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9a1936d965e92c4b4aa682f96ef63362159f4fce;p=mesa.git 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 Reviewed-by: Jason Ekstrand Reviewed-by: Ian Romanick --- diff --git a/docs/GL3.txt b/docs/GL3.txt index 78e4c4e1ecf..921a52953e4 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 8b4f6853bf7..878bd84fea3 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;