KTX-Specification icon indicating copy to clipboard operation
KTX-Specification copied to clipboard

KTX file format source

Results 12 KTX-Specification issues
Sort by recently updated
recently updated
newest added

The spec says: > If `vkFormat` is one of the `*_SRGB{,_*}` formats then `transferFunction` must be `KHR_DF_TRANSFER_SRGB` and vice-versa. For all other `vkFormat` values, except `VK_FORMAT_UNDEFINED`, transfer_function must be `KHR_DF_TRANSFER_LINEAR`....

Since KTX2 already has swizzling metadata, it's fair to explore what other runtime properties may need to be stored in the same way (using optional metadata). Keep in mind that...

future version

This would allow to automatically generate parsers for them for multiple languages.

help wanted

KTX and KTX2 store mips at levels (reversed from one another). For arrays, cubes, etc the spec language of mip level and a level of mips levels gets a bit...

The KTX v2 spec supports vanilla zlib / deflate and Zstandard schemes. On their own, they do not work well with raw pixel data, especially of floating-point formats. One option...

The current layout of BasisLZ Global Data prevents eager decoder initialization because its variable-length `imageDescs` array is located in the middle and depends on the prior knowledge of the whole...

There's a use for RGBE textures. What VkFormat should we use: RGBA_UNORM, RGBA_SNORM or UNKNOWN? The DFD can identifiy that the 4th channel is an exponent in the same way...

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...

clarification

Although most (if not all) of them do not have direct equivalents in other APIs, the JSON file should still provide type size and block dimensions for them. ``` VK_FORMAT_G8B8G8R8_422_UNORM...

The [`VK_NV_optical_flow` ](https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_NV_optical_flow.html) extension adds a new `VK_FORMAT_R16G16_S10_5_NV` format: > `VK_FORMAT_R16G16_S10_5_NV` specifies a two-component, fixed-point format where most significant bit specifies the sign bit, next 10 bits specify the integer...