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