bgfx/3rdparty/glslang/Test/link1.vk.frag

25 lines
361 B
GLSL
Raw Normal View History

2017-02-04 06:32:35 +03:00
#version 450
vec4 getColor();
2018-04-07 19:50:59 +03:00
layout(location=0) out vec4 color;
int a1[]; // max size from link1
int a2[]; // max size from link2
int b[5];
int c[];
int i;
buffer bnameRuntime { float r[]; };
buffer bnameImplicit { float m[]; };
2017-02-04 06:32:35 +03:00
void main()
{
color = getColor();
2018-04-07 19:50:59 +03:00
a1[8] = 1;
a2[1] = 1;
b[i] = 1;
c[3] = 1;
2017-02-04 06:32:35 +03:00
}