VPOS is relative to desktop, not to application
description
The values passed in through VPOS are relative to desktop instead of the render target.
To show this is a bug, setup a shader in Shazzam with this input:
float2 Screen : VPOS;
Then add this code:
if ( screen.x > 800 )
result = float4(0,1,0,1); // Green
else
result = float4(0,0,1,1); // Blue
return result;
If running inside Shazzam it's relative to desktop, if running in a WPF app it's relative to the Window.