1cb93a386Sopenharmony_ci#include <metal_stdlib>
2cb93a386Sopenharmony_ci#include <simd/simd.h>
3cb93a386Sopenharmony_ciusing namespace metal;
4cb93a386Sopenharmony_cistruct Inputs {
5cb93a386Sopenharmony_ci};
6cb93a386Sopenharmony_cistruct Outputs {
7cb93a386Sopenharmony_ci    half4 sk_FragColor [[color(0)]];
8cb93a386Sopenharmony_ci};
9cb93a386Sopenharmony_cifragment Outputs fragmentMain(Inputs _in [[stage_in]], bool _frontFacing [[front_facing]], float4 _fragCoord [[position]]) {
10cb93a386Sopenharmony_ci    Outputs _out;
11cb93a386Sopenharmony_ci    (void)_out;
12cb93a386Sopenharmony_ci    float b = 2.0;
13cb93a386Sopenharmony_ci    float c = 3.0;
14cb93a386Sopenharmony_ci    for (int x = 0;x < 1; ++x) {
15cb93a386Sopenharmony_ci        continue;
16cb93a386Sopenharmony_ci    }
17cb93a386Sopenharmony_ci    float d = c;
18cb93a386Sopenharmony_ci    b++;
19cb93a386Sopenharmony_ci    d++;
20cb93a386Sopenharmony_ci    _out.sk_FragColor = half4(half(b == 2.0), half(b == 3.0), half(d == 5.0), half(d == 4.0));
21cb93a386Sopenharmony_ci    return _out;
22cb93a386Sopenharmony_ci}
23