Skip to content

Texture decoder ignores zLayer for array textures #406

Description

@NotOfficer

The public texture Decode/DecodeMip overloads accept a zLayer, but the value is not forwarded to DecodeTexture.

As a result, requesting a non-zero layer from array or cube-array textures does not decode the requested slice.

Expected: forward the selected layer through the decode path and return that layer's pixels.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions