Leaked source code of windows server 2003
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.

29 lines
867 B

  1. //-----------------------------------------------------------------------------
  2. //
  3. // This file contains texture addressing functions.
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997.
  6. //
  7. // WARNING WARNING WARNING
  8. // This cpp file generated from mcp file.
  9. // EDIT THE MCP FILE.
  10. // I warned you.
  11. // WARNING WARNING WARNING
  12. //
  13. //-----------------------------------------------------------------------------
  14. include(`m4hdr.mh')dnl
  15. #include "pch.cpp"
  16. #pragma hdrstop
  17. #include "mtx2a_mh.h"
  18. #include "mtexfilt.h"
  19. #include "MMXEmul.h"
  20. include(`mtexaddr.mh')dnl
  21. d_RepStr(`d_RepStr(`d_RepStr(`d_RepStr(`d_TexAddr(1, AA, BB, CC, DD)',
  22. `AA', `TexAddrWrapMirror', `TexAddrAll')',
  23. `BB', `NoPersp', `Persp')',
  24. `CC', ifelse(DD, NoLOD, `Point, Bilinear', `Point, Bilinear, MaybeBilinear'))',
  25. `DD', `NoLOD', `LOD')