formats: Add support for EXT_texture_sRGB_R8 if host supports it.
This is a GLES only extension and the format is also only supported on a GLES host.
Enables and passes on a host that supports it:
dEQP-GLES31.functional.texture.filtering.cube_array.formats.sr8*
dEQP-GLES31.functional.srgb_texture_decode.skip_decode.sr8.*
Closes: #49 (closed)
Signed-off-by: Gert Wollny gert.wollny@collabora.com
The mesa patches have landed and this series was tested on r600.
One additional note though: Since sRGB_R8 is a GLES extension only, virgl will only expose it when run on a GLES host (that supports it).
Edited by Gert Wollny