SPIRV-Cross/reference/shaders-hlsl/frag/no-return2.frag

18 строки
225 B
GLSL

static float4 vColor;
struct SPIRV_Cross_Input
{
float4 vColor : TEXCOORD0;
};
void frag_main()
{
float4 v = vColor;
}
void main(SPIRV_Cross_Input stage_input)
{
vColor = stage_input.vColor;
frag_main();
}