perf/pixel-rate: new pixel throughput microbenchmark
[piglit.git] / tests / spec / glsl-1.10 / execution / glsl-vs-dot-vec2.shader_test
blob3d7ca3a8d7d7afd47f716c5acfe780409e25fcff
1 [require]
2 GLSL >= 1.10
4 [vertex shader]
5 uniform vec4 arg0;
6 varying vec4 v;
7 void main()
9         gl_Position = gl_Vertex;
10         v = vec4(dot(arg0.yy, arg0.yy),
11                             dot(arg0.xx, arg0.zw),
12                             dot(arg0.zw, arg0.xx),
13                             dot(arg0.yw, arg0.wy));
16 [fragment shader]
17 varying vec4 v;
18 void main()
20         gl_FragColor = v;
23 [test]
24 uniform vec4 arg0 0.25 0.5 1.0 2.0
25 draw rect -1 -1 2 2
26 probe all rgba 0.5 0.75 0.75 1.0