Re: [Mesa-dev] [PATCH] mesa/glformats: Bypass resolving effective internal format for GL_BGRA

2016-02-15 Thread Eduardo Lima Mitev
Anyone willing to take a look? Thanks! Eduardo On 02/10/2016 02:57 PM, Eduardo Lima Mitev wrote: > Currently, when validating format and type on ES3, we treat GL_BGRA as a > special case when obtaining the effective internal format from the format > and type. This is because

[Mesa-dev] [PATCH] mesa/glformats: Bypass resolving effective internal format for GL_BGRA

2016-02-10 Thread Eduardo Lima Mitev
Currently, when validating format and type on ES3, we treat GL_BGRA as a special case when obtaining the effective internal format from the format and type. This is because _mesa_base_tex_format() returns GL_RGBA as base format for GL_BGRA (and quite a few code paths depend on this behavior).