dawn-cmake/test/tint/bug/tint/1321.wgsl.expected.fxc.hlsl

16 lines
189 B
HLSL

int foo() {
return 1;
}
void main() {
float arr[4] = (float[4])0;
const int a_save = foo();
{
for(; ; ) {
const float x = arr[a_save];
break;
}
}
return;
}