Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kleinerm
Copy link

This commit makes EGL render tests work for 16 bpc RGB16 UNORM and RGBA16 UNORM formats, by adding suitable new formats to getColorFormat.

The Mesa open-source graphics library wants to add support to its EGL backend for 16 bpc RGB16 and RGBA16 displayable surfaces and pbuffers to allow rendering and displaying > 10 bpc color precision content on suitable display hardware. As VK-GL-CTS is used as part of Mesa's CI pipeline, this causes test failures due to mismatch between hardware rendered test images and the reference images rendered by the software rasterizer. This is because there isn't a case in getColorFormat to map PACK_FMT's with 16 bpc to a suitable TextureFormat.

Adding the needed case handling to getColorFormat does fix this EGL render test failure.

Affects:
dEQP-EGL.functional.render.*

This commit makes EGL render tests work for 16 bpc RGB16 UNORM and
RGBA16 UNORM formats, by adding suitable new formats to getColorFormat.

The Mesa open-source graphics library wants to add support to its EGL
backend for 16 bpc RGB16 and RGBA16 displayable surfaces and pbuffers
to allow rendering and displaying > 10 bpc color precision content on
suitable display hardware. As VK-GL-CTS is used as part of Mesa's CI
pipeline, this causes test failures due to mismatch between hardware
rendered test images and the reference images rendered by the software
rasterizer. This is because there isn't a case in getColorFormat to
map PACK_FMT's with 16 bpc to a suitable TextureFormat.

Adding the needed case handling to getColorFormat does fix this EGL
render test failure.

Affects:
dEQP-EGL.functional.render.*

Signed-off-by: Mario Kleiner <[email protected]>
@CLAassistant
Copy link

CLAassistant commented Jan 14, 2026

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants