diff options
author | Keith Whitwell <[email protected]> | 2009-10-24 17:07:01 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-10-24 17:07:28 +0100 |
commit | 4f7931bb3554cb1839adc2044e3abe6d4af8b0b5 (patch) | |
tree | 46999bd594cd839f1ad58dc799bd721c4b45d35e /src/gallium/drivers/i965/brw_debug.h | |
parent | 074606a806df755ecbb84e0a1182c66fd0b2a8dd (diff) |
i965g: more work on compiling
Diffstat (limited to 'src/gallium/drivers/i965/brw_debug.h')
-rw-r--r-- | src/gallium/drivers/i965/brw_debug.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/gallium/drivers/i965/brw_debug.h b/src/gallium/drivers/i965/brw_debug.h new file mode 100644 index 00000000000..aee62f7a5be --- /dev/null +++ b/src/gallium/drivers/i965/brw_debug.h @@ -0,0 +1,42 @@ +#ifndef BRW_DEBUG_H +#define BRW_DEBUG_H + +/* ================================================================ + * Debugging: + */ + +#define DEBUG_TEXTURE 0x1 +#define DEBUG_STATE 0x2 +#define DEBUG_IOCTL 0x4 +#define DEBUG_BLIT 0x8 +#define DEBUG_CURBE 0x10 +#define DEBUG_FALLBACKS 0x20 +#define DEBUG_VERBOSE 0x40 +#define DEBUG_BATCH 0x80 +#define DEBUG_PIXEL 0x100 +#define DEBUG_BUFMGR 0x200 +#define DEBUG_unused1 0x400 +#define DEBUG_unused2 0x800 +#define DEBUG_unused3 0x1000 +#define DEBUG_SYNC 0x2000 +#define DEBUG_PRIMS 0x4000 +#define DEBUG_VERTS 0x8000 +#define DEBUG_unused4 0x10000 +#define DEBUG_DMA 0x20000 +#define DEBUG_SANITY 0x40000 +#define DEBUG_SLEEP 0x80000 +#define DEBUG_STATS 0x100000 +#define DEBUG_unused5 0x200000 +#define DEBUG_SINGLE_THREAD 0x400000 +#define DEBUG_WM 0x800000 +#define DEBUG_URB 0x1000000 +#define DEBUG_VS 0x2000000 + +#ifdef DEBUG +extern int BRW_DEBUG; +#else +#define BRW_DEBUG 0 +#endif + + +#endif |