#extension GL_EXT_gpu_shader4 : enable
noperspective varying vec2 pos;
uniform float rt_w;
uniform float rt_h;
varying vec2 rcpFrame;

void main() {
	gl_Position = gl_Vertex;

	rcpFrame = vec2(1.0/rt_w, 1.0/rt_h);

	pos = gl_Vertex.xy*0.5 + 0.5;
}