- fix issue where the
wgsl_analyzer
binary wasn't included in the.vsix
extension file
- add naga parsing/validation diagnostics (
wgsl-analyzer.diagnostics.nagaValidationErrors
enabled by default,wgsl-analyzer.diagnostics.nagaParsingErrors
not). - Naga version can be configured to be either
0.8
(default) ormain
:wgsl-analyzer.diagnostics.nagaVersion": "0.8"
- better spans in diagnostics
- parse push constants
- fix handling of
>>
, e.g. forarray<vec3<f32>>
- support
binding_array
s - verify that vscode extension and server binary match
- add
textureGather
/textureGatherCompare
builtins - fix an infinite loop in the parser
- experimental: struct layout hints with
wgsl-analyzer.inlayHints.structLayoutHints
- handle
,
as struct field separator
- handle windows line endings
- implement goto definition for types
- ignore
#define_import_path
- handle
switch
statement - some formatting fixes
- include prebuilt
wgsl_analyzer
in github releases
- support
#ifdef
,#ifndef
,#else
,#endif
preprocessor macros - add
Show full WGSL source
command that resolves imports - fix reloading of configuration for imports
- some more code formatting (#18)
- add inlay hints (configurable via
wgsl-analyzer.inlayHints.{enabled,typeHints,parameterHints,typeVerbosity}
) - grey out
#ifdef
d code
- fix
smoothStep
to work withvecN<f32>
- implement
@
-attributes ([[]]
still supported) - add bit manipulation builtins
- support
file://
andhttp[s]://
schemas in custom imports - implement type aliases (#14)
- fix missing matrix multiplication type rules
- fix multisampled textures (#9)
- implement
i++
,i--
- better error message involving operator type errors
- better parser recovrey
elseif
->else if
- remove
[[block]]
attribute lint
- implement
ptr
types - fix
pack2x16
andtextureLoad
builtins - add proper README