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