This file is indexed.

/usr/share/openmsx/shaders/tv.vert is in openmsx-data 0.12.0-1build1.

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
uniform mat4 u_mvpMatrix;
uniform vec3 texSize; // xy = texSize1,  xz = texSize2

attribute vec4 a_position;
attribute vec3 a_texCoord;

varying vec4 intCoord;
varying vec4 cornerCoord0;
varying vec4 cornerCoord1;

void main()
{
	gl_Position = u_mvpMatrix * a_position;
	intCoord.xy = a_texCoord.xy * texSize.xy;
	intCoord.zw = -intCoord.xy;
	cornerCoord0 = vec4(a_texCoord.xy,
	                    a_texCoord.xy + 1.0 / texSize.xy);
	cornerCoord1 = vec4(a_texCoord.xz,
	                    a_texCoord.xz + 1.0 / texSize.xz);
}