bgfx/3rdparty/glslang/Test/spv.simpleFunctionCall.frag
Branimir Karadžić f46d6a5803 Added glslang.
2016-12-15 14:19:54 -08:00

14 lines
127 B
GLSL

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