12 lines
209 B
WebGPU Shading Language
12 lines
209 B
WebGPU Shading Language
|
# v-switch01: line 6: switch statement selector expression must be of a scalar integer type
|
||
|
|
||
|
entry_point vertex = main;
|
||
|
fn main() -> void {
|
||
|
var a: f32 = 3.14;
|
||
|
switch (a) {
|
||
|
default: {}
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
|