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

Panic in WASM #46

Open
oscrim opened this issue Jan 31, 2024 · 1 comment
Open

Panic in WASM #46

oscrim opened this issue Jan 31, 2024 · 1 comment

Comments

@oscrim
Copy link
Contributor

oscrim commented Jan 31, 2024

Rev: 5897bb6

When running the example in WASM it panics with the following error message.

panicked at 'wgpu error: Validation Error

Caused by:
    In a RenderPass
      note: encoder = `<CommandBuffer-(0, 1, Gl)>`
    In a set_push_constant command
    Provided push constant is for stage(s) ShaderStages(VERTEX), however the pipeline layout has no push constant range for the stage(s) ShaderStages(VERTEX)

@oscrim
Copy link
Contributor Author

oscrim commented Feb 1, 2024

With this it still runs

settings: InfiniteGridSettings {
    shadow_color: None,
    ..Default::default()
},

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

No branches or pull requests

1 participant