summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-04-23 13:59:32 -0700
committerJason Ekstrand <[email protected]>2015-04-23 18:08:20 -0700
commitbf55096207898437a5f48ba28f98fe1b992f60e3 (patch)
treed6710862c23da44344648c8db44e043662799235 /src/mesa
parent5957da1edb9ad504d8af83878c10c3a24e41fc6c (diff)
i965/debug: Use the ull specifier for DEBUG enum defines
The INTEL_DEBUG variable is a uint64_t and if we want a enum value higer than 32 bits, you need to use ull. We might as well use it for all of them. Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/intel_debug.h62
1 files changed, 31 insertions, 31 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_debug.h b/src/mesa/drivers/dri/i965/intel_debug.h
index 807ad988a78..a741a162a2d 100644
--- a/src/mesa/drivers/dri/i965/intel_debug.h
+++ b/src/mesa/drivers/dri/i965/intel_debug.h
@@ -33,37 +33,37 @@
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)
#ifdef HAVE_ANDROID_PLATFORM
#define LOG_TAG "INTEL-MESA"