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

Follow-up: Using the void type #743

Description

@grorg

There are a couple of remaining points from #712

@jdashg wrote:

If void is just for 'nothing returned', we could consider moving towards the return-a-tuple syntax, and use fn foo() -> () {.

@kvark asked:

I don't think we have sufficiently strong evidence that Void needs to be used wider than [return types]

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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions