diff options
author | Kenneth Graunke <[email protected]> | 2016-04-03 23:03:34 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-05-17 14:27:29 -0700 |
commit | 9a1936d965e92c4b4aa682f96ef63362159f4fce (patch) | |
tree | ccc0727f271a82d0bb0f53c24bc7514e8e5262a5 | |
parent | 1ff212bfd3d533f03f91a18a98cca0a2637c6d79 (diff) |
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 <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
-rw-r--r-- | docs/GL3.txt | 6 | ||||
-rw-r--r-- | 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 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; |