perf/pixel-rate: new pixel throughput microbenchmark
[piglit.git] / tests / spec / glsl-1.10 / execution / vs-swizzle-swizzle-lhs.shader_test
blob64ac072f3e797fd89b2e8ef1d22b9af856a4ff93
1 [require]
2 GLSL >= 1.10
4 [vertex shader]
5 void main()
7         vec4 color = vec4(0.0, 0.0, 0.0, 0.0);
8         color.xzy.z = 1.0;
9         gl_FrontColor = color;
10         gl_Position = gl_Vertex;
13 [fragment shader]
14 void main()
16         gl_FragColor = gl_Color;
19 [test]
20 draw rect -1 -1 2 2
21 probe rgb 1 1 0.0 1.0 0.0