Team Fortress 2 Source Code as on 22/4/2020
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.

38 lines
1.1 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Common shader compiler pragmas
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. #ifndef COMMON_PRAGMAS_H_
  9. #define COMMON_PRAGMAS_H_
  10. //
  11. // Validated shader models:
  12. //
  13. // SHADER_MODEL_VS_1_1
  14. // SHADER_MODEL_VS_2_0
  15. // SHADER_MODEL_VS_3_0
  16. //
  17. // SHADER_MODEL_PS_1_1
  18. // SHADER_MODEL_PS_1_4
  19. // SHADER_MODEL_PS_2_0
  20. // SHADER_MODEL_PS_2_B
  21. // SHADER_MODEL_PS_3_0
  22. //
  23. //
  24. //
  25. // Platforms:
  26. //
  27. // PC
  28. // _X360
  29. //
  30. // Special pragmas silencing common warnings
  31. #pragma warning ( disable : 3557 ) // warning X3557: Loop only executes for N iteration(s), forcing loop to unroll
  32. #pragma warning ( disable : 3595 ) // warning X3595: Microcode Compiler possible performance issue: pixel shader input semantic ___ is unused
  33. #pragma warning ( disable : 3596 ) // warning X3596: Microcode Compiler possible performance issue: pixel shader input semantic ___ is unused
  34. #pragma warning ( disable : 4702 ) // warning X4702: complement opportunity missed because input result WAS clamped from 0 to 1
  35. #endif //#ifndef COMMON_PRAGMAS_H_