I am using the bevy engine and it uses #import. Here is an example shader.
In VS-Code I get this error when I enable v0.1.16 of vscode-wsgl:
error: expected global item ('struct', 'const', 'var', 'alias', ';', 'fn') or the end of the file, found '#'
┌─ wgsl:1:1
│
1 │ #import bevy_pbr::forward_io::VertexOutput;
│ ^ expected global item ('struct', 'const', 'var', 'alias', ';', 'fn') or the end of the file
It would be nice if somehow this import statement could be processed or ignored.
I am using the bevy engine and it uses
#import
. Here is an example shader.In VS-Code I get this error when I enable
v0.1.16
ofvscode-wsgl
:It would be nice if somehow this
import
statement could be processed or ignored.