glslang/Test/spv.simpleFunctionCall.frag
2016-01-22 17:47:22 -07:00

16 lines
169 B
GLSL

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