diff options
Diffstat (limited to 'chromium/third_party/glslang/src/Test/spv.for-complex-condition.vert')
-rw-r--r-- | chromium/third_party/glslang/src/Test/spv.for-complex-condition.vert | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chromium/third_party/glslang/src/Test/spv.for-complex-condition.vert b/chromium/third_party/glslang/src/Test/spv.for-complex-condition.vert new file mode 100644 index 00000000000..81dd648974a --- /dev/null +++ b/chromium/third_party/glslang/src/Test/spv.for-complex-condition.vert @@ -0,0 +1,7 @@ +#version 450 +layout(location=0) out highp int r; +layout(location=0) in lowp int flag; +void main() { + int i; + for (i=0; i < (flag==1 ? 10 : 15) ; i++) { r = i; } +} |