[Mesa-dev] [PATCH 7/7] i965: Enable OES_copy_image (and EXT) on Gen8+ and Baytrail.

Anuj Phogat anuj.phogat at gmail.com
Tue May 24 19:19:13 UTC 2016


On Fri, May 20, 2016 at 6:35 PM, Kenneth Graunke <kenneth at whitecape.org> wrote:
> For now, only enable it on platforms that actually support ETC2.
>
> At this point, Broadwell is only failing 5 (out of 8358) dEQP tests:
> dEQP-GLES31.functional.copy_image.non_compressed.viewclass_32_bits.
>    srgb8_alpha8_r11f_g11f_b10f.renderbuffer_to_texture3d
>    srgb8_alpha8_rgb10_a2ui.renderbuffer_to_cubemap
>    srgb8_alpha8_rgb10_a2ui.renderbuffer_to_renderbuffer
>    srgb8_alpha8_rgb10_a2.renderbuffer_to_texture2d
>    srgb8_alpha8_rgb9_e5.renderbuffer_to_texture3d
>
> These fail with all methods (meta, blorp, blitter, memcpy).
>
> All are blacklisted from the Android mustpass list, which makes me
> wonder whether there's an issue with the tests.  The formats in
> question work with other targets, and the targets in question work
> with other formats...
>
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> ---
>  src/mesa/drivers/dri/i965/intel_extensions.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
> index 878bd84..624bc26 100644
> --- a/src/mesa/drivers/dri/i965/intel_extensions.c
> +++ b/src/mesa/drivers/dri/i965/intel_extensions.c
> @@ -374,6 +374,14 @@ intelInitExtensions(struct gl_context *ctx)
>        ctx->Extensions.ARB_query_buffer_object = true;
>     }
>
> +   if (brw->gen >= 8 || brw->is_baytrail) {
> +      /* For now, we only enable OES_copy_image on platforms that support
> +       * ETC2 natively in hardware.  We would need more hacks to support it
> +       * elsewhere.
> +       */
> +      ctx->Extensions.OES_copy_image = true;
> +   }
> +
>     if (brw->gen >= 8) {
>        ctx->Extensions.ARB_shader_precision = true;
>        ctx->Extensions.ARB_stencil_texturing = true;
> --
> 2.8.2
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Patches 2-7 are:
Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>


More information about the mesa-dev mailing list