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

Clarify GPUBufferUsage validation rules #426

@beaufortfrancois

Description

@beaufortfrancois

Chromium WebGPU implementation forces two rules for GPUBufferUsage:

  • Only COPY_SRC is allowed with MAP_WRITE
  • Only COPY_DST is allowed with MAP_READ

Is that a WebGPU spec requirement?
FYI I don't see this enforced in Safari WebGPU implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions