5 varying vec4 texcoords;
9 gl_Position = gl_Vertex;
10 texcoords = (gl_Vertex + 1.0);
14 varying vec4 texcoords;
15 uniform sampler2D tex;
19 /* Try to trick i965's type handling by using integers. */
20 ivec2 itc = ivec2(texcoords + 0.5);
22 gl_FragColor = texture2D(tex, vec2(itc));
29 relative probe rgb (0.1, 0.1) (1.0, 0.0, 0.0)
30 relative probe rgb (0.9, 0.1) (0.0, 1.0, 0.0)
31 relative probe rgb (0.1, 0.9) (0.0, 0.0, 1.0)
32 relative probe rgb (0.9, 0.9) (1.0, 1.0, 1.0)
33 relative probe rgb (0.3, 0.3) (1.0, 1.0, 1.0)