Sitelet https://github.com/gpuweb/gpuweb/issues/854
Skip to content

Use brackets for array types #854

Description

@litherum

Right now, WGSL has array<vec4<f32>, 5>. This would be much easier read if it was vec4<f32>[5].

(Bonus points for fvec4[5] if we do #736)

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

    wgslWebGPU Shading Language Issues

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions