diff options
Diffstat (limited to 'chromium/third_party/glslang/src/Test/syntaxError.frag')
-rw-r--r-- | chromium/third_party/glslang/src/Test/syntaxError.frag | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/chromium/third_party/glslang/src/Test/syntaxError.frag b/chromium/third_party/glslang/src/Test/syntaxError.frag new file mode 100644 index 00000000000..ac46bf10f25 --- /dev/null +++ b/chromium/third_party/glslang/src/Test/syntaxError.frag @@ -0,0 +1,16 @@ +#version 120 + +uniform vec4 bigColor; +varying vec4 BaseColor; +uniform float d; + +void main() +{ + vec5 color = BaseColor; + + do { + color += bigColor; + } while (color.x < d); + + gl_FragColor = color; +} |