summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/3rdparty/glslang/Test/hlsl.void.frag
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bgfx/3rdparty/glslang/Test/hlsl.void.frag')
-rw-r--r--3rdparty/bgfx/3rdparty/glslang/Test/hlsl.void.frag9
1 files changed, 9 insertions, 0 deletions
diff --git a/3rdparty/bgfx/3rdparty/glslang/Test/hlsl.void.frag b/3rdparty/bgfx/3rdparty/glslang/Test/hlsl.void.frag
new file mode 100644
index 00000000000..950bbd75248
--- /dev/null
+++ b/3rdparty/bgfx/3rdparty/glslang/Test/hlsl.void.frag
@@ -0,0 +1,9 @@
+void foo1() {}
+void foo2(void) {}
+
+void PixelShaderFunction(float4 input) : COLOR0
+{
+ foo1();
+ foo2();
+ return;
+} \ No newline at end of file