Skip to content

skipIfTextureFormatNotUsableAsStorageTexture does not handle bgra8unorm well #3847

@alan-baker

Description

@alan-baker

To be used as storage texture, bgra8unorm requires the feature bgra8unorm-storage. This necessitates selecting an appropriate device. However, skipIfTextureFormatNotUsableAsStorageTexture does not consider that feature and filters out the format currently.

The various queries should be updated to take a device so the GPUFeature can be checked. Currently test logic requires not checking the format query if bgra8unorm is used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions