Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

[wgsl-in] no error for duplicated type definition #2076

@Wumpf

Description

@Wumpf

given a wgsl shader containing

struct Uniforms {
    thing:f32,
}
struct Uniforms {
    thing2:f32,
}

naga should issue an error

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: front-endInput formats for conversionkind: bugSomething isn't workinglang: WGSLWebGPU shading language

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions