On Wed Jul 9 10:22:03 2025 +0000, Nikolay Sivov wrote:
Do we actually need P010 format at some point, and why if we do? Why can't we simply use BGRA always and then copy to output format texture that user asked for? What does it mean that session doesn't support it? I don't think session really cares about what's in sample buffers. Calling this "uses_10bit" is too detailed, what it means really is "not-equal-to-output_format", right?
The topology loader fails to resolve the topology if output uses `R10G10B10A2` because there is no converter transform for it and decoders have no support either.
If the texture goes through any 8-bit format then the final `R10G10B10A2` texture really has only 8 bits of depth. Decoders rarely support higher, like `R16G16B16A16`, so one of the specialised 10-bit formats like `P010` makes sense. It's not a high priority though, since 10-bit support has only just come up for the first time.