KhronosGroup / KTX-Specification

KTX file format source
Other
69 stars 12 forks source link

Clarify compressed formats for 1D textures #167

Closed lexaknyazev closed 2 years ago

lexaknyazev commented 2 years ago

From the OpenGL specs:

An INVALID_ENUM error is generated by CompressedTexImage1D if internalformat is one of the specific compressed formats.

In Vulkan, there's no explicit prohibition but none of the Mandatory format support tables for the compressed formats include VK_IMAGE_TYPE_1D.

The KTX spec should either disallow this case or define how to handle it.

MarkCallow commented 2 years ago

We should disallow it.