Assignment to swizzle produces unhelpful error message #2052
Labels
area: front-end
Input formats for conversion
kind: diagnostics
Error message should be better
lang: WGSL
WebGPU shading language
Given the program:
Naga complains:
This leads to questions in chat like:
The error message did not convey to the user that swizzle assignment is simply unsupported.
The text was updated successfully, but these errors were encountered: