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