You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've also tried some of the 'native' HDR swapchain formats like HDR10_ST2084 with A2R10G10B10_UNORM_PACKED but that looked all kinds of wrong. This seems to happen on both 8 and 10 bit output formats.
I'm not quite deep enough on swapchains to say what is correct here. It's odd that using B8G8R8A8_SRGB doesn't have the WMD do some kind of SDR conversion. wgpu might have issues with this as well gfx-rs/wgpu#4842, not sure. Maybe sRGB + Vulkan + Windows + HDR is just broken, it's strange that a non HDR format is affected at all.
The text was updated successfully, but these errors were encountered:
ArthurBrussee
changed the title
HDR swapchain on Vulkan is wrong
HDR swapchains on Vulkan
Aug 14, 2024
ArthurBrussee
changed the title
HDR swapchains on Vulkan
HDR swapchains on Vulkan + Windows
Aug 14, 2024
I wonder if this is related to it being a Vulkan application, which in HDR mode should specify HDR metadata. Would be interesting to know if it affects SDR Vulkan games too.
Hiya,
Zed on Windows is looking rather washed out when using HDR: zed-industries/zed#16182
I think this is due to how blade creates the swapchain. In vulkan/init.rs, it checks supported_formats.rs for
This is not reported as a supproted format in HDR (even though it is?), so it falls back to
Closest I have gotten Zed to look good is using the whole hog 16 bit float textures, still looks a bit dark though:
I've also tried some of the 'native' HDR swapchain formats like
HDR10_ST2084
withA2R10G10B10_UNORM_PACKED
but that looked all kinds of wrong. This seems to happen on both 8 and 10 bit output formats.I'm not quite deep enough on swapchains to say what is correct here. It's odd that using B8G8R8A8_SRGB doesn't have the WMD do some kind of SDR conversion. wgpu might have issues with this as well gfx-rs/wgpu#4842, not sure. Maybe sRGB + Vulkan + Windows + HDR is just broken, it's strange that a non HDR format is affected at all.
The text was updated successfully, but these errors were encountered: