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.

42 lines
1.8 KiB

  1. //-----------------------------------------------------------------------------
  2. //
  3. // This file generates the headers for the debug strings.
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997.
  6. //
  7. // WARNING WARNING WARNING
  8. // This h file generated from a mh file.
  9. // EDIT THE MH FILE.
  10. // I warned you.
  11. // WARNING WARNING WARNING
  12. //
  13. //-----------------------------------------------------------------------------
  14. define(`d_BeadMacrosOnly', `1')dnl
  15. include(`bead.mh')dnl
  16. // for debugging purposes we build tables of function names that
  17. // parallel the tables of function pointers
  18. #define FN_NAME_LEN 128
  19. typedef char FN_NAME[FN_NAME_LEN];
  20. define(`d_MakeTable', `
  21. extern FN_NAME rgsz`'$1`'$2;')dnl
  22. dnl
  23. d_MakeTable(RenderSpans, [1])
  24. d_MakeTable(Begin, [1])
  25. d_MakeTable(Test, [STENCIL_NUM][ZFUNC_NUM][ZDEFERRED_NUM][ZWRITE_NUM][ZFORMAT_NUM])
  26. d_MakeTable(TestFail, [SPECULARFOG_NUM][TEXTURE_NUM][SHADEMODE_NUM])
  27. d_MakeTable(Tex1Addr, [TEXTURELOD_NUM][TEXTUREFILTER_NUM][TEXTUREPERSPECTIVE_NUM][TEXTUREADDRESS_NUM])
  28. d_MakeTable(Tex2Addr, [TEXTUREFILTER_NUM][TEXTUREPERSPECTIVE_NUM][TEXTUREADDRESS_NUM])
  29. d_MakeTable(Tex1AddrMip, [1])
  30. d_MakeTable(TexRead, [COLORKEY_NUM][TEXTUREBORDER_NUM][TEXTUREFORMAT_NUM])
  31. d_MakeTable(TexBlend, [TEXTUREBLEND_NUM])
  32. d_MakeTable(ColorGen, [MONO_NUM][VERTEXFOG_NUM][SPECULAR_NUM][SHADEMODE_NUM])
  33. d_MakeTable(AlphaTest, [STENCIL_NUM][ZFORMAT_NUM][ZWRITE_NUM][COLORKEY_NUM][ALPHATEST_NUM])
  34. d_MakeTable(ColorBlend, [ROP_NUM][BLEND_NUM])
  35. d_MakeTable(SrcBlend, [SRCBLEND_NUM])
  36. d_MakeTable(DestBlend, [DESTBLEND_NUM])
  37. d_MakeTable(BufRead, [TARGETPIXELFORMAT_NUM])
  38. d_MakeTable(BufWrite, [DITHERING_NUM][TARGETPIXELFORMAT_NUM])
  39. d_MakeTable(PixelEnd, [1])
  40. d_MakeTable(SpanEnd, [1])