1cbuffer _UniformBuffer : register(b0, space0) 2{ 3 float4 _16_src : packoffset(c0); 4 float4 _16_dst : packoffset(c1); 5}; 6 7 8static float4 sk_FragColor; 9 10struct SPIRV_Cross_Output 11{ 12 float4 sk_FragColor : SV_Target0; 13}; 14 15static float _kGuardedDivideEpsilon = 0.0f; 16 17float guarded_divide_Qhhh(float _21, float _22) 18{ 19 return _21 / (_22 + _kGuardedDivideEpsilon); 20} 21 22float color_burn_component_Qhh2h2(float2 _32, float2 _33) 23{ 24 float _41 = 0.0f; 25 if (_33.y == _33.x) 26 { 27 _41 = _33.y; 28 } 29 else 30 { 31 _41 = 0.0f; 32 } 33 float dyTerm = _41; 34 float _54 = 0.0f; 35 if (abs(_32.x) >= 6.103515625e-05f) 36 { 37 float _71 = (_33.y - _33.x) * _32.y; 38 float _74 = _32.x; 39 _54 = _33.y - min(_33.y, guarded_divide_Qhhh(_71, _74)); 40 } 41 else 42 { 43 _54 = _41; 44 } 45 float delta = _54; 46 return ((_54 * _32.y) + (_32.x * (1.0f - _33.y))) + (_33.x * (1.0f - _32.y)); 47} 48 49void frag_main() 50{ 51 _kGuardedDivideEpsilon = false ? 9.9999999392252902907785028219223e-09f : 0.0f; 52 float2 _105 = _16_src.xw; 53 float2 _110 = _16_dst.xw; 54 float2 _115 = _16_src.yw; 55 float2 _119 = _16_dst.yw; 56 float2 _124 = _16_src.zw; 57 float2 _128 = _16_dst.zw; 58 sk_FragColor = float4(color_burn_component_Qhh2h2(_105, _110), color_burn_component_Qhh2h2(_115, _119), color_burn_component_Qhh2h2(_124, _128), _16_src.w + ((1.0f - _16_src.w) * _16_dst.w)); 59} 60 61SPIRV_Cross_Output main() 62{ 63 frag_main(); 64 SPIRV_Cross_Output stage_output; 65 stage_output.sk_FragColor = sk_FragColor; 66 return stage_output; 67} 68