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

20 lines
267 B
Plaintext

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