dawn-cmake/test/tint/statements/switch/only_default_case.wgsl.expe...

19 lines
231 B
Plaintext
Raw Normal View History

#version 310 es
void f() {
int i = 0;
int result = 0;
switch(i) {
default: {
result = 44;
break;
}
}
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void main() {
f();
return;
}