]> git.tdb.fi Git - libs/gl.git/blob - tests/glsl/member_assignment.glsl
Add a unit test framework and some tests for the GLSL compiler
[libs/gl.git] / tests / glsl / member_assignment.glsl
1 #pragma MSP stage(vertex)
2 void main()
3 {
4         vec4 p;
5         p.x = 1.0;
6         p.y = 0.0;
7         p.z = 2.0;
8         p.w = 1.0;
9         gl_Position = p;
10 }
11
12 /* Expected output: vertex
13 void main()
14 {
15         vec4 p;
16         p.x = 1.0;
17         p.y = 0.0;
18         p.z = 2.0;
19         p.w = 1.0;
20         gl_Position = p;
21 }
22 */