bevy/crates/glsl-to-spirv/glslang/Test/spv.simpleFunctionCall.frag

14 lines
127 B
GLSL
Raw Normal View History

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