Add more structure constructor tests.
[piglit/hramrach.git] / tests / shaders / glsl-fs-dot-vec2.shader_test
blob17614b10105849cfccff72dc91ece21dada2585e
1 [require]
2 GL >= 2.0
3 GLSL >= 1.10
5 [vertex shader]
6 void main()
8         gl_Position = gl_Vertex;
11 [fragment shader]
12 uniform vec4 arg0;
13 void main()
15         gl_FragColor = vec4(dot(arg0.yy, arg0.yy),
16                             dot(arg0.xx, arg0.zw),
17                             dot(arg0.zw, arg0.xx),
18                             dot(arg0.yw, arg0.wy));
21 [test]
22 uniform vec4 arg0 0.25 0.5 1.0 2.0
23 draw rect -1 -1 2 2
24 probe all rgba 0.5 0.75 0.75 1.0