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 bool4 expectTTTT = bool4(true, true, true, true); 24 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); 25 sk_FragColor.y = float(bool2(_7_c.x == _7_d.x, _7_c.y == _7_d.y).y); 26 sk_FragColor.z = float(bool3(_7_e.x == _7_f.x, _7_e.y == _7_f.y, _7_e.z == _7_f.z).z); 27 bool _72 = false; 28 if (any(expectTTFF)) 29 { 30 _72 = true; 31 } 32 else 33 { 34 _72 = any(expectFFTT); 35 } 36 bool _77 = false; 37 if (_72) 38 { 39 _77 = true; 40 } 41 else 42 { 43 _77 = any(expectTTTT); 44 } 45 sk_FragColor.w = float(_77); 46} 47 48SPIRV_Cross_Output main() 49{ 50 frag_main(); 51 SPIRV_Cross_Output stage_output; 52 stage_output.sk_FragColor = sk_FragColor; 53 return stage_output; 54} 55