You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note, I've just started learning about computer graphics, so my knowledge is very limited. However, I seem to understand that the above should be valid syntax, also when I run the validation using naga it is successful.
I'm on Ubuntu 20.04 using wgpu version 0.9.
The text was updated successfully, but these errors were encountered:
wgpu-0.9 doesn't have this WGSL syntax supported. Since WGSL is a moving target, our stable releases can't update its API.
It's best for us if you use master, but if you have to use v0.9, then take a look at the relevant example code - https://github.com/gfx-rs/wgpu/tree/v0.9/wgpu/examples
If I specify the
storage
access mode (read/write/read_write) in a WGSL shader:Example taken from www.w3.org/TR/WGSL.
when I call
Device::create_shader_module
as:I get the following error:
Note, I've just started learning about computer graphics, so my knowledge is very limited. However, I seem to understand that the above should be valid syntax, also when I run the validation using naga it is successful.
I'm on Ubuntu 20.04 using
wgpu
version0.9
.The text was updated successfully, but these errors were encountered: