1cbuffer _UniformBuffer : register(b0, space0) 2{ 3 float4 _7_colorGreen : packoffset(c0); 4 float4 _7_colorRed : packoffset(c1); 5}; 6 7 8static float4 sk_FragColor; 9 10struct SPIRV_Cross_Output 11{ 12 float4 sk_FragColor : SV_Target0; 13}; 14 15float4 main(float2 _21) 16{ 17 int _29[2] = { 1, 2 }; 18 int i2[2] = _29; 19 int _31[2] = { 1, 2 }; 20 int s2[2] = _31; 21 float _37[2] = { 1.0f, 2.0f }; 22 float f2[2] = _37; 23 float _39[2] = { 1.0f, 2.0f }; 24 float h2[2] = _39; 25 i2 = _31; 26 s2 = _31; 27 f2 = _39; 28 h2 = _39; 29 float cf2[2] = _37; 30 bool _48 = false; 31 if (true && true) 32 { 33 _48 = true && true; 34 } 35 else 36 { 37 _48 = false; 38 } 39 bool _52 = false; 40 if (_48) 41 { 42 _52 = true && true; 43 } 44 else 45 { 46 _52 = false; 47 } 48 bool _56 = false; 49 if (_52) 50 { 51 _56 = true && true; 52 } 53 else 54 { 55 _56 = false; 56 } 57 float4 _57 = 0.0f.xxxx; 58 if (_56) 59 { 60 _57 = _7_colorGreen; 61 } 62 else 63 { 64 _57 = _7_colorRed; 65 } 66 return _57; 67} 68 69void frag_main() 70{ 71 float2 _17 = 0.0f.xx; 72 sk_FragColor = main(_17); 73} 74 75SPIRV_Cross_Output main() 76{ 77 frag_main(); 78 SPIRV_Cross_Output stage_output; 79 stage_output.sk_FragColor = sk_FragColor; 80 return stage_output; 81} 82