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

Support WASM (WebGL backend) by increasing the UniformBuffer size to 16 #58

Closed
Oberdiah opened this issue Mar 17, 2022 · 1 comment
Closed

Comments

@Oberdiah
Copy link

Currently egui_wgpu breaks when running on Firefox or Chrome using the wgpu WebGL backend, because it has a minimum buffer size restriction of 16.

Presumably it could be fixed by padding UniformBuffer with some extra zeroes, but I've not looked into it much beyond that.

@hasenbanck
Copy link
Owner

Should be fixed on master.

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

2 participants