]> git.tdb.fi Git - libs/gl.git/blob - tests/glsl/unused_variable_removal.glsl
Fix GLSL test cases so they pass the basic tests
[libs/gl.git] / tests / glsl / unused_variable_removal.glsl
1 #pragma MSP stage(vertex)
2 layout(location=0) in vec4 position;
3 layout(location=1) in vec4 color;
4 void main()
5 {
6         out vec2 texcoord = position.xy*0.5+0.5;
7         gl_Position = position;
8 }
9
10 // Target API: Vulkan
11
12 /* Expected output: vertex
13 layout(location=0) in vec4 position;
14 void main()
15 {
16         gl_Position = position;
17 }
18 */