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

[wgsl] Design Criteria for WGSL #586

@dj2

Description

@dj2

As we start to design more of WGSL I think we should lay out criteria for the design of the language and how we decide what is included. As a start, the criteria we've been working with are:

  • text based language
  • writable by programmers
  • cost free bijection [wgsl] Define what bijective to SPIR-V means #582 between WebGPU SPIR-V and WGSL and back
  • The bijection is simple and efficient, doesn't require an optimizing WGSL compiler
  • Directly represents structured control flow
  • Language is as small as possible to represent what we need
  • The burden is always to show why we must add something

Other considerations we should add to the list?

Metadata

Metadata

Assignees

No one assigned

    Labels

    wgslWebGPU Shading Language Issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions