Closed cs-cordero closed 3 years ago
You can work around by making sure that the relevant ShaderModuleDescriptor::flags
does not have VALIDATION
flag in it, for now. In the meantime, I filed https://github.com/gfx-rs/naga/issues/567 for a proper fix in Naga validator.
This is fixed upstream, and wgpu-rs is already using it
Hello,
I am currently trying to upgrade from wgpu-0.6 to wgpu-0.7, and I'm coming up against some shader-related issues while trying to call
Device::create_render_pipeline
. Some folks on the Rust Community Discord suggested to me to ask about it here. (https://discord.com/channels/273534239310479360/335502453371961344/819799389974691860)Here is a paste of my Vertex Shader: https://pastebin.com/vwzvAvwB
Here is the error message given to me:
This shader worked fine before the wgpu-0.7 upgrade, and I'm not sure how to fix this. Is this a bug or is there a workaround?