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

16 lines
181 B
Plaintext

#include <metal_stdlib>
using namespace metal;
kernel void f() {
int i = 0;
int result = 0;
switch(i) {
default: {
result = 44;
break;
}
}
return;
}