1cbuffer _UniformBuffer : register(b0, space0) 2{ 3 float4 _7_a : packoffset(c0); 4 float4 _7_b : packoffset(c1); 5 uint2 _7_c : packoffset(c2); 6 uint2 _7_d : packoffset(c2.z); 7 int3 _7_e : packoffset(c3); 8 int3 _7_f : packoffset(c4); 9}; 10 11 12static float4 sk_FragColor; 13 14struct SPIRV_Cross_Output 15{ 16 float4 sk_FragColor : SV_Target0; 17}; 18 19void frag_main() 20{ 21 bool4 expectTTFF = bool4(true, true, false, false); 22 bool4 expectFFTT = bool4(false, false, true, true); 23 sk_FragColor.x = float(bool4(_7_a.x < _7_b.x, _7_a.y < _7_b.y, _7_a.z < _7_b.z, _7_a.w < _7_b.w).x); 24 sk_FragColor.y = float(bool2(_7_c.x < _7_d.x, _7_c.y < _7_d.y).y); 25 sk_FragColor.z = float(bool3(_7_e.x < _7_f.x, _7_e.y < _7_f.y, _7_e.z < _7_f.z).z); 26 bool _70 = false; 27 if (any(expectTTFF)) 28 { 29 _70 = true; 30 } 31 else 32 { 33 _70 = any(expectFFTT); 34 } 35 sk_FragColor.w = float(_70); 36} 37 38SPIRV_Cross_Output main() 39{ 40 frag_main(); 41 SPIRV_Cross_Output stage_output; 42 stage_output.sk_FragColor = sk_FragColor; 43 return stage_output; 44} 45