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.

26 lines
478 B

  1. //========== Copyright (c) Valve Corporation, All rights reserved. ==========//
  2. #ifdef PIXELSHADER
  3. #define VS_OUTPUT PS_INPUT
  4. #endif
  5. struct VS_OUTPUT
  6. {
  7. #ifndef PIXELSHADER
  8. float4 projPos : POSITION;
  9. #endif
  10. float2 texCoord : TEXCOORD0;
  11. float4 worldPos_projPosZ : TEXCOORD1;
  12. float4 argbcolor : COLOR;
  13. #ifndef PIXELSHADER
  14. #if !defined( _X360 ) && !defined( SHADER_MODEL_VS_3_0 )
  15. float fog : FOG;
  16. #endif
  17. #endif
  18. };
  19. #ifdef PIXELSHADER
  20. #undef VS_OUTPUT
  21. #endif