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

Include the glsl global name in entrypoint arguments. #5418

Merged
merged 3 commits into from
Mar 28, 2024

Conversation

LegNeato
Copy link
Contributor

@LegNeato LegNeato commented Mar 20, 2024

This fixes #5422.

This partially addresses #5417.

@LegNeato LegNeato requested a review from a team March 20, 2024 16:35
@teoxoy
Copy link
Member

teoxoy commented Mar 21, 2024

This won't address #5417 in the general case. See #5417 (comment).

@LegNeato
Copy link
Contributor Author

@teoxoy Please see the latest comments in #5417 (comment). I think one can argue this is a bug in the way the glsl FE synthesizes EntryPoint FunctionArguments

@teoxoy
Copy link
Member

teoxoy commented Mar 22, 2024

The test snapshots have to be regenerated.

@LegNeato LegNeato force-pushed the glsl_entry_arg_name branch from fd0e01f to 01d9ce1 Compare March 22, 2024 15:32
@LegNeato
Copy link
Contributor Author

The test snapshots have to be regenerated.

Done

@LegNeato LegNeato force-pushed the glsl_entry_arg_name branch from 01d9ce1 to 9cf694b Compare March 22, 2024 15:56
@teoxoy teoxoy merged commit 0f4839c into gfx-rs:trunk Mar 28, 2024
27 checks passed
@LegNeato LegNeato deleted the glsl_entry_arg_name branch March 28, 2024 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BuiltIns / Entrypoint input variables / FunctionArgs do not have a name in glsl-in
2 participants