#pragma screenspace xvs.1.1 ;transfer uv coords to pixel shader ;non-pow2 textures require explicit uv scaling ;UVSCALE.xy contains the scale factor ;UVSCALE.zw contains the offset mad oT0.xy, v1.xy, UVSCALE0.xy, UVSCALE0.zw mad oT1.xy, v1.xy, UVSCALE1.xy, UVSCALE1.zw mad oT2.xy, v1.xy, UVSCALE2.xy, UVSCALE2.zw mad oT3.xy, v1.xy, UVSCALE3.xy, UVSCALE3.zw