2018-03-07 13:54:11 +00:00
|
|
|
static const float _17[5] = { 1.0f, 2.0f, 3.0f, 4.0f, 5.0f };
|
|
|
|
|
|
|
|
static float4 FragColor;
|
|
|
|
|
|
|
|
struct SPIRV_Cross_Output
|
|
|
|
{
|
|
|
|
float4 FragColor : SV_Target0;
|
|
|
|
};
|
|
|
|
|
|
|
|
void frag_main()
|
|
|
|
{
|
2018-03-12 13:58:40 +00:00
|
|
|
for (int _46 = 0; _46 < 4; )
|
2018-03-07 13:54:11 +00:00
|
|
|
{
|
2018-03-12 13:58:40 +00:00
|
|
|
int _33 = _46 + 1;
|
2018-07-05 11:25:57 +00:00
|
|
|
FragColor += _17[_33].xxxx;
|
2018-03-12 13:58:40 +00:00
|
|
|
_46 = _33;
|
|
|
|
continue;
|
2018-03-07 13:54:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-01-05 13:51:36 +00:00
|
|
|
SPIRV_Cross_Output main()
|
2018-03-07 13:54:11 +00:00
|
|
|
{
|
|
|
|
frag_main();
|
|
|
|
SPIRV_Cross_Output stage_output;
|
|
|
|
stage_output.FragColor = FragColor;
|
|
|
|
return stage_output;
|
|
|
|
}
|