Usage of Buffer and RWBuffer yields invalid WGSL code with no errors #6304
Labels
goal:quality & productivity
Quality issues and issues that impact our productivity coding day to day inside slang
From discord issue 'Oddity With Buffers When Targeting Wgsl in 2025.3.2'.
The following code
Compiling with
.\slangc .\test.slang -target wgsl -entry Main -stage compute -o test.txt
produces invalid WGSL without any errors:The text was updated successfully, but these errors were encountered: