Skip to content

Don't use sRGB swapchain formats - #4778

Merged
doitsujin merged 2 commits into
masterfrom
non-srgb-swapchain
Mar 17, 2025
Merged

doitsujin merged 2 commits into
masterfrom
non-srgb-swapchain

Conversation

@doitsujin

@doitsujin doitsujin commented Mar 17, 2025 •

Copy link
Copy Markdown
Owner

Third-party software like RTSS doesn't handle _SRGB formats properly, so always create swapchains with a plain _UNORM format and use VK_KHR_swapchain_mutable_format in order to keep the _SRGB format internally, which is necessary for the HUD and software cursor to be rendered correctly.

On the other hand, this change may regress SDR games on some HDR setups on Windows because UNORM formats may also get interpreted the wrong way by some drivers.

This may also regress third-party software that isn't aware of swapchain create flags or pNext chains.

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.

1 participant