i965: Enable OES_copy_image (and EXT) on Gen8+ and Baytrail.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 20 May 2016 04:44:59 +0000 (21:44 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 25 May 2016 21:17:29 +0000 (14:17 -0700)
commit0f0f357b77123544ecc6c3cf50ac87b68e798d43
tree9a15faf8c2f5cea551bffc952a6d60bd18b64e71
parent88a630121dbcb65ff7a87ebdeb5d916e977a64f0
i965: Enable OES_copy_image (and EXT) on Gen8+ and Baytrail.

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@whitecape.org>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Chris Forbes <chrisforbes@google.com>
src/mesa/drivers/dri/i965/intel_extensions.c