mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-26 08:44:08 +00:00
37 lines
498 B
Plaintext
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();
|
|
}
|