d3d11_quad: allow setting the viewport depending on the output format