bgfx/3rdparty/glslang/Test/spv.dataOutIndirect.vert

13 lines
180 B
GLSL
Raw Normal View History

2016-12-16 01:19:54 +03:00
#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];
}