Open
Description
Vulkan 1.1 has introduced multi-planar formats that need special layout. Namely, they consist of 1-3 planes that don't have to have the same dimensions across components. For example:
VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16
Each plane is a one-component image with pixel data stored in the top 10 bits of each 16-bit word, bottom 6 bits are set to 0.
- Plane 0: G component, full resolution
- Plane 1: B component, half horizontal and half vertical resolution
- Plane 2: R component, half horizontal and half vertical resolution
KTX2 must do one of:
- disallow such formats;
- require a specific layout for storing multi-plane images and document it;
- explicitly delegate specification of multi-plane layout to DFD.
Activity