try using VPOS (the coordinate in pixels, that's why you have to add a half-pixel offset and divide it by the resolution)

Code:
void PShader(in float4 vPos : VPOS, ....
{
	float2 tex = (vPos.xy + 0.5) / vecViewPort.xy;



POTATO-MAN saves the day! - Random