dawn-cmake/test/statements/for/basic.wgsl.expected.msl

22 lines
245 B
Plaintext

#include <metal_stdlib>
using namespace metal;
void some_loop_body() {
}
void f() {
{
int i = 0;
while (true) {
if (!((i < 5))) {
break;
}
some_loop_body();
{
i = (i + 1);
}
}
}
}