1cbuffer _UniformBuffer : register(b0, space0) 2{ 3 float4 _8_colorGreen : packoffset(c0); 4 float4 _8_colorRed : packoffset(c1); 5}; 6 7 8static float4 sk_FragColor; 9 10struct SPIRV_Cross_Output 11{ 12 float4 sk_FragColor : SV_Target0; 13}; 14 15bool out_params_are_distinct_bhh(out float _24, out float _25) 16{ 17 _24 = 1.0f; 18 _25 = 2.0f; 19 bool _33 = false; 20 if (true) 21 { 22 _33 = true; 23 } 24 else 25 { 26 _33 = false; 27 } 28 return _33; 29} 30 31float4 main(float2 _35) 32{ 33 float x = 0.0f; 34 float _38 = 0.0f; 35 float _39 = 0.0f; 36 bool _40 = out_params_are_distinct_bhh(_38, _39); 37 x = _38; 38 x = _39; 39 float4 _43 = 0.0f.xxxx; 40 if (_40) 41 { 42 _43 = _8_colorGreen; 43 } 44 else 45 { 46 _43 = _8_colorRed; 47 } 48 return _43; 49} 50 51void frag_main() 52{ 53 float2 _18 = 0.0f.xx; 54 sk_FragColor = main(_18); 55} 56 57SPIRV_Cross_Output main() 58{ 59 frag_main(); 60 SPIRV_Cross_Output stage_output; 61 stage_output.sk_FragColor = sk_FragColor; 62 return stage_output; 63} 64