glslang/Test/spv.simpleFunctionCall.frag

14 lines
127 B
GLSL

#version 150
in vec4 BaseColor;
vec4 foo()
{
return BaseColor;
}
void main()
{
gl_FragColor = foo();
}