WGSL: xyzw and rgba are not allowed to apear in same swizzle #6184
Labels
area: naga front-end
lang: WGSL
WebGPU Shading Language
naga
Shader Translator
type: bug
Something isn't working
const r = vec4(0.0, 0.0, 0.0, 0.0).xg;
should return validation error: https://www.w3.org/TR/WGSL/#vector-multi-componentrelevant code where we ignore this error:
wgpu/naga/src/front/wgsl/lower/mod.rs
Line 874 in 34bb9e4
The text was updated successfully, but these errors were encountered: