Skip to content

Clarify GPUBufferUsage validation rules #426

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.

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

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions