wgpu/naga/tests/out/msl/do-while.msl
2023-10-25 14:25:04 -04:00

37 lines
498 B
Plaintext

// language: metal1.0
#include <metal_stdlib>
#include <simd/simd.h>
using metal::uint;
void fb1_(
thread bool& cond
) {
bool loop_init = true;
while(true) {
if (!loop_init) {
bool _e1 = cond;
if (!(cond)) {
break;
}
}
loop_init = false;
continue;
}
return;
}
void main_1(
) {
bool param = {};
param = false;
fb1_(param);
return;
}
fragment void main_(
) {
main_1();
}