This file is indexed.

/usr/share/glmark2/shaders/ideas-paper.vert is in glmark2-data 2014.03+git20150611.fa71af2d-0ubuntu4.

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
11
12
13
14
15
16
17
18
19
20
21
22
uniform mat4 projection;
uniform mat4 modelview;
uniform vec3 lightPosition;
uniform vec3 logoDirection;
uniform float currentTime;
attribute vec3 vertex;
varying vec4 color;

void main()
{
    vec4 curVertex = vec4(vertex.x, vertex.y, vertex.z, 1.0);
    gl_Position = projection * modelview * curVertex;
    float referenceTime = 15.0;
    vec3 lightDirection = normalize(lightPosition - vertex);    
    float c = max(dot(lightDirection, logoDirection), 0.0);
    c = c * c * c * lightDirection.y;
    if ((currentTime > referenceTime - 5.0) && (currentTime < referenceTime - 3.0))
    {
        c *= 1.0 - (currentTime - (referenceTime - 5.0)) * 0.5;
    }
    color = vec4(c, c, (c * 0.78125), 1.0);
}