Skip to content

reflect WESL to JSON #164

@mighdoll

Description

@mighdoll

The WGSL committee suggested at their 2025.04.01 meeting that they like the idea of reflection in browser core WebGPU, someday.. They don't quite know what users would want for reflection and are interested in WESL exploring the issue.

They imagine a mechanism where WebGPU could report some language neutral JSON about WGSL elements. Libraries could then use the JSON to construct host language specific bindings (for TypeScript/TypeGPU for example).

Our current reflection experiments go direct to host application specific libraries. Can we find a common JSON layer and then go from there to a application specific bindings?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions