This file is indexed.

/usr/share/pymol/data/shaders/label.fs is in pymol 1.7.2.1-2.2.

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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/* ios recent */
uniform sampler2D textureMap;
varying vec2 textureLookup ;
varying vec4 pickcolor ;
uniform float isPicking;

uniform sampler2D bgTextureMap;
uniform vec3 fogSolidColor;
uniform float fogIsSolidColor;
varying float fog;
varying vec3 normalizedViewCoordinate;
#define bgTextureLookup normalizedViewCoordinate.xy

uniform float isStretched;
uniform float isCentered;
uniform float isCenteredOrRepeated;
uniform float isTiled;
uniform vec2 tileSize;
uniform vec2 tiledSize;
uniform vec2 viewImageSize;
uniform vec2 pixelSize;
uniform vec2 halfPixel;

#include ComputeFogColor

void main()
{
  vec4 fColor = texture2D(textureMap, textureLookup);
  if (fog < 1.0) {
      vec4 fogColor = ComputeFogColor();
      fColor.rgb = mix(fogColor.rgb, fColor.rgb, fog);
  }
#ifdef PYMOL_IOS
  vec4 npColor = (1. - isPicking) * fColor;
  if (npColor.a < .1)
     discard;
  gl_FragColor = npColor + isPicking * pickcolor;
#else
  gl_FragColor = (1. - isPicking) * fColor + isPicking * pickcolor;
#endif
}