KhronosGroup / KTX-Software

KTX (Khronos Texture) Library and Tools
Other
854 stars 226 forks source link

createDFDPackedPadded creates DFD with bits and padding in the wrong order #857

Closed MarkCallow closed 6 months ago

MarkCallow commented 6 months ago

All padded Vulkan formats have padding in the low bits and data in the high bits. The DFD created by createDFDPackedPadded has them in the reverse order in at least the little-endian case. I have not checked the big-endian code.