diff options
Diffstat (limited to 'chromium/third_party/glslang/src/Test/simpleFunctionCall.frag')
-rw-r--r-- | chromium/third_party/glslang/src/Test/simpleFunctionCall.frag | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/chromium/third_party/glslang/src/Test/simpleFunctionCall.frag b/chromium/third_party/glslang/src/Test/simpleFunctionCall.frag new file mode 100644 index 00000000000..1adddd562de --- /dev/null +++ b/chromium/third_party/glslang/src/Test/simpleFunctionCall.frag @@ -0,0 +1,15 @@ +#version 150 + +uniform vec4 bigColor; +varying vec4 BaseColor; +uniform float d; + +vec4 foo() +{ + return BaseColor; +} + +void main() +{ + gl_FragColor = foo(); +} |