blob: f619a16d785dedf81aa44f85763c6c3cc4a9b677 [file] [log] [blame]
cbuffer _UniformBuffer : register(b0, space0)
{
float4 _10_colorWhite : packoffset(c0);
};
static float4 sk_FragColor;
struct SPIRV_Cross_Output
{
float4 sk_FragColor : SV_Target0;
};
float4 main(float2 _24)
{
float4 color = 0.0f.xxxx;
if (_10_colorWhite.x == 1.0f)
{
color.y = 1.0f;
}
if (_10_colorWhite.x == 2.0f)
{
}
else
{
color.w = 1.0f;
}
while (_10_colorWhite.x == 2.0f)
{
}
do
{
} while (_10_colorWhite.x == 2.0f);
return color;
}
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;
}