这是indexloc提供的服务,不要输入任何密码
Skip to content

my2DArrayTexture.createView() doesn't create a full view #2684

@Kangz

Description

@Kangz

The steps for defaulting the GPUTextureViewDescriptor for a 2D array texture first default dimension to 2d and then default the arrayLayerCount to 1. This is quite unexpected since .createView() seems like it would create a full view of a texture.

Looking at the history of that spec section, it seems that the change comes from this comment thread, that doesn't call out this change of behavior explicitly. @kainino0x @toji, this seems like a bug, can you confirm?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions