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

[glsl-out] Write constant sized array type for uniform #1768

Merged
merged 3 commits into from
Mar 12, 2022

Conversation

hatoo
Copy link
Contributor

@hatoo hatoo commented Mar 9, 2022

resolves #1747

Writing wgpu Shadow Example as GLSL failed because glsl-out doesn't allow constant sized array type for uniform.

Hi, I'm interested in this project and I believe this PR resolve an issue. But I'm new to this project, sorry if the PR is nonsense.

This PR

  • Fixes glsl-out to allow constant sized array type for uniform global.
  • Update test case from wgpu's shadow example.

Copy link
Member

@kvark kvark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the fix!

tests/in/shadow.wgsl Show resolved Hide resolved
This entry point isn't useful for testing.
@kvark kvark enabled auto-merge (rebase) March 12, 2022 04:11
@kvark kvark merged commit 7f4c017 into gfx-rs:master Mar 12, 2022
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.

Latest wgpu Shadow Example Causes GLSL backend to error
2 participants