cts
cts copied to clipboard
wgsl: Parenthesized expressions
- [ ]
let a = (true); - [ ]
let a = (false); - [ ]
let a = (1.0); - [ ]
let a = (1.0h); - [ ]
let a = (-1i); - [ ]
let a = (1u); - [ ]
let a = 1u);-- fails - [ ]
let a = ();-- fails - [ ]
let a = (1u;-- fails
- https://www.w3.org/TR/WGSL/#parenthesized-expressions