But isn't that just for the cases when SRGB is actually used on these formats, which appears to be quite a rare case? If that's still a problem maybe we can advertise SRGB reads for Nvidia only? Frankly I don't yet see any other way to fix that without some game specific workarounds. And for that particular game only _R5G6B5 is required, I don't have any real examples for the other formats the patches concern.
On 1/21/20 19:27, Henri Verbeet wrote:
It's a little unfortunate to use GL_SRGB8 for R5G6B5 because it implies conversions on uploads and downloads, as well as doubling GPU memory usage for the affected formats. I don't think that's necessarily prohibitive, but if there's a reasonable way to avoid supporting sRGB reads on these formats, I think that would be preferred.