blob: 1b62eed823a915cfcef052d7592c07a23b762571 [file] [log] [blame]
cbuffer _UniformBuffer : register(b0, space0)
{
float4 _11_colorGreen : packoffset(c0);
};
static float4 sk_FragColor;
struct SPIRV_Cross_Output
{
float4 sk_FragColor : SV_Target0;
};
float4 main(float2 _25)
{
int _34 = int(_11_colorGreen.y);
int integerInput = _34;
if (_34 == 0)
{
return 2.1400001049041748046875f.xxxx;
}
else
{
if (_34 == 1)
{
return _11_colorGreen;
}
else
{
if (_34 == 2)
{
return float4(1.0f, 0.20000000298023223876953125f, 2.1400001049041748046875f, 1.0f);
}
else
{
if (3.1400001049041748046875f < (_11_colorGreen.x * 3.1400001049041748046875f))
{
return 3.1400001049041748046875f.xxxx;
}
else
{
if (2.1400001049041748046875f >= (_11_colorGreen.x * 2.1400001049041748046875f))
{
return 0.0f.xxxx;
}
else
{
return float4(1.0f, 0.0f, 0.0f, 1.0f);
}
}
}
}
}
}
void frag_main()
{
float2 _21 = 0.0f.xx;
sk_FragColor = main(_21);
}
SPIRV_Cross_Output main()
{
frag_main();
SPIRV_Cross_Output stage_output;
stage_output.sk_FragColor = sk_FragColor;
return stage_output;
}