blob: 5c06de90d1fd2e2d0731bedbfa380fca10de5cec [file] [log] [blame]
cbuffer _UniformBuffer : register(b0, space0)
{
float4 _10_colorGreen : packoffset(c0);
float4 _10_colorRed : packoffset(c1);
};
static float4 sk_FragColor;
struct SPIRV_Cross_Output
{
float4 sk_FragColor : SV_Target0;
};
float4 main(float2 _24)
{
float _35[4] = { 1.0f, 2.0f, 3.0f, 4.0f };
float f[4] = _35;
float h[4] = _35;
f = _35;
h = _35;
int3 _47[3] = { int3(1, 1, 1), int3(2, 2, 2), int3(3, 3, 3) };
int3 i3[3] = _47;
int3 s3[3] = _47;
i3 = _47;
s3 = _47;
float2x2 _63[2] = { float2x2(float2(1.0f, 2.0f), float2(3.0f, 4.0f)), float2x2(float2(5.0f, 6.0f), float2(7.0f, 8.0f)) };
float2x2 h2x2[2] = _63;
float2x2 f2x2[2] = _63;
f2x2 = _63;
h2x2 = _63;
bool _74 = false;
if (true && (true && (true && true)))
{
_74 = true && (true && true);
}
else
{
_74 = false;
}
bool _89 = false;
if (_74)
{
_89 = (all(bool2(float2(5.0f, 6.0f).x == float2(5.0f, 6.0f).x, float2(5.0f, 6.0f).y == float2(5.0f, 6.0f).y)) && all(bool2(float2(7.0f, 8.0f).x == float2(7.0f, 8.0f).x, float2(7.0f, 8.0f).y == float2(7.0f, 8.0f).y))) && (all(bool2(float2(1.0f, 2.0f).x == float2(1.0f, 2.0f).x, float2(1.0f, 2.0f).y == float2(1.0f, 2.0f).y)) && all(bool2(float2(3.0f, 4.0f).x == float2(3.0f, 4.0f).x, float2(3.0f, 4.0f).y == float2(3.0f, 4.0f).y)));
}
else
{
_89 = false;
}
float4 _90 = 0.0f.xxxx;
if (_89)
{
_90 = _10_colorGreen;
}
else
{
_90 = _10_colorRed;
}
return _90;
}
void frag_main()
{
float2 _20 = 0.0f.xx;
sk_FragColor = main(_20);
}
SPIRV_Cross_Output main()
{
frag_main();
SPIRV_Cross_Output stage_output;
stage_output.sk_FragColor = sk_FragColor;
return stage_output;
}