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

[naga] Forbid cycles between global expressions and types. #6800

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Conversation

jimblandy
Copy link
Member

Update valid::handles to traverse Module::types and
Module::global_expressions in tandem, to ensure that the types and
expressions are acyclic.

Fixes #6793.

@jimblandy jimblandy added area: validation Issues related to validation, diagnostics, and error handling naga Shader Translator area: naga middle-end Intermediate representation labels Dec 21, 2024
@jimblandy jimblandy requested a review from a team as a code owner December 21, 2024 18:00
Update `valid::handles` to traverse `Module::types` and
`Module::global_expressions` in tandem, to ensure that the types and
expressions are acyclic.

Fixes gfx-rs#6793.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: naga middle-end Intermediate representation area: validation Issues related to validation, diagnostics, and error handling naga Shader Translator
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[naga] PendingArraySize::Expression handle not validated
1 participant