Created attachment 118748 [details]
Mesa advertises support for https://www.khronos.org/registry/gles/extensions/EXT/EXT_texture_format_BGRA8888.txt. This extension adds BGRA_EXT as a valid internal and external format for TexSubImage2D. Also, this extension makes BGRA_EXT format and UNSIGNED_BYTE type a valid combination.
This used to work before but reports as INVALID_OPERATION with 11.2. This was found while trying Mesa 11.2 with Chromium.
are you testing with patches that fixed bug #92265 ?
Check with mesa master. I think I just pushed the fix.
*** This bug has been marked as a duplicate of bug 92265 ***
Will check with the fix