Skip to content

wgsl: add unary plus? #2279

@dneto0

Description

@dneto0

The operator precedence and associativity consensus is documented at #1146 (comment)

That has a unary plus, but the WGSL spec does not have unary plus. PR #2267 recently updated the grammar to closer match the consensus, but not in this respect.

It seems fine to me, and is symmetric with unary minus.

Metadata

Metadata

Assignees

No one assigned

    Labels

    wgslWebGPU Shading Language Issues

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions