]> git.tdb.fi Git - libs/gl.git/blob - tests/glsl/struct_member_initializer.glsl
Fix a logic error in Sequence
[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: Initializer not allowed on struct member
12 */