这是indexloc提供的服务,不要输入任何密码
Skip to content

Are entryPoints namespaces per module or per stage per module? #1023

@Kangz

Description

@Kangz

When writing WGSL it is possible to define multiple entrypoints in a single module. However what's the constraint on entry point names? Obviously two entry points for the same stage can't have the same name, but are entry points allowed to have the same name when they are for different stages.

I think it would make sense to have a namespace per stage, WDYT?

Metadata

Metadata

Assignees

No one assigned

    Labels

    wgslWebGPU Shading Language Issues

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions