Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
351 B

  1. #include "common_vs_fxc.h"
  2. struct VS_INPUT
  3. {
  4. float4 vPos : POSITION;
  5. float2 vTexCoord : TEXCOORD0;
  6. };
  7. struct VS_OUTPUT
  8. {
  9. float4 vProjPos : POSITION;
  10. float2 vTexCoord : TEXCOORD0;
  11. };
  12. VS_OUTPUT main( const VS_INPUT v )
  13. {
  14. VS_OUTPUT o = ( VS_OUTPUT )0;
  15. o.vProjPos = mul( v.vPos, cModelViewProj );
  16. o.vTexCoord = v.vTexCoord;
  17. return o;
  18. }