blob: 7d21e1aca69aa8441c71f6786c0c0e4f20a43a6f [file] [log] [blame]
static float4 sk_FragColor;
struct SPIRV_Cross_Output
{
float4 sk_FragColor : SV_Target0;
};
float4 main(float2 _21)
{
float4 result = 0.0f.xxxx;
float a = 0.0f;
float b = 0.0f;
for (;;)
{
bool _42 = false;
if (a < 10.0f)
{
_42 = b < 10.0f;
}
else
{
_42 = false;
}
if (_42)
{
result.x += a;
result.y += b;
a += 1.0f;
b += 1.0f;
continue;
}
else
{
break;
}
}
for (int c = 0; c < 10; c++)
{
result.z += 1.0f;
}
float _78[2] = { 0.0f, 10.0f };
float d[2] = _78;
float _86[4] = { 1.0f, 2.0f, 3.0f, 4.0f };
float e[4] = _86;
float f = 9.0f;
for (; d[0] < d[1]; d[0] += 1.0f)
{
result.w = e[0] * f;
}
for (;;)
{
break;
}
for (;;)
{
break;
}
return result;
}
void frag_main()
{
float2 _17 = 0.0f.xx;
sk_FragColor = main(_17);
}
SPIRV_Cross_Output main()
{
frag_main();
SPIRV_Cross_Output stage_output;
stage_output.sk_FragColor = sk_FragColor;
return stage_output;
}