Finally, there is no need for an output size.
In the shader point of view, the input and the output are the same. The surface is only scaled to window size at the end, after the shader is applied.