/usr/share/glmark2/shaders/pulsar.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 | attribute vec3 position;
attribute vec4 vtxcolor;
attribute vec2 texcoord;
attribute vec3 normal;
uniform mat4 ModelViewProjectionMatrix;
varying vec4 Color;
varying vec2 TextureCoord;
void main(void)
{
Color = vtxcolor;
TextureCoord = texcoord;
// Transform the position to clip coordinates
gl_Position = ModelViewProjectionMatrix * vec4(position, 1.0);
}
|