- 
                Notifications
    You must be signed in to change notification settings 
- Fork 12
Open
Description
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 KTX configuration. We should revise it in the future revisions of BasisLZ.
By relocating imageDescs to the end of supercompressionGlobalData section, loaders would be able to do the following:
- Upon encountering sgdByteOffset, immediately jump (e.g. using a separate thread) to it.
- Use the contiguous block of data that would start there to initialize BasisLZ endpoints/selectors/tables even before the levels/faces/etc configuration is known.
Metadata
Metadata
Assignees
Labels
No labels