Skip to content

Naga's WGSL backend should avoid emitting definitions for special types #8026

@jimblandy

Description

@jimblandy

Per #7826 (comment), naga::back::wgsl::Writer::is_builtin_wgsl_struct should probably return true for all types in SpecialTypes, not just those in SpecialTypes::predeclared_types, to avoid generating declarations for types that WGSL pre-defines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: naga back-endOutputs of naga shader conversionlang: WGSLWebGPU Shading LanguagenagaShader Translatortype: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions