Hi,
I’m using the latest iPad Pro (13-inch) and I can see that Metal offers an rgb10a2unorm
texture for rendering, but when I render a grey ramp and measure the actual luminance, I get a pattern that I would expect from an 8-bit texture (see below). Before I start ripping apart all my code, is there anything else I need to do to convince iOS to render my texture in 10-bit?
I already tried setting the PixelFormat in my CMetalLayer to rgb10a2unorm
, but that didn’t change anything.
Hello,
Check out Explore HDR rendering with EDR to learn about what's required for supporting wide gamut pixel formats.
For an example using HDR see Processing HDR images with Metal.