1cbuffer _UniformBuffer : register(b0, space0) 2{ 3 float4 _10_a : packoffset(c0); 4 float4 _10_b : packoffset(c1); 5 uint2 _10_c : packoffset(c2); 6 uint2 _10_d : packoffset(c2.z); 7 int3 _10_e : packoffset(c3); 8 int3 _10_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(int(bool4(_10_a.x == _10_b.x, _10_a.y == _10_b.y, _10_a.z == _10_b.z, _10_a.w == _10_b.w).x)); 25 sk_FragColor.y = float(int(bool2(_10_c.x == _10_d.x, _10_c.y == _10_d.y).y)); 26 sk_FragColor.z = float(int(bool3(_10_e.x == _10_f.x, _10_e.y == _10_f.y, _10_e.z == _10_f.z).z)); 27 bool _75 = false; 28 if (any(expectTTFF)) 29 { 30 _75 = true; 31 } 32 else 33 { 34 _75 = any(expectFFTT); 35 } 36 bool _80 = false; 37 if (_75) 38 { 39 _80 = true; 40 } 41 else 42 { 43 _80 = any(expectTTTT); 44 } 45 sk_FragColor.w = float(int(_80)); 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