dawn-cmake/test/tint/bug/tint/1604.wgsl.expected.dxc.hlsl

20 lines
251 B
HLSL

cbuffer cbuffer_x : register(b0, space0) {
uint4 x[1];
};
[numthreads(1, 1, 1)]
void main() {
switch(asint(x[0].x)) {
case 0: {
while (true) {
return;
}
break;
}
default: {
break;
}
}
return;
}