blob: 3324ca3eeae2e36c8ebbfc769c33ef1909217cdd [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)
{
int _32[2] = { 1, 2 };
int i2[2] = _32;
int _34[2] = { 1, 2 };
int s2[2] = _34;
float _40[2] = { 1.0f, 2.0f };
float f2[2] = _40;
float _42[2] = { 1.0f, 2.0f };
float h2[2] = _42;
i2 = _34;
s2 = _34;
f2 = _42;
h2 = _42;
float cf2[2] = _40;
bool _50 = false;
if (true && true)
{
_50 = true && true;
}
else
{
_50 = false;
}
bool _54 = false;
if (_50)
{
_54 = true && true;
}
else
{
_54 = false;
}
bool _58 = false;
if (_54)
{
_58 = true && true;
}
else
{
_58 = false;
}
bool4 _60 = _58.xxxx;
return float4(_60.x ? _10_colorGreen.x : _10_colorRed.x, _60.y ? _10_colorGreen.y : _10_colorRed.y, _60.z ? _10_colorGreen.z : _10_colorRed.z, _60.w ? _10_colorGreen.w : _10_colorRed.w);
}
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;
}