dawn-cmake/test/tint/statements/for/condition/struct_ctor.wgsl.expected.msl

20 lines
220 B
Plaintext
Raw Normal View History

#include <metal_stdlib>
using namespace metal;
struct S {
int i;
};
void f() {
int i = 0;
while (true) {
S const tint_symbol = S{.i=1};
if (!((i < tint_symbol.i))) {
break;
}
{
}
}
}