Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposed Imports.md update #101

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Proposed Imports.md update #101

wants to merge 1 commit into from

Conversation

stefnotch
Copy link
Collaborator

This is one way of speccing out the inline usage and addressing my "what if a predeclared item gets added that conflicts with a package" concern.

Thinking forward: If WESL were to become a WGSL standard, then the WGSL authors would like to continue being able to add predeclared items.
This makes sure that that remains the case. The alternative is that WGSL cannot add predeclared items, because they'd break existing code.

@stefnotch stefnotch marked this pull request as draft March 1, 2025 11:48
@stefnotch
Copy link
Collaborator Author

TODO: Change this "- ident refers to an identifier that is in scope. If there is none. it falls back to a package." to only apply to inline usage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

1 participant