]> git.tdb.fi Git - libs/gl.git/blob - tests/glsl/struct_member_initializer.glsl
Count EmitVertex as referencing all active outputs
[libs/gl.git] / tests / glsl / struct_member_initializer.glsl
1 struct Material
2 {
3         vec4 diffuse;
4         vec4 specular = vec4(0.0);
5 };
6
7 #pragma MSP stage(vertex)
8 void main() { }
9
10 /* Expected error:
11 <test>:4: Struct members can't have initializers
12 */