How to render HDR with Vulkan on iPadOS

You may also need to set the wantsExtendedDynamicRangeContent property on your CAMetalLayer to YES/true.