I am watching a YouTube video about Bevy Shaders and there the guy uses expressions like this in his wgsl files: [[location(0)]], but Bevy throws an error when I try to also do that. For some reason, it only understands @location(0). Why is that? Are we using different versions? https://www.youtube.com/watch?v=SOOOc9-joVo
Learn Rust at https://www.rustadventure.dev
GitHub: https://github.com/rust-adventure/bevy-examples/tree/eee5bc9183677c39d6cad412e6a9ca735b259aba/examples/shader-rgb-worldspace-cube
mesh.wgsl: https://github.com/bevyengine/bevy/blob/a1d3f1b3b42c3a6e05a532362ddfccf0be6b5df3/crates/bevy_pbr/src/render/mesh.wgsl
Twitter: https://twitter.com/rusta...