bgfx/3rdparty/glslang/Test/spv.simpleFunctionCall.frag

14 lines
127 B
GLSL
Raw Normal View History

2016-12-16 01:19:54 +03:00
#version 150
in vec4 BaseColor;
vec4 foo()
{
return BaseColor;
}
void main()
{
gl_FragColor = foo();
}