summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-10-17 13:43:55 +1100
committerTimothy Arceri <[email protected]>2016-10-26 14:29:36 +1100
commita317b40d1d3f4f684f1601ba061dd806c080811b (patch)
treef7823a53199900b8daed9f85d4c41c3ed4fb8f37 /src/mesa/drivers
parent89512987c697ddbf4f2897e26b0ed66675311c15 (diff)
i965: remove unused debug param
This was accidently disabled in 832bcc3613 not long after it was added. Since it's only for gen5 and lower we might as well just remove it rather than fixing it. Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/brw_interpolation_map.c3
-rw-r--r--src/mesa/drivers/dri/i965/intel_debug.h31
2 files changed, 17 insertions, 17 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_interpolation_map.c b/src/mesa/drivers/dri/i965/brw_interpolation_map.c
index fe14ea33f45..8533c953ed1 100644
--- a/src/mesa/drivers/dri/i965/brw_interpolation_map.c
+++ b/src/mesa/drivers/dri/i965/brw_interpolation_map.c
@@ -93,7 +93,8 @@ brw_setup_vue_interpolation(struct brw_vue_map *vue_map, nir_shader *nir,
}
}
- if (unlikely(INTEL_DEBUG & DEBUG_VUE)) {
+ bool debug = false;
+ if (debug) {
fprintf(stderr, "VUE map:\n");
for (int i = 0; i < vue_map->num_slots; i++) {
int varying = vue_map->slot_to_varying[i];
diff --git a/src/mesa/drivers/dri/i965/intel_debug.h b/src/mesa/drivers/dri/i965/intel_debug.h
index f407b6a3cb7..afca36eb33c 100644
--- a/src/mesa/drivers/dri/i965/intel_debug.h
+++ b/src/mesa/drivers/dri/i965/intel_debug.h
@@ -58,22 +58,21 @@ extern uint64_t INTEL_DEBUG;
#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)
-#define DEBUG_DO32 (1ull << 39)
-#define DEBUG_NO_RBC (1ull << 40)
+#define DEBUG_NO_DUAL_OBJECT_GS (1ull << 25)
+#define DEBUG_OPTIMIZER (1ull << 26)
+#define DEBUG_ANNOTATION (1ull << 27)
+#define DEBUG_NO8 (1ull << 28)
+#define DEBUG_VEC4VS (1ull << 29)
+#define DEBUG_SPILL_FS (1ull << 30)
+#define DEBUG_SPILL_VEC4 (1ull << 31)
+#define DEBUG_CS (1ull << 32)
+#define DEBUG_HEX (1ull << 33)
+#define DEBUG_NO_COMPACTION (1ull << 34)
+#define DEBUG_TCS (1ull << 35)
+#define DEBUG_TES (1ull << 36)
+#define DEBUG_L3 (1ull << 37)
+#define DEBUG_DO32 (1ull << 38)
+#define DEBUG_NO_RBC (1ull << 39)
#ifdef HAVE_ANDROID_PLATFORM
#define LOG_TAG "INTEL-MESA"