Merge branch 'mesa_7_7_branch'
[mesa.git] / src / gallium / drivers / i965 / brw_debug.h
1 #ifndef BRW_DEBUG_H
2 #define BRW_DEBUG_H
3
4 /* ================================================================
5 * Debugging:
6 */
7
8 #define DEBUG_TEXTURE 0x1
9 #define DEBUG_STATE 0x2
10 #define DEBUG_IOCTL 0x4
11 #define DEBUG_BLIT 0x8
12 #define DEBUG_CURBE 0x10
13 #define DEBUG_FALLBACKS 0x20
14 #define DEBUG_VERBOSE 0x40
15 #define DEBUG_BATCH 0x80
16 #define DEBUG_PIXEL 0x100
17 #define DEBUG_WINSYS 0x200
18 #define DEBUG_MIN_URB 0x400
19 #define DEBUG_DISASSEM 0x800
20 #define DEBUG_unused3 0x1000
21 #define DEBUG_SYNC 0x2000
22 #define DEBUG_PRIMS 0x4000
23 #define DEBUG_VERTS 0x8000
24 #define DEBUG_unused4 0x10000
25 #define DEBUG_DMA 0x20000
26 #define DEBUG_SANITY 0x40000
27 #define DEBUG_SLEEP 0x80000
28 #define DEBUG_STATS 0x100000
29 #define DEBUG_unused5 0x200000
30 #define DEBUG_SINGLE_THREAD 0x400000
31 #define DEBUG_WM 0x800000
32 #define DEBUG_URB 0x1000000
33 #define DEBUG_VS 0x2000000
34
35 #ifdef DEBUG
36 extern int BRW_DEBUG;
37 #else
38 #define BRW_DEBUG 0
39 #endif
40
41
42
43 #endif