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
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.
The text was updated successfully, but these errors were encountered:
wduminy
changed the title
Support for #import
Handling of #importNov 19, 2023
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.The text was updated successfully, but these errors were encountered: