diff options
Diffstat (limited to 'chromium/third_party/glslang/src/Test/hlsl.whileLoop.frag')
-rw-r--r-- | chromium/third_party/glslang/src/Test/hlsl.whileLoop.frag | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chromium/third_party/glslang/src/Test/hlsl.whileLoop.frag b/chromium/third_party/glslang/src/Test/hlsl.whileLoop.frag new file mode 100644 index 00000000000..f282375ddd5 --- /dev/null +++ b/chromium/third_party/glslang/src/Test/hlsl.whileLoop.frag @@ -0,0 +1,7 @@ +float4 PixelShaderFunction(float4 input) : COLOR0 +{ + while (input != input) { return input; } + while (false) ; + [unroll] while (false) { } + while ((false)) { } +} |