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

An error occorred when using wgsl #59

Closed
HypnosNova opened this issue Oct 7, 2020 · 3 comments · Fixed by #62
Closed

An error occorred when using wgsl #59

HypnosNova opened this issue Oct 7, 2020 · 3 comments · Fixed by #62

Comments

@HypnosNova
Copy link
Contributor

Today I updated chrome canary.

Before I updated the browser, demo works well, but after I updated the chrome canary, all the demos using wgsl failed.

In console, it shows:
image

@kainino0x
Copy link
Collaborator

Sorry, we are in the middle of changing things here. We'll update the samples ASAP.

@austinEng
Copy link
Collaborator

Sorry, so we had some WGSL changes that broke a lot of functionality in Chrome so this isn't going to be fixed immediately.
You can follow along at https://bugs.chromium.org/p/tint/issues/detail?id=267 if you're interested.

Right now only the triangle and basic cube examples work with WGSL.

@austinEng
Copy link
Collaborator

Nevermind, fixed the texture stuff in #61 and also added WGSL shaders for the remaining samples that didn't have it.

Now the only ones that don't work with WGSL are compute_boids and animometer since they use std lib functions. Will be fixed in https://dawn-review.googlesource.com/c/tint/+/29841 .

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 a pull request may close this issue.

3 participants