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