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

Should we disallow creating views that only includes COPY_* usages? #5317

@beaufortfrancois

Description

@beaufortfrancois

During the implementation of texture component swizzle in Dawn, we observed that the current proposal allows creating a texture view with a swizzle that only includes COPY_* usages.

Since a view inherits its texture's usages—and creating a view with only COPY_SRC is already possible—should we validate against creating a swizzled view that is limited to only COPY_* usages? Or shall we prevent views (not just swizzled views) to only include COPY_* usages?

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiWebGPU APIapi resolvedResolved - waiting for a change to the API specificationneeds-cts-issueThis change requires tests (or would need tests if accepted), but may not have a CTS issue filed yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions