/usr/share/openmsx/shaders/rgb.vert is in openmsx-data 0.10.0-1ubuntu1.
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 | uniform vec2 texSize;
varying vec4 scaled;
varying vec2 pos;
varying vec2 videoCoord;
void main()
{
gl_Position = ftransform();
scaled.xyz = vec3(gl_MultiTexCoord0.s * texSize.x) + vec3(0.0, 1.0/3.0, 2.0/3.0);
scaled.w = gl_MultiTexCoord0.t * texSize.y + 0.5;
pos = gl_MultiTexCoord0.st;
#if SUPERIMPOSE
videoCoord = gl_MultiTexCoord1.st;
#endif
}
|