glslang/Test/spv.dataOutIndirect.vert

13 lines
184 B
GLSL
Raw Normal View History

#version 130
attribute vec4 color;
varying vec4 colorOut[6];
void main()
{
for (int i = 1; i < 5; ++i)
colorOut[i] = color;
gl_Position = colorOut[2];
}