Skip to content

bevy_image ktx2 reorders data instead of using wgpu MipXLayerYFaceZ #19140

@atlv24

Description

@atlv24

theres a line in bevy_render/src/texture/gpu_image.rs

// TODO: Is this correct? Do we need to use `MipMajor` if it's a ktx2 file?

Its only correct because bevy_image manually reorders ktx2 data from MipXLayerYFaceZ to LayerYFaceZMipX. This is unnecessary and we should just use the wgpu enum for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorS-Needs-ReviewNeeds reviewer attention (from anyone!) to move forward

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions