/usr/share/glmark2/shaders/gradient.frag is in glmark2-data 2014.03+git20150611.fa71af2d-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | uniform vec3 color1;
uniform vec3 color2;
varying vec2 uv;
void main()
{
vec3 color = mix(color1, color2, uv.x * uv.y);
gl_FragColor = vec4(color, 1.0);
}
|