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.

35 lines
1.2 KiB

  1. //================ Copyright (c) Valve Corporation. All Rights Reserved. ===========================
  2. //
  3. // Labels etc..
  4. //
  5. //==================================================================================================
  6. #ifndef INCLUDED_GCMLABELS_H
  7. #define INCLUDED_GCMLABELS_H
  8. enum GcmLabelEnum_t
  9. {
  10. GCM_LABEL_QUERY_FIRST = 64, // GCM reserves the first 64 labels, do not use them
  11. GCM_LABEL_QUERY_LAST = GCM_LABEL_QUERY_FIRST + 99, // the last query label, inclusive
  12. GCM_LABEL_FPPATCH_RING_SEG = 252,
  13. GCM_LABEL_CALL_CMD_RING_SEG = 253, // Ring command buffer for DrawPrimUP and similar
  14. GCM_LABEL_FLIP_CONTROL = 254,
  15. GCM_LABEL_MEMORY_FREE = 255 // 255 is the very last possible index of a label
  16. };
  17. enum GcmReportEnum_t
  18. {
  19. // Used for occlusion queries
  20. GCM_REPORT_QUERY_FIRST = 0,
  21. GCM_REPORT_QUERY_LAST = GCM_REPORT_QUERY_FIRST + 512,
  22. // Used for RSX perf monitoring ... Four timestamps. Start and finish of this frame. Start and finish of previous frame
  23. GCM_REPORT_TIMESTAMP_FRAME_FIRST,
  24. GCM_REPORT_TIMESTAMP_FRAME_LAST = GCM_REPORT_TIMESTAMP_FRAME_FIRST + 3,
  25. // Used for Zcull stats
  26. GCM_REPORT_ZCULL_STATS_0,
  27. GCM_REPORT_ZCULL_STATS_1,
  28. };
  29. #endif // INCLUDED_GCMLABELS_H