X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fdrivers%2Fdri%2Fi965%2Fintel_debug.h;h=b7b51112d9244ede5c7e8eddd71381e80e7ade45;hb=839793680f99b8387bee9489733d5071c10f3ace;hp=01b4dcfd3fed721cf0c170dc14ce6c44b83ce649;hpb=ee5fb8d1ba7f50ed94e1a34fa0f6e15a0588145e;p=mesa.git diff --git a/src/mesa/drivers/dri/i965/intel_debug.h b/src/mesa/drivers/dri/i965/intel_debug.h index 01b4dcfd3fe..b7b51112d92 100644 --- a/src/mesa/drivers/dri/i965/intel_debug.h +++ b/src/mesa/drivers/dri/i965/intel_debug.h @@ -33,37 +33,45 @@ extern uint64_t INTEL_DEBUG; -#define DEBUG_TEXTURE (1 << 0) -#define DEBUG_STATE (1 << 1) -#define DEBUG_BLIT (1 << 2) -#define DEBUG_MIPTREE (1 << 3) -#define DEBUG_PERF (1 << 4) -#define DEBUG_PERFMON (1 << 5) -#define DEBUG_BATCH (1 << 6) -#define DEBUG_PIXEL (1 << 7) -#define DEBUG_BUFMGR (1 << 8) -#define DEBUG_FBO (1 << 9) -#define DEBUG_GS (1 << 10) -#define DEBUG_SYNC (1 << 11) -#define DEBUG_PRIMS (1 << 12) -#define DEBUG_VERTS (1 << 13) -#define DEBUG_DRI (1 << 14) -#define DEBUG_SF (1 << 15) -#define DEBUG_STATS (1 << 16) -#define DEBUG_WM (1 << 17) -#define DEBUG_URB (1 << 18) -#define DEBUG_VS (1 << 19) -#define DEBUG_CLIP (1 << 20) -#define DEBUG_AUB (1 << 21) -#define DEBUG_SHADER_TIME (1 << 22) -#define DEBUG_BLORP (1 << 23) -#define DEBUG_NO16 (1 << 24) -#define DEBUG_VUE (1 << 25) -#define DEBUG_NO_DUAL_OBJECT_GS (1 << 26) -#define DEBUG_OPTIMIZER (1 << 27) -#define DEBUG_ANNOTATION (1 << 28) -#define DEBUG_NO8 (1 << 29) -#define DEBUG_VEC4VS (1 << 30) +#define DEBUG_TEXTURE (1ull << 0) +#define DEBUG_STATE (1ull << 1) +#define DEBUG_BLIT (1ull << 2) +#define DEBUG_MIPTREE (1ull << 3) +#define DEBUG_PERF (1ull << 4) +#define DEBUG_PERFMON (1ull << 5) +#define DEBUG_BATCH (1ull << 6) +#define DEBUG_PIXEL (1ull << 7) +#define DEBUG_BUFMGR (1ull << 8) +#define DEBUG_FBO (1ull << 9) +#define DEBUG_GS (1ull << 10) +#define DEBUG_SYNC (1ull << 11) +#define DEBUG_PRIMS (1ull << 12) +#define DEBUG_VERTS (1ull << 13) +#define DEBUG_DRI (1ull << 14) +#define DEBUG_SF (1ull << 15) +#define DEBUG_STATS (1ull << 16) +#define DEBUG_WM (1ull << 17) +#define DEBUG_URB (1ull << 18) +#define DEBUG_VS (1ull << 19) +#define DEBUG_CLIP (1ull << 20) +#define DEBUG_AUB (1ull << 21) +#define DEBUG_SHADER_TIME (1ull << 22) +#define DEBUG_BLORP (1ull << 23) +#define DEBUG_NO16 (1ull << 24) +#define DEBUG_VUE (1ull << 25) +#define DEBUG_NO_DUAL_OBJECT_GS (1ull << 26) +#define DEBUG_OPTIMIZER (1ull << 27) +#define DEBUG_ANNOTATION (1ull << 28) +#define DEBUG_NO8 (1ull << 29) +#define DEBUG_VEC4VS (1ull << 30) +#define DEBUG_SPILL_FS (1ull << 31) +#define DEBUG_SPILL_VEC4 (1ull << 32) +#define DEBUG_CS (1ull << 33) +#define DEBUG_HEX (1ull << 34) +#define DEBUG_NO_COMPACTION (1ull << 35) +#define DEBUG_TCS (1ull << 36) +#define DEBUG_TES (1ull << 37) +#define DEBUG_L3 (1ull << 38) #ifdef HAVE_ANDROID_PLATFORM #define LOG_TAG "INTEL-MESA" @@ -110,6 +118,6 @@ extern uint64_t INTEL_DEBUG; } \ } while (0) -struct brw_context; +extern uint64_t intel_debug_flag_for_shader_stage(gl_shader_stage stage); -extern void brw_process_intel_debug_variable(struct brw_context *brw); +extern void brw_process_intel_debug_variable(void);