wgsl-tooling-wg / wesl-spec

A portable and modular superset of WGSL
BSD 3-Clause "New" or "Revised" License
30 stars 3 forks source link

Inline pathing #37

Open ncthbrt opened 1 month ago

ncthbrt commented 1 month ago

Is there a way to introduce inline pathing to the specification?

Bevy users have become used to this convenience and it'd be quite useful for generic modules, in which you could think of a submodule or submodule alias as a sort of associated type.

stefnotch commented 1 month ago

So in terms of proposals, we've had

And currently I believe we have

Does this cover everything, or did I forget any options? I'll happily write up a more concrete proposal for any of the options.