This file is indexed.

/usr/share/codeblocks/lexers/lexer_cg.sample is in codeblocks-common 10.05-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
/*
 * This is a block comment
 */

/**
  * This is a documentation comment block
  * @param xxx does this (this is the documentation keyword)
  * @authr some user (this is the documentation keyword error)
  */

struct input	{
				float3 Position : POSITION;
				float3 Normal	: NORMAL;
				};

struct out_to_fp{
				float4 Hposition	: POSITION;
				float4 Color0		: COLOR0;
				float4 TexCoord0	: TEXCOORD0;
				float4 TexCoord1	: TEXCOORD1;
				};

// a vertex program
out_to_fp	main(	input IN,
				uniform float4x4 WorldViewProj,
				uniform float4x4 TexTransform,
				uniform float3x3 WorldIT,
				uniform float3 LightVec	)
	{
	out_to_fp OUT;
	float3 worldNormal = normalize(mul(WorldIT, IN.Normal));
	float ldotn = max(dot(LightVec, worldNormal), 0.0);
	OUT.Color0.xyz = ldotn.xxx;
	float4 tempPos;
	tempPos.xyz = IN.Position.xyz;
	tempPos.w = 1.0;
	OUT.TexCoord0 = mul(TexTransform, tempPos);
	OUT.TexCoord1 = mul(TexTransform, tempPos);
	OUT.Hposition = mul(WorldViewProj, tempPos);
	return OUT;
	}