summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/3rdparty/glslang/Test/hlsl.whileLoop.frag
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bgfx/3rdparty/glslang/Test/hlsl.whileLoop.frag')
-rw-r--r--3rdparty/bgfx/3rdparty/glslang/Test/hlsl.whileLoop.frag7
1 files changed, 7 insertions, 0 deletions
diff --git a/3rdparty/bgfx/3rdparty/glslang/Test/hlsl.whileLoop.frag b/3rdparty/bgfx/3rdparty/glslang/Test/hlsl.whileLoop.frag
new file mode 100644
index 00000000000..e4084ae7eb3
--- /dev/null
+++ b/3rdparty/bgfx/3rdparty/glslang/Test/hlsl.whileLoop.frag
@@ -0,0 +1,7 @@
+float4 PixelShaderFunction(float4 input) : COLOR0
+{
+ while (any(input != input)) { return input; }
+ while (false) ;
+ [unroll] while (false) { }
+ while ((false)) { }
+}