Debian Codegraph @

third_party/spirv-cross/reference/shaders-msl/asm/frag/undef-variable-store.asm.frag

raw
1 #include <metal_stdlib>
2 #include <simd/simd.h>
3
4 using namespace metal;
5
6 constant float4 _38 = {};
7 constant float4 _47 = {};
8
9 struct main0_out
10 {
11 float4 _entryPointOutput [[color(0)]];
12 };
13
14 fragment main0_out main0()
15 {
16 main0_out out = {};
17 float4 _27;
18 do
19 {
20 float2 _26 = float2(0.0);
21 if (_26.x != 0.0)
22 {
23 _27 = float4(1.0, 0.0, 0.0, 1.0);
24 break;
25 }
26 else
27 {
28 _27 = float4(1.0, 1.0, 0.0, 1.0);
29 break;
30 }
31 _27 = _38;
32 break;
33 } while (false);
34 out._entryPointOutput = _27;
35 return out;
36 }
37