r_drawcolpipeline.inl 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. // no color mapping
  2. #define R_DRAWCOLUMN_FUNCNAME R_DRAWCOLUMN_FUNCNAME_COMPOSITE(_PointUV)
  3. #define R_DRAWCOLUMN_PIPELINE (R_DRAWCOLUMN_PIPELINE_BASE | RDC_NOCOLMAP)
  4. #include "r_drawcolumn.inl"
  5. // simple depth color mapping
  6. #define R_DRAWCOLUMN_FUNCNAME R_DRAWCOLUMN_FUNCNAME_COMPOSITE(_PointUV_PointZ)
  7. #define R_DRAWCOLUMN_PIPELINE R_DRAWCOLUMN_PIPELINE_BASE
  8. #include "r_drawcolumn.inl"
  9. // z-dither
  10. #define R_DRAWCOLUMN_FUNCNAME R_DRAWCOLUMN_FUNCNAME_COMPOSITE(_PointUV_LinearZ)
  11. #define R_DRAWCOLUMN_PIPELINE (R_DRAWCOLUMN_PIPELINE_BASE | RDC_DITHERZ)
  12. #include "r_drawcolumn.inl"
  13. // bilinear with no color mapping
  14. #define R_DRAWCOLUMN_FUNCNAME R_DRAWCOLUMN_FUNCNAME_COMPOSITE(_LinearUV)
  15. #define R_DRAWCOLUMN_PIPELINE (R_DRAWCOLUMN_PIPELINE_BASE | RDC_BILINEAR | RDC_NOCOLMAP)
  16. #include "r_drawcolumn.inl"
  17. // bilinear with simple depth color mapping
  18. #define R_DRAWCOLUMN_FUNCNAME R_DRAWCOLUMN_FUNCNAME_COMPOSITE(_LinearUV_PointZ)
  19. #define R_DRAWCOLUMN_PIPELINE (R_DRAWCOLUMN_PIPELINE_BASE | RDC_BILINEAR)
  20. #include "r_drawcolumn.inl"
  21. // bilinear + z-dither
  22. #define R_DRAWCOLUMN_FUNCNAME R_DRAWCOLUMN_FUNCNAME_COMPOSITE(_LinearUV_LinearZ)
  23. #define R_DRAWCOLUMN_PIPELINE (R_DRAWCOLUMN_PIPELINE_BASE | RDC_BILINEAR | RDC_DITHERZ)
  24. #include "r_drawcolumn.inl"
  25. // rounded with no color mapping
  26. #define R_DRAWCOLUMN_FUNCNAME R_DRAWCOLUMN_FUNCNAME_COMPOSITE(_RoundedUV)
  27. #define R_DRAWCOLUMN_PIPELINE (R_DRAWCOLUMN_PIPELINE_BASE | RDC_ROUNDED | RDC_NOCOLMAP)
  28. #include "r_drawcolumn.inl"
  29. // rounded with simple depth color mapping
  30. #define R_DRAWCOLUMN_FUNCNAME R_DRAWCOLUMN_FUNCNAME_COMPOSITE(_RoundedUV_PointZ)
  31. #define R_DRAWCOLUMN_PIPELINE (R_DRAWCOLUMN_PIPELINE_BASE | RDC_ROUNDED)
  32. #include "r_drawcolumn.inl"
  33. // rounded + z-dither
  34. #define R_DRAWCOLUMN_FUNCNAME R_DRAWCOLUMN_FUNCNAME_COMPOSITE(_RoundedUV_LinearZ)
  35. #define R_DRAWCOLUMN_PIPELINE (R_DRAWCOLUMN_PIPELINE_BASE | RDC_ROUNDED | RDC_DITHERZ)
  36. #include "r_drawcolumn.inl"
  37. #undef R_FLUSHWHOLE_FUNCNAME
  38. #undef R_FLUSHHEADTAIL_FUNCNAME
  39. #undef R_FLUSHQUAD_FUNCNAME
  40. #undef R_DRAWCOLUMN_FUNCNAME_COMPOSITE
  41. #undef R_DRAWCOLUMN_PIPELINE_BITS