diff options
Diffstat (limited to 'chromium/third_party/glslang/src/Test/spv.dataOutIndirect.vert')
-rw-r--r-- | chromium/third_party/glslang/src/Test/spv.dataOutIndirect.vert | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/chromium/third_party/glslang/src/Test/spv.dataOutIndirect.vert b/chromium/third_party/glslang/src/Test/spv.dataOutIndirect.vert new file mode 100644 index 00000000000..8606d9f3d2c --- /dev/null +++ b/chromium/third_party/glslang/src/Test/spv.dataOutIndirect.vert @@ -0,0 +1,12 @@ +#version 140 + +attribute vec4 color; +out vec4 colorOut[6]; + +void main() +{ + for (int i = 1; i < 5; ++i) + colorOut[i] = color; + + gl_Position = colorOut[2]; +} |