[PATCHv2] etnaviv: Add support for ETC2 texture compression
Wladimir
laanwj at gmail.com
Thu Jul 6 14:01:28 UTC 2017
Hello,
On Tue, Jun 27, 2017 at 5:47 PM, Christian Gmeiner
<christian.gmeiner at gmail.com> wrote:
> 2017-06-27 17:39 GMT+02:00 Wladimir J. van der Laan <laanwj at gmail.com>:
>> On Tue, Jun 27, 2017 at 05:31:52PM +0200, Wladimir J. van der Laan wrote:
>>
>>> > sure if we should advertise the broken formats (on gpus with HALTI0).
>>
>> FWIW, I did check on both GC2000 and GC3000, so HALTI0 should be ok.
>>
>
> Great - could you try piglit's oes_compressed_etc2_texture-miptree_gles3?
Finally got around to installing an Ubuntu rootfs on the units and
getting piglit to compile and run in gbm mode.
GC2000:
spec/!opengl es 3.0/oes_compressed_etc2_texture-miptree_gles3 r11: pass
spec/!opengl es 3.0/oes_compressed_etc2_texture-miptree_gles3 rg11: pass
spec/!opengl es 3.0/oes_compressed_etc2_texture-miptree_gles3 rgb8: fail
spec/!opengl es 3.0/oes_compressed_etc2_texture-miptree_gles3
rgb8-punchthrough-alpha1: fail
spec/!opengl es 3.0/oes_compressed_etc2_texture-miptree_gles3 rgba8: fail
spec/!opengl es 3.0/oes_compressed_etc2_texture-miptree_gles3 srgb8: fail
spec/!opengl es 3.0/oes_compressed_etc2_texture-miptree_gles3 srgb8-alpha8: fail
spec/!opengl es 3.0/oes_compressed_etc2_texture-miptree_gles3
srgb8-punchthrough-alpha1: fail
GC3000:
spec/!opengl es 3.0/oes_compressed_etc2_texture-miptree_gles3 r11: pass
spec/!opengl es 3.0/oes_compressed_etc2_texture-miptree_gles3 rg11: pass
spec/!opengl es 3.0/oes_compressed_etc2_texture-miptree_gles3 rgb8: pass
spec/!opengl es 3.0/oes_compressed_etc2_texture-miptree_gles3
rgb8-punchthrough-alpha1: pass
spec/!opengl es 3.0/oes_compressed_etc2_texture-miptree_gles3 rgba8: pass
spec/!opengl es 3.0/oes_compressed_etc2_texture-miptree_gles3 srgb8: fail
spec/!opengl es 3.0/oes_compressed_etc2_texture-miptree_gles3 srgb8-alpha8: fail
spec/!opengl es 3.0/oes_compressed_etc2_texture-miptree_gles3
srgb8-punchthrough-alpha1: fail
That the SRGB formats fail is expected (they're simply using RGB, this
is mentioned in the patch message), the discrepancy between
gc2000/gc3000 on RGB(A) is interesting, though, I'll look into it.
Wladimir
More information about the etnaviv
mailing list