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.

25 lines
414 B

  1. //========== Copyright (c) Valve Corporation, All rights reserved. ==========//
  2. #include "common_vs_fxc.h"
  3. // Structs
  4. struct VS_INPUT
  5. {
  6. float4 vPos : POSITION;
  7. float2 vTexCoord : TEXCOORD0;
  8. };
  9. struct VS_OUTPUT
  10. {
  11. float4 vProjPos : POSITION;
  12. float2 vBaseUV : TEXCOORD0;
  13. };
  14. // Main
  15. VS_OUTPUT main( const VS_INPUT i )
  16. {
  17. VS_OUTPUT o;
  18. o.vProjPos = i.vPos;
  19. o.vBaseUV = i.vTexCoord;
  20. return o;
  21. }