blob: 78518244a3340a8049dd5955f4699cf3440df6a4 [file] [log] [blame]
static float4 sk_FragColor;
static float defaultVarying;
static float linearVarying;
static float flatVarying;
struct SPIRV_Cross_Input
{
float defaultVarying : TEXCOORD0;
noperspective float linearVarying : TEXCOORD1;
nointerpolation float flatVarying : TEXCOORD2;
};
struct SPIRV_Cross_Output
{
float4 sk_FragColor : SV_Target0;
};
void frag_main()
{
sk_FragColor = float4(defaultVarying, linearVarying, flatVarying, 1.0f);
}
SPIRV_Cross_Output main(SPIRV_Cross_Input stage_input)
{
defaultVarying = stage_input.defaultVarying;
linearVarying = stage_input.linearVarying;
flatVarying = stage_input.flatVarying;
frag_main();
SPIRV_Cross_Output stage_output;
stage_output.sk_FragColor = sk_FragColor;
return stage_output;
}