First Commit
This commit is contained in:
15
externals/glslang/Test/simpleFunctionCall.frag
vendored
Normal file
15
externals/glslang/Test/simpleFunctionCall.frag
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
#version 150
|
||||
|
||||
uniform vec4 bigColor;
|
||||
varying vec4 BaseColor;
|
||||
uniform float d;
|
||||
|
||||
vec4 foo()
|
||||
{
|
||||
return BaseColor;
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_FragColor = foo();
|
||||
}
|
||||
Reference in New Issue
Block a user