[Mesa-dev] [PATCH v2 2/3] st/mesa: Fall back to R8G8B8A8_SRGB for ETC2

Marek Olšák maraeo at gmail.com
Fri Jun 29 21:10:57 UTC 2018


On Fri, Jun 22, 2018 at 9:59 AM, Tomeu Vizoso
<tomeu.vizoso at collabora.com> wrote:
> If the driver doesn't support PIPE_FORMAT_B8G8R8A8_SRGB, fall back to
> PIPE_FORMAT_R8G8B8A8_SRGB.
>
> Drivers such as Virgl will have a hard time supporting
> PIPE_FORMAT_B8G8R8A8_SRGB when the host runs GLES, as GL_ABGR isn't as
> well suported there.

B8G8R8A8 is GL_BGRA.

Marek


More information about the mesa-dev mailing list