Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
071d6db
Add glob imports
stefnotch Apr 19, 2026
0e146af
Update glob imports
stefnotch Apr 22, 2026
3232a88
revise around @wildcardable, more cleanups
mighdoll May 2, 2026
ae56930
move wildcardable motivation and advanced mode higher
mighdoll May 6, 2026
216457c
move builtin_shadow to client side warning
mighdoll May 6, 2026
8fcb4a7
rm forward compatibility section
mighdoll May 6, 2026
f4940e2
no waffling about library publish tool expansion
mighdoll May 6, 2026
a1ec6c8
change wgsl_test module to 'expect'
mighdoll May 6, 2026
b758d95
add supressible diagnostics section
mighdoll May 6, 2026
abfb0e7
fix outline level for scope precedence
mighdoll May 6, 2026
81e06f4
restore builtin_shadow publisher side check
mighdoll May 6, 2026
7d4bfd0
clarify wildcard clash case
mighdoll May 6, 2026
9e46adf
clarify precedence means wildcard updates are also safe
mighdoll May 6, 2026
2a21505
switch to `@wildcardable module;` syntax
mighdoll May 10, 2026
1a46cd8
add ImportsDesign explainer
mighdoll May 10, 2026
b58f43b
direct imports are more traceable
mighdoll May 12, 2026
983259d
clarify at most one 'module' per file
mighdoll May 12, 2026
eb455ad
rm client side builtin_shadow for separate PR
mighdoll May 12, 2026
fa9e837
clarify where wildcard_shadow appears
mighdoll May 13, 2026
946d64d
clarify error location in table
mighdoll May 13, 2026
ca3c45b
@! syntax for module attributes
mighdoll Jun 25, 2026
66df0b7
revise based on PR feedback
mighdoll Jul 2, 2026
78ff4d1
rm some zero width characters
mighdoll Jul 2, 2026
cb61e0c
note prohibiting import *;
mighdoll Jul 2, 2026
9feb566
revise based on latest k2d222 comments / agent review
mighdoll Jul 6, 2026
5ea9db4
direct import resolution per #193
mighdoll Jul 6, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
8 changes: 6 additions & 2 deletions GLOSSARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,13 @@
* Type aliases
* [Const declarations, override declarations](https://www.w3.org/TR/WGSL/#value-decls)
* [Var declarations](https://www.w3.org/TR/WGSL/#var-decls)
* **Module**: A single WESL or WGSL file.
* **Module**: A unit of WESL or WGSL code with its own top-level scope, stored in a single module source.
* **Module Source**: The stored text of a module, typically a WESL or WGSL file.
* **Root Module**: The WESL module from which translation starts. A single project can have many root modules.
* **Module Path**: Hierarchical address of a module file or partial path, akin to a filesystem path
* **Declaration Path**: A fully qualified `::`-separated path whose final segment names a declared item.
* **Module Path**: A `::`-separated path naming a module; equivalently, a declaration path minus its final segment. See [Imports](Imports.md#resolving-a-declaration-path).
* **Import Path**: The `::`-separated path written in an import statement. An import collection (`{}`) flattens into separate imports, each with its own import path.
* **Package Module**: The top-level module of a package, stored as the optional file `package.wesl` in the package root. A module path consisting only of `package` or a bare package name refers to the package module.
* **Side effects**: WESL/WGSL shader code that is visible to host code (e.g. in Rust or JavaScript).
Changes to that shader code have the side effect of changing the host interface to the shader.
* Things that are specified when [creating a WGSL pipeline](https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createRenderPipeline#fragment_object_structure)
Expand Down
Loading
Loading