10-bit support in iPad Pro

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.

10-bit support in iPad Pro
 
 
Q