]> git.tdb.fi Git - libs/gl.git/blob - tests/glsl/member_assignment.glsl
Check the flat qualifier from the correct member
[libs/gl.git] / tests / glsl / member_assignment.glsl
1 #pragma MSP stage(vertex)
2 void main()
3 {
4         vec4 p = vec4(0.0);
5         p.x = 1.0;
6         p.z = 2.0;
7         p.w = 1.0;
8         gl_Position = p;
9 }
10
11 // Target API: Vulkan
12
13 /* Expected output: vertex
14 void main()
15 {
16         vec4 p = vec4(0.0);
17         p.x = 1.0;
18         p.z = 2.0;
19         p.w = 1.0;
20         gl_Position = p;
21 }
22 */