i965/debug: Use the ull specifier for DEBUG enum defines
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 23 Apr 2015 20:59:32 +0000 (13:59 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 24 Apr 2015 01:08:20 +0000 (18:08 -0700)
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 <mattst88@gmail.com>
src/mesa/drivers/dri/i965/intel_debug.h

index 807ad98..a741a16 100644 (file)
 
 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"