SPIRV-Cross/reference/opt/shaders-hlsl/frag/point-coord-compat.frag
2018-02-23 15:58:35 +01:00

20 lines
300 B
GLSL

static float2 FragColor;
struct SPIRV_Cross_Output
{
float2 FragColor : SV_Target0;
};
void frag_main()
{
FragColor = float2(0.5f, 0.5f);
}
SPIRV_Cross_Output main()
{
frag_main();
SPIRV_Cross_Output stage_output;
stage_output.FragColor = FragColor;
return stage_output;
}