We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
This code doesn't work:
https://google.github.io/tour-of-wgsl/types/structures/
It fails with error:
Shader validation error: ┌─ Fragment shader:7:19 │ 7 │ const a_bicycle = Vehicle(2, 10.5); │ ^^^^^^^^^^^^^^^^ naga::Expression [3]
Constant expression [3] is invalid Composing 0's component type is not expected
Platform MacOs, wgpu:0.18.0
wgpu
The text was updated successfully, but these errors were encountered:
I think this should work now (#4743). Could you try that commit or latest trunk?
Sorry, something went wrong.
Yeah ! That's working. Hope to have a release version soon... Many thanks.
No branches or pull requests
Hello,
This code doesn't work:
https://google.github.io/tour-of-wgsl/types/structures/
It fails with error:
Shader validation error:
┌─ Fragment shader:7:19
│
7 │ const a_bicycle = Vehicle(2, 10.5);
│ ^^^^^^^^^^^^^^^^ naga::Expression [3]
Constant expression [3] is invalid
Composing 0's component type is not expected
Platform
MacOs,
wgpu
:0.18.0The text was updated successfully, but these errors were encountered: