Skip to content

formats: readback hotfix for BGR10A2 formats

On GLES the formats B10G10R10A2_UNORM and B10G10R10X2_UNORM are defined like R10G10B10.2_UNORM on desktop GL, which is likely incorrect and interferes with the readback. Using the blit workaround seems to work in these cases, so disable diect readback in these cases.

I didn't add a Fixes tag, because I'm not convinced that this fixes the real culprit of the regressions @hopetech has seen with the GL32 tests and the format readback code.

Merge request reports