wgsl-in: naga accepts switch statement with different integer types #1777
Labels
area: front-end
Input formats for conversion
kind: bug
Something isn't working
lang: WGSL
WebGPU shading language
Milestone
While implementing support for
switch
statements in wgsl-analyzer I noticed that naga accepts the following program,which should - if I'm reading the spec correctly - be an error.
https://gpuweb.github.io/gpuweb/wgsl/#switch-statement
The text was updated successfully, but these errors were encountered: