This file is indexed.

/usr/src/castle-game-engine-5.2.0/opengl/glsl/image.fs.inc is in castle-game-engine-src 5.2.0-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
{ -*- buffer-read-only: t -*- }
{ DON'T EDIT -- this file was automatically generated from "image.fs" }
'#ifdef GL_ES' + LineEnding +
'precision mediump float;' + LineEnding +
'#endif' + LineEnding +
'' + LineEnding +
'varying vec2 tex_coord_frag;' + LineEnding +
'uniform sampler2D texture;' + LineEnding +
'' + LineEnding +
'#ifdef COLOR_UNIFORM' + LineEnding +
'uniform vec4 color;' + LineEnding +
'#endif' + LineEnding +
'' + LineEnding +
'void main(void)' + LineEnding +
'{' + LineEnding +
'#ifdef COLOR_UNIFORM' + LineEnding +
'  gl_FragColor = color;' + LineEnding +
'#ifdef TEXTURE_HAS_ONLY_ALPHA' + LineEnding +
'  gl_FragColor.a *= texture2D(texture, tex_coord_frag).a;' + LineEnding +
'#else' + LineEnding +
'  gl_FragColor *= texture2D(texture, tex_coord_frag);' + LineEnding +
'#endif' + LineEnding +
'#else' + LineEnding +
'  gl_FragColor = texture2D(texture, tex_coord_frag);' + LineEnding +
'#endif' + LineEnding +
'' + LineEnding +
'#ifdef ALPHA_TEST' + LineEnding +
'  if (gl_FragColor.a < 0.5) discard;' + LineEnding +
'#endif' + LineEnding +
'}' + LineEnding +
''