Skip to content

Assertion failed: (i < m_size), function operator[], file basisu_containers.h, line 1752 #440

@MarkCallow

Description

@MarkCallow

This assert happens with certain input data in v1_60 and v2_0_2 whenever -hdr_6x6i_level is greater than 7. It does not happen in v2_1_0.

Here is a .exr file that triggers it.

R16G16B16_SFLOAT_2D_8x8.exr.zip

The command I am using is

bin/basisu -hdr_6x6i_level 8 R16G16B16_SFLOAT_2D_8x8.exr

One of our CI tests triggers this assert with the fix for KhronosGroup/KTX-Software#1146, as the value specified for hdr_6x6i_level is now being passed to the encoder. This can be seen in the build logs for PR KhronosGroup/KTX-Software#1149

Please inform us what to backport to v1_60 to fix this as we prefer not to update to v2.1 so close to our planned HDR release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions